Cataract Classification Based on Fundus Images Using Convolutional Neural Network

Richard Bina Jadi Simanjuntak - School of Electrical Engineering, Telkom University, Bandung, 40257, Indonesia
Yunendah Fu’adah - School of Electrical Engineering, Telkom University, Bandung, 40257, Indonesia
Rita Magdalena - School of Electrical Engineering, Telkom University, Bandung, 40257, Indonesia
Sofia Saidah - School of Electrical Engineering, Telkom University, Bandung, 40257, Indonesia
Abel Bima Wiratama - School of Electrical Engineering, Telkom University, Bandung, 40257, Indonesia
Ibnu Da’wan Salim Ubaidah - School of Electrical Engineering, Telkom University, Bandung, 40257, Indonesia

Citation Format:



A cataract is a disease that attacks the eye's lens and makes it difficult to see. Cataracts can occur due to hydration of the lens (addition of fluid) or denaturation of proteins in the lens. Cataracts that are not treated properly can lead to blindness. Therefore, early detection needs to be done to provide appropriate treatment according to the level of cataracts experienced. In this study, a comparison of cataract classification based on fundus images using GoogleNet, MobileNet, ResNet, and the proposed Convolutional Neural Network was carried out. We compared four CNN architectures when implementing the Adam optimizer with a learning rate of 0.001. The data used are 399 datasets and augmented to 3200 data. This test's best and most stable results were obtained from the proposed CNN model with 92% accuracy, followed by MobileNet at 92%, ResNet at 93%, and GoogLeNet at 86%. We also make comparisons with previous research. Most of the previous studies only used two to three class categories. In this study, the system was improved by increasing system classifies into four categories: Normal, Immature, Mature, and Hypermature. In addition, the accuracy obtained is also quite good compared to previous studies using manual feature extraction. This study is expected to help medical staff to carry out early detection of cataracts to prevent the dangerous effect of cataracts and appropriate medical treatment. In the future, we want to expand the number of datasets to improve the classification accuracy of the cataract detection system.


Cataract; Convolutional Neural Network; GoogLeNet; MobileNet; ResNet.

Full Text:



Ilyas S, Penglihatan Turun Perlahan Tanpa Mata Merah, 3rd ed. Jakarta: Balai Penerbit FKUI, 2007.

P. Ackland, S. Resnikoff, and R. Bourne, “World blindness and visual impairment: despite many successes, the problem is growing,†Community eye health, vol. 30, no. 100, pp. 71–73, 2017, [Online]. Available:

R. Kemenkes, “Infodatin Situasi Gangguan Penglihatan,†Kementrian Kesehatan RI Pusat Data dan Informasi, p. 11, 2018, [Online]. Available:

Y. N. Fuadah, R. Magdalena, S. Palondongan, and N. Kumalasari, “Optimasi K-Nearest Neighbor Untuk Sistem Klasifikasi Kondisi Katarak,†TEKTRIKA - Jurnal Penelitian dan Pengembangan Telekomunikasi, Kendali, Komputer, Elektrik, dan Elektronika, vol. 4, no. 1, p. 16, 2019, doi: 10.25124/tektrika.v4i1.1832.

R. A. K. B. A. A. S. Hadeer R. M. Tawfik, “Early Recognition and Grading of Cataract Using a Combined Log Gabor/Discrete Wavelet Transform with ANN and SVM," World Academy of Science, Engineering and Technology International Journal of Computer and Information Engineering, vol. 12, pp. 1038–1043, 2018.

R. W. Hutabri, R. Magdalena, and R. Y. N. Fu’adah, “Perancangan Sistem Deteksi Katarak Menggunakan Metode Principal Cmponent Analysis (PCA) dan K-Nearest Neighbor (K-NN),†Seminar Nasional Inovasi dan Aplikasi Teknologi, pp. 321–327, 2018.

V. Agarwal, V. Gupta, V. Vashisht, K. Sharma, and N. Sharma, Mobile Application Based Cataract Detection System. 2019. doi: 10.1109/ICOEI.2019.8862774.

M. A. Syarifah, A. Bustamam, and P. P. Tampubolon, “Cataract classification based on fundus image using an optimized convolution neural network with lookahead optimizer,†AIP Conference Proceedings, vol. 2296, no. 1, p. 020034, Nov. 2020, doi: 10.1063/5.0030744.

I. Weni, P. E. P. Utomo, B. F. Hutabarat, and M. Alfalah, “Detection of Cataract Based on Image Features Using Convolutional Neural Networks,†IJCCS (Indonesian Journal of Computing and Cybernetics Systems), vol. 15, no. 1, p. 75, 2021, doi: 10.22146/ijccs.61882.

S. Maheshwari, V. Kanhangad, and R. B. Pachori, “CNN-based approach for glaucoma diagnosis using transfer learning and LBP-based data augmentation,†Feb. 2020, [Online]. Available:

W. S. Eka Putra, “Klasifikasi Citra Menggunakan Convolutional Neural Network (CNN) pada Caltech 101,†Jurnal Teknik ITS, vol. 5, no. 1, 2016, doi: 10.12962/j23373539.v5i1.15696.

J. Cao et al., “DO-Conv: Depthwise Over-parameterized Convolutional Layer,†Jun. 2020, [Online]. Available:

A. Vedaldi and K. Lenc, “MatConvNet: Convolutional Neural Networks for MATLAB,†in Proceedings of the 23rd ACM International Conference on Multimedia, 2015, pp. 689–692. doi: 10.1145/2733373.2807412.

R. Sulistyo Budi, R. Patmasari, and S. Saidah, “Klasifikasi Cuaca Menggunakan Metode Convolutional Neural Network (Cnn) Weather Classification Using Convolutional Neural Network (Cnn) Method.â€

S. Kiranyaz, O. Avci, O. Abdeljaber, T. Ince, M. Gabbouj, and D. J. Inman, “1D convolutional neural networks and applications: A survey,†Mechanical Systems and Signal Processing, vol. 151, Apr. 2021, doi: 10.1016/j.ymssp.2020.107398.

C. Szegedy et al., “Going Deeper with Convolutions,†Sep. 2014, [Online]. Available:

A. G. Howard et al., “MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications,†Apr. 2017, [Online]. Available:

Q. Wen, Z. Luo, R. Chen, Y. Yang, and G. Li, “Deep learning approaches on defect detection in high resolution aerial images of insulators,†Sensors (Switzerland), vol. 21, no. 4, pp. 1–26, Feb. 2021, doi: 10.3390/s21041033.

K. He, X. Zhang, S. Ren, and J. Sun, “Deep residual learning for image recognition,†in Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition, Dec. 2016, vol. 2016-December, pp. 770–778. doi: 10.1109/CVPR.2016.90.

M. S. Junayed, M. B. Islam, A. Sadeghzadeh, and S. Rahman, “CataractNet: An automated cataract detection system using deep learning for fundus images,†IEEE Access, vol. 9, pp. 128799–128808, 2021, doi: 10.1109/ACCESS.2021.3112938.