Abstract
Objectives
To determine the feasibility, validity and reliability of automatically extracting clinically meaningful eyelid measurements from consumer-grade videos of individuals with oculofacial disorders.
Methods
A custom computer program was designed to automatically extract clinical measures from consumer-grade videos. This program was applied to publicly available videos of individuals with oculofacial disorders, and age-matched controls. The primary outcomes were margin reflex distance 1 (MRD1) and 2 (MRD2), blink lagophthalmos, and ocular surface area exposure. Test-retest reliability was evaluated using Bland–Altman analysis to compare the agreement in obtained measures between separate videos of the same individual taken within 48 h of each other.
Results
MRD1 was reduced in individuals with ptosis versus controls (2.2 mm versus 3.4 mm, p < 0.001), and increased in individuals with facial nerve palsy (FNP) (3.9 mm, p = 0.049) and thyroid eye disease (TED) (4.1 mm; p = 0.038). Blink lagophthalmos was increased in individuals with FNP (3.7 mm); p < 0.001) and those with TED (0.1 mm, p = 0.003) versus controls (0.0 mm). Ocular surface exposure was reduced in individuals with ptosis compared with controls (12.2 mm2 versus 13.1 mm2; p < 0.001) and increased in TED (13.7 mm2; p 0.002). Bland-Altmann analysis demonstrated 95% limits of agreement for video-derived measures: median MRD1: −1.1 to 1.1 mm; median MRD2: −0.9 to 1.0 mm; blink lagophthalmos: −3.5 to 3.7 mm; and average ocular surface area exposure: −1.6 to 1.6 mm2.
Conclusions
The presented program is capable of taking consumer grade videos of patients with oculofacial disease and providing clinically meaningful and reliable eyelid measurements that show promising validity.
Similar content being viewed by others
Log in or create a free account to read this content
Gain free access to this article, as well as selected content from this journal and more on nature.com
or
Data availability
The datasets generated and analysed during this study are available from the corresponding author on reasonable request.
References
NHS England. NHS long term plan. NHS England, 2019. https://www.england.nhs.uk/long-term-plan/; Accessed 10 September 2021.
Chen EM, Andoh JE, Nwanyanwu K. Socioeconomic and demographic disparities in the utilization of telemedicine for ophthalmic care during the COVID-19 pandemic. Ophthalmology. 2021;129:15–25.
Portney DS, Zhu Z, Chen EM, Steppe E, Chilakamarri P, Woodward MA, et al. COVID-19 and use of teleophthalmology (CUT Group): trends and diagnoses. Ophthalmology. 2021;128:1483–5.
Jamison A, Diaper C, Drummond S, Tejwani D, Gregory ME, Cauchi P, et al. Telemedicine in oculoplastics: the real-life application of video consultation clinics. Ophthalmic Plast Reconstr Surg. 2021;37:S104–S108.
Kang S, Raja L, Sim DA, Thomas PBM, Ezra DG. Telemedicine in oculoplastic and adnexal surgery: clinicians’ perspectives in the UK. Br J Ophthalmol. 2022;106:1344–9.
Homer NA, Epstein A, Shore JW, Somogyi M. Oculoplastic surgeons’ surgical, clinical, and management experiences during the COVID-19 Crisis. Am J Cosmet Surg. 2021;38:205–10.
Van Rossum G, Drake FL. Python 3 reference manual. Scotts Valley, CA: CreateSpace; 2009.
Bradski G. The OpenCV Library. Dr Dobb’s J Softw Tools. 2000;120:122–5.
V Kazemi and J Sullivan. One millisecond face alignment with an ensemble of regression trees. In Proceedings of the IEEE conference on computer vision and pattern recognition. 2014, pp. 1867–74.
King DE. Dlib-ml: a machine learning toolkit. J Mach Learn Res. 2009;10:1755–8.
Ronneberger, O, Fischer, P, & Brox, T. U-net: convolutional networks for biomedical image segmentation. In International Conference on Medical image computing and computer-assisted intervention. Cham: Springer; 2015, pp. 234–41.
Luo B, Shen J, Wang Y, Pantic M. The ibug eye segmentation dataset. Pirovano E, Graversen E, editors. 2018 Imperial College Computing Student Workshop, ICCSW 2018. London, United Kingdom: Schloss Dagstuhl – Leibniz-Zentrum fuer Informatik. Vol. 66 of OASICS, 2018; pp. 7:1–7:9 https://doi.org/10.4230/OASIcs.ICCSW.2018.7.
Bergmanson JP, Martinez JG. Size does matter: what is the corneo‐limbal diameter? Clin Exp Optom. 2017;100:522–8.
Gharaee H, Abrishami M, Shafiee M, Ehsaei A. “White-to-white corneal diameter: normal values in healthy Iranian population obtained with the Orbscan II.”. Int J Ophthalmol. 2014;7:309–12.
R Core Team. R: a language and environment for statistical computing. Vienna, Austria: R Foundation for Statistical Computing; 2021. https://www.R-project.org/.
Boboridis K, Assi A, Indar A, Bunce C, Tyers AG. Repeatability and reproducibility of upper eyelid measurements. Br J Ophthalmol. 2001;85:99–101.
Thomas PBM, Gunasekera CD, Kang S, Baltrusaitis T. An artificial intelligence approach to the assessment of abnormal lid position. Plast Reconstr Surg Glob Open. 2020;8:e3089.
Aleem A, Nallabothula MP, Setabutr P, Hallak JA, Yi D. AutoPtosis. arXiv preprint arXiv:2106.03905. 2021 Jun 7. Available at: https://doi.org/10.48550/arXiv.2106.03905.
Van Brummen A, Owen JP, Spaide T, Froines C, Lu R, Lacy M, et al. PeriorbitAI: artificial intelligence automation of eyelid and periorbital measurements. Am J Ophthalmol. 2021;230:285–96.
Kang S, Thomas PBM, Sim DA, Parker RT, Daniel C, Uddin JM. Oculoplastic video-based telemedicine consultations: Covid-19 and beyond. Eye. 2020;34:1193–5.
Acknowledgements
We gratefully acknowledge the open source communities associated with the programming languages and libraries cited in the manuscript. There are no funding sources to disclose for this work.
Author information
Authors and Affiliations
Contributions
CS, SM, PT and SK responsible for study design. CB and HC responsible for data collection and analysis, as well as manuscript preparation. All authors approved the manuscript in its final form.
Corresponding author
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Schulz, C.B., Clarke, H., Makuloluwe, S. et al. Automated extraction of clinical measures from videos of oculofacial disorders using machine learning: feasibility, validity and reliability. Eye 37, 2810–2816 (2023). https://doi.org/10.1038/s41433-023-02424-z
Received:
Revised:
Accepted:
Published:
Version of record:
Issue date:
DOI: https://doi.org/10.1038/s41433-023-02424-z
This article is cited by
-
Deep Learning-based Assessment of Eyelid and Periorbital Parameters: Assisting Diagnosis and Treatment Planning in Blepharoptosis
Journal of Medical Systems (2026)
-
Smartphone video-based early diagnosis of blepharospasm using dual cross-attention modeling enhanced by facial pose estimation
npj Digital Medicine (2025)
-
Diagnosing facial synkinesis using artificial intelligence to advance facial palsy care
Scientific Reports (2025)
-
Automated analysis of spontaneous eye blinking in patients with acute facial palsy or facial synkinesis
Scientific Reports (2024)
-
Interrater reliability of photographic assessment of thyroid eye disease using the VISA classification
International Ophthalmology (2024)


