Computer Vision and Facial Landmark Detection in Dermatology: A Proof‐of‐Concept Study
Christopher A. Guirguis, Lauren M. Ching, Joe K. Tung

Abstract
Genes, proteins, chemicals, diseases, species, mutations and cell lines named across the full text — each resolved to its canonical identifier and authoritative record.
Click any figure to enlarge with its caption.
FIGURE 1Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCutaneous Melanoma Detection and Management · Digital Imaging in Medicine · Face recognition and analysis
Background
1
Dermatologic diseases commonly involve the face with slight changes having a profound impact on patients' self‐image. While many dermatologic conditions initially appear limited to superficial layers of the skin, the associated inflammation often extends deeper [1]. In conditions such as phymatous rosacea, cystic acne, morphea, and hidradenitis suppurativa, these changes may result in thickening of the skin, hypertrophic scarring, and noticeable volumetric changes [2]. While imaging modalities exist to track changes to skin surface and texture, more profound volumetric changes in conditions such as rhinophyma may be difficult to reliably track [3]. Advances in consumer‐grade software have allowed for improved accuracy of facial landmark recognition using smartphones; public software packages in the last 2 years have allowed for three‐dimensional (3D) landmark tracking from two‐dimensional (2D) images [4]. This study explores publicly available, smartphone‐based 2D and 3D monocular facial landmark recognition packages and their accuracy in measuring fixed distances across landmarks in a young, healthy population. Specifically, we assess the accuracy of two packages in measuring alar width (AW) as a proof‐of‐concept (POC) study for application in dermatology.
Methods
2
Measurement of real‐world interpupillary distance (IPD) and AW was performed with a ruler. AW was calculated using the interalar flare width (Figure 1). Computed measurements were then taken using Apple's VisionKit (AVK) and Google's MediaPipe (GMP) libraries [4, 5]. Images were captured without standardization of lighting, reflecting intended real‐world clinical use. AVK was used for preprocessing in both image capture modes to ensure pitch, roll, and yaw angles were zero radians during image capture. Landmarks captured were the bilateral pupils and lateral‐most margins of the alar border. Pixelwise AW and IPD were calculated using the distance formula and scaled to centimetres using the cm‐pixel IPD ratio and the real‐world IPD.
(a) A 3D model of a subject indicates the measurement used to determine AW, both in the real‐world measurements as well as using the AVK and GMP analyses. (b) The measurement taken is shown from an inferior view. The interalar flare width was used which is the summation of both the interalar base width as well as the alar flare on both sides. (c) The GMP model can identify 468 facial landmarks per frame. The red dots indicate the pupils, the green dots indicate the dorsum of the nose, and the blue dots indicate the lateralmost extents of the right and left alae which were used to measure AW. (d) The AVK model captures 76 facial landmarks per frame. The red dots indicate the pupils, the green dots indicate what is considered to be the “nasal crest” by the AVK, and the blue dots indicate the lateralmost extension of the right and left alae which were used to measure AW.
AW was measured in 2D and 3D using GMP, but only 2D using AVK as AVK lacks 3D capabilities. A paired t‐test was run to assess statistically significant differences between the two measurement methods. Agreement between the two methods was assessed using Bland–Altman analysis with a 95% statistical limit of agreement (LOA). Informed consent was obtained by all participants.
Results
3
Three participants were used in this analysis, with an average real‐world IPD of 5.90 cm (SD = 0.30) and AW of 3.87 cm (SD = 0.38). The average computed AW using both the GMP 3D and 2D methods was 3.86 (SD = 0.32) with an average error of 2.36%. The average computed AW using the AVK 2D method was 4.96 (SD = 0.55) with an average error of 28.30%. Paired‐samples t‐test revealed no significant difference in AW using the 2D or 3D GMP estimates versus real‐world values (t (2) = 0.15, p = 0.89), whereas there was a significant difference when using the AVK measurement (t (2) = −6.33, p = 0.02). Additionally, upon Bland–Altman analysis, the mean difference was 0.01 cm with 95% LOA of ±0.22 units for GMP estimate, and −1.09 cm with 95% LOA of ±0.59 for AVK measurements.
Discussion
4
Monitoring of changes to facial morphology continues to be of interest in dermatology with recent literature focusing on improving reliability of systems [6]. While literature has proven the reliability of relative measurements, our data validates the reliability of absolute measurements using one known real‐world measurement, IPD. As a POC, this study prioritises methodological feasibility over statistical power, consistent with its exploratory design. The results of this study highlight the accuracy of public facial landmark recognition packages in calculating facial morphology. The difference in accuracy between GMP and AVK is likely due to the detail provided by each model, as AVK and GMP report 76 and 468 landmarks, respectively (Figure 1). The accuracy of this system can enable earlier and continuous monitoring of facial changes, allowing patients and practitioners to objectively monitor outcomes. Applications of smartphone‐based facial analysis may help bridge the gap in underserved areas as patients are able to communicate objective changes in their health remotely without added financial burden. Additionally, within cosmetic dermatology these applications may considerably decrease the cost barrier to quantitative morphologic analysis while letting patients assess landmarks beyond alar width, including philtrum height, lip height, and upper‐ to lower‐lip ratios using the 468 landmarks assessed in the GMP analysis [4, 6]. These facial measurements can enhance cosmetic consultations for patients through objective measures before treatments such as filler injections, buccal lipectomy, or cheek liposuction thereby giving patients a quantitative means for tracking outcomes. The primary limitation of this study is the sample size, as a more heterogeneous cohort may strengthen external validity. Future studies should focus on analysis of other facial measurements and incorporation of Light Detection and Ranging (LiDAR) to augment measurements.
Author Contributions
Conceptualization: C.A.G., J.K.T. Data curation: C.A.G., L.M.C. Formal analysis: C.A.G.; Supervision: J.K.T. Writing – original draft preparation: C.A.G., L.M.C. Writing – reviewing and editing: L.M.C., C.A.G. All authors have read and approved the final manuscript.
Funding
The authors have nothing to report.
Ethics Statement
All participants provided informed consent, and data confidentiality was maintained throughout the study.
Consent
Consent obtained from participants.
Conflicts of Interest
The authors declare no conflicts of interest.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1D. Rodrigues‐Braz , M. Zhao , N. Yesilirmak , S. Aractingi , F. Behar‐Cohen , and J. L. Bourges , “Cutaneous and Ocular Rosacea: Common and Specific Physiopathogenic Mechanisms and Study Models,” Molecular Vision 27 (2021): 323–353.34035646 PMC 8131178 · pubmed ↗
- 2S. Raghallaigh , “Chapter 37: Rosacea and Related Disorders,” in Dermatology, 5th ed. (Elsevier, 2024).
- 3Y. Pan , K. Jia , S. Yan , and X. Jiang , “Effectiveness of VISIA System in Evaluating the Severity of Rosacea,” Skin Research and Technology 28, no. 5 (2022): 740–748, 10.1111/srt.13194.35818722 PMC 9907647 · doi ↗ · pubmed ↗
- 4Google AI For Developers , “Face Landmark Detection Guide” (2024).
- 5Photogrammetry Session | Apple Developer Documentation , “Apple Developer Documentation,” (2025), https://developer.apple.com/documentation/realitykit/photogrammetrysession.
- 6W. Hashimoto and S. Kaneda , “A Smartphone Application for Personalized Facial Aesthetic Monitoring,” Skin Research and Technology 30, no. 7 (2024): e 13824, 10.1111/srt.13824.38978223 PMC 11230921 · doi ↗ · pubmed ↗
