Classification of ocular structures in portable retinal cameras using deep learning for ophthalmologic screening
DOI:
https://doi.org/10.59681/2175-4411.v18.iEspecial.2026.1875Keywords:
Portable fundus photography, Neural Networks, Computer, Ophthalmic screeningAbstract
Introduction: Ophthalmological screening faces challenges in regions with a shortage of specialists, a scenario in which telemedicine-based solutions become essential. However, images captured by non-specialized operators often result in images of the incorrect anatomical structure or outside the scope. Objective: To propose a classification model to validate the anatomical structure of the images, categorizing them into four classes: Color Retina, Red-free Retina, Anterior Segment, and No-eye. Method: Five deep learning architectures for image classification (MobileNetV3-Large, EfficientNet-B0, DenseNet121, ConvNeXt-Tiny, and Vision Transformer (ViT)) were evaluated using a dataset of 11,679 images. Results: The networks achieved 99% accuracy; however, MobileNetV3-Large stood out for its efficiency, exhibiting lower latency (12.5 ms) and lower storage consumption (5.8 MB). Furthermore, this model achieved 97.15% accuracy and a 97.17% macro F1-score on datasets used for external validation. Conclusion: MobileNetV3-Large showed the best performance for the proposed application, considering latency and memory space, important aspects in a scenario of scarce computational resources.
Downloads
References
1. GBD 2019 Blindness and Vision Impairment Collaborators, Vision Loss Expert Group of the Global Burden of Disease Study. Causes of blindness and vision impairment in 2020 and trends over 30 years, and prevalence of avoidable blindness in relation to VISION 2020: the Right to Sight: an analysis for the Global Burden of Disease Study. Lancet Glob Health. 2021;9(2):e144-e160. doi: https://doi.org/10.1016/S2214-109X(20)30489-7
2. Zhang Y, Chen J, Liao L, Ding X. Global Trends and Projections for Avoidable Visual Impairment among Working-Age Individuals: A Population-Based Study. Am J Ophthalmol. 2025;271:304-15. doi: https://doi.org/10.1016/j.ajo.2024.12.003
3. Allison K, Virk A, Alamri A, Patel D. Analysis of the Awareness and Access of Eye Healthcare in Underserved Populations. Vision (Basel). 2025;9(3):55. doi: https://doi.org/10.3390/vision9030055
4. Guimarães AF, Barbosa VLM, Silva MP, Portugal JKA, Reis MHS, Gama ASM. Acesso a serviços de saúde por ribeirinhos de um município no interior do estado do Amazonas, Brasil. Revista Pan-Amazônica de Saúde. 2020;11(0). doi: https://doi.org/10.5123/s2176-6223202000178
5. Martins MVP, Cunha SC, Godoi LF, Matos ITM, Sousa AFS, Alvares MCR, et al. Prevalência de cegueira em uma população idosa quilombola da região norte do Tocantins. Revista Brasileira de Oftalmologia. 2025;84:e0056. doi: https://doi.org/10.37039/1982.8551.20250056
6. Costa ROC, Pimentel PO, Pessoa ACP, Braz Júnior G, Almeida JDS. Diagnóstico de Glaucoma em Retinografias de Oftalmoscópio Portátil Utilizando Ensemble Baseado em Transformers. In: Anais do XXV Simpósio Brasileiro de Computação Aplicada à Saúde (SBCAS 2025). [s.l.]: Sociedade Brasileira de Computação - SBC; 2025. p. 449-60. doi: https://doi.org/10.5753/sbcas.2025.7270
7. Nunes GGS, Almeida JDS, Quitanilha DBP, Cunha A. Image Stitching Baseado em Bifurcações Vasculares Aplicado a Retinografias de Baixa Resolução. In: Anais do XXV Simpósio Brasileiro de Computação Aplicada à Saúde (SBCAS 2025). [s.l.]: Sociedade Brasileira de Computação - SBC; 2025. p. 485-96. doi: https://doi.org/10.5753/sbcas.2025.7312
8. Ahn SJ, Kim YH. Clinical Applications and Future Directions of Smartphone Fundus Imaging. Diagnostics (Basel). 2024;14(13):1395. doi: https://doi.org/10.3390/diagnostics14131395
9. Davila JR, Sengupta SS, Niziol LM, Sindal MD, Besirli CG, Upadhyaya S, et al. Predictors of Photographic Quality with a Handheld Nonmydriatic Fundus Camera Used for Screening of Vision-Threatening Diabetic Retinopathy. Ophthalmologica. 2017;238(1-2):89-99. doi: https://doi.org/10.1159/000475773
10. Abramovich O, Pizem H, Van Eijgen J, Oren I, Melamed J, Stalmans I, et al. FundusQ-Net: A regression quality assessment deep learning algorithm for fundus images quality grading. Comput Methods Programs Biomed. 2023;239:107522. doi: https://doi.org/10.1016/j.cmpb.2023.107522
11. Gu B, Christopher M, Lim SH, Baxter SL. Deep Learning-Based Analysis of Ocular Anterior Segment Diseases from Patient-Self-Captured Smartphone Images. Informatics. 2025;12(1):2. doi: https://doi.org/10.3390/informatics12010002
12. Xu C, Liu Y, Wang S, Wang Y, Lin X, Guan W, et al. Deep learning-based automatic image quality control system for anterior eye segment in slit lamp and smartphone. Biomedical Signal Processing and Control. 2025;106:107776. doi: https://doi.org/10.1016/j.bspc.2025.107776
13. Vohra H, Hasan MK, Norul Huda Sheikh Abdullah S, Islam S, Hadi Abd Rahman A, Bhojake SN, et al. A Low-Cost AI-Powered System for Early Detection of Diabetic Retinopathy and Ocular Diseases in Resource Limited Settings. IEEE Access. 2025;13:97322-36. doi: https://doi.org/10.1109/access.2025.3572471
14. Rêgo S, Monteiro-Soares M, Dutra-Medeiros M, Camila Dias C, Nunes F. Exploring the Feasibility of Opportunistic Diabetic Retinopathy Screening with Handheld Fundus Cameras in Primary Care: Insights from Doctors and Nurses. Diabetology. 2024;5(6):566-83. doi: https://doi.org/10.3390/diabetology5060041
15. Chakour EM, Sadok Z, Kachouri R, Mansouri A, Andaloussi IB, Akil M, et al. Mobile-based deep learning system for early detection of diabetic retinopathy. Intelligence-Based Medicine. 2025;12:100259. doi: https://doi.org/10.1016/j.ibmed.2025.100259
16. Howard J. Imagenette: a smaller subset of 10 easily classified classes from ImageNet [Internet]. 2019. Disponível em: https://github.com/fastai/imagenette.
17. LeCun Y, Bottou L, Bengio Y, Haffner P. Gradient-based learning applied to document recognition. Proc. IEEE. 1998;86(11):2278-324. doi: https://doi.org/10.1109/5.726791
18. Howard A, Sandler M, Chen B, Wang W, Chen LC, Tan M, et al. Searching for MobileNetV3. In: 2019 IEEE/CVF International Conference on Computer Vision (ICCV). [s.l.]: IEEE; 2019. p. 1314-24. doi: https://doi.org/10.1109/iccv.2019.00140
19. Howard AG, Zhu M, Chen B, Kalenichenko D, Wang W, Weyand T, et al. MobileNets: efficient convolutional neural networks for mobile vision applications. arXiv:1704.04861. 2017.
20. Tan M, Le Q. EfficientNet: rethinking model scaling for convolutional neural networks. In: Proc 36th Int Conf Mach Learn (ICML). PMLR; 2019. p. 6105–14.
21. Huang G, Liu Z, Van Der Maaten L, Weinberger KQ. Densely Connected Convolutional Networks. In: 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR). [s.l.]: IEEE; 2017. p. 2261-9. doi: https://doi.org/10.1109/cvpr.2017.243
22. Liu Z, Mao H, Wu CY, Feichtenhofer C, Darrell T, Xie S. A ConvNet for the 2020s. In: 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). [s.l.]: IEEE; 2022. p. 11966-76. doi: https://doi.org/10.1109/cvpr52688.2022.01167
23. Dosovitskiy A, Beyer L, Kolesnikov A, Weissenborn D, Zhai X, Unterthiner T, et al. An image is worth 16x16 words: transformers for image recognition at scale. arXiv:2010.11929. 2020.
24. Xu M, Sun Y, Cheng H, Zhou Y, Maimaiti N, Chen P, et al. SLID: a slit-lamp image dataset for deep learning-based anterior eye anatomical segmentation and multi-lesion detection. Front Digit Health. 2025;7:1716501. doi: https://doi.org/10.3389/fdgth.2025.1716501
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Iaze Guilherme Soares Carneiro Santos, Amanda dos Santos Almeida, João Dallyson Sousa de Almeida, Aristófanes Corrêa Silva, Elaine de Paula Fiod Costa, Marcos Adriano Garcia Campos

This work is licensed under a Creative Commons Attribution 4.0 International License.