Detection of Anemia Based on Conjunctival Images Using a Convolutional Neural Network (CNN) Method

Rika Yulia Sari, Zahratul Fitri, Yesy Afrillia

Abstract


A hemoglobin level below 12 g/dL is the primary indicator of anemia, a condition commonly found in adolescent girls. Laboratory blood tests, as a conventional detection method, are invasive, time-consuming, and costly. This study developed a non-invasive classification system for anemia and non-anemia based on conjunctival images using a Convolutional Neural Network (CNN), implemented on a real-time website. A total of 433 conjunctival images were collected comprising 206 images of anemia and 227 of non-anemia sourced from smartphone cameras and the Kaggle dataset, divided in an 80:10:10 ratio for training, validation, and testing. Preprocessing included resizing to 150 150 pixels, augmentation (flip, rotation, zoom, translation, brightness), and pixel normalization. The CNN architecture consists of three convolutional layers (32, 64, and 128 filters), max pooling, dropout, and a fully connected layer with sigmoid activation, trained using the Adam optimizer and the binary cross-entropy loss function until the 43rd epoch. The model achieved an accuracy of 88.37%, precision of 0.89, recall of 0.88, and an F1-score of 0.88. The model was integrated with a Flask-based REST API and MediaPipe Face Landmarker to automatically detect the conjunctival Region of Interest (ROI) via camera or uploaded images, thereby potentially serving as a fast, practical, and easily accessible tool for the initial screening of anemia among adolescent girls in schools and primary health care facilities.


Keywords


Anemia;Conjungtiva;Convolutional Neural Network;MediaPipe

Full Text:

PDF

References


Abadi, A. N., & Wibowo, A. T. (2021). Classification of Anthurium Species Based on Leaf Images Using a Convolutional Neural Network. EProceedings of Engineering, 8(4), 4152–4170. https://openlibrarypublications.telkomuniversity.ac.id/index.php/engineering/article/view/15243

Adriyanto, T., Ramadhani, R. A., Helilintar, R., & Ristyawan, A. (2022). Classification of Dog and Cat Images using the CNN Method. ILKOM Jurnal Ilmiah, 14(3), 203–208. https://doi.org/10.33096/ilkom.v14i3.1116.203-208

Amalia, E., Lamada, M., Kaswar, A. B., Andayani, D. D., Studi, P., Komputer, T., Makassar, U. N., Makassar, U. N., Studi, P., Komputer, T., Makassar, U. N., Makassar, U. N., Kesehatan, D., Indonesia, R., Network, C. N., & Konjungtiva, P. (2023). Classification of Anemia Based on Palpebral Conjunctival Images Using Transfer Leraning Algorithm. 20(2), 128–134.

Ariyanto, R., & Prasetyo, H. (2022). Analysis of Color Space Transformation in Computer Vision-Based Object Identification. Jurnal Teknologi Informasi Dan Multimedia, 4(1).

Bintoro, P., Ratnasari, Wihardjo, E., Putri, I. P., & Asari, A. (2024). Introduction to Machine Learning. PT MAFY MEDIA LITERASI INDONESIA.

Chandel, R., Bhowmick, R., & Hariharan, U. (2023). A Comparison of Face Landmark Detection Techniques. 2023 4th International Conference on Computation, Automation and Knowledge Management, ICCAKM 2023, Iccakm, 1–6. https://doi.org/10.1109/ICCAKM58659.2023.10449635

Eriana, E. S., & Zein, A. (2023). Artificial Intelligence – AI. Encyclopedia of Digital Agricultural Technologies, 84–84. https://doi.org/10.1007/978-3-031-24861-0_300007

Fatmawati, U. D., Praditasari, W. A. A., & Aprilliyani, R. (2023). Application of the HSV - TCA Method for Real-Time Detection of Rice Weevils (Sitophylus Oryzae L). Jurnal Sistem Dan Teknologi Informasi (JustIN), 11(2), 277. https://doi.org/10.26418/justin.v11i2.56039

Helmyati, S., Hasanah, F. C., Putri, F., Sundjaya, T., & Dilantika, C. (2023). Biochemistry Indicators for the Identification of Iron Deficiency Anemia in Indonesia: A Literature Review. Amerta Nutrition, 7(3), 62–70. https://doi.org/10.20473/amnt.v7i3SP.2023.62-70

Indiranjani, N. (2023). Detection of Drowsiness on Employees' Faces Using the MediaPipe Face Detector and MobileNet. Bussiness Law Binus, 7(2), 33–48.

König, M. (2022). A sigmoid-optimized encoder – decoder network for crack segmentation with copy-edit-paste transfer learning. Computer-Aided Civil and Infrastructure Engineering, 37(14), 1875–1890. https://doi.org/10.1111/mice.12844

Lodia Tuturop, K., Martina Pariaribo, K., Asriati, A., Adimuntja, N. P., & Nurdin, M. A. (2023). Prevention of Anemia in Adolescent Girls: Students at the Faculty of Public Health, Cendrawasih University.  Panrita Inovasi: Jurnal Pengabdian Kepada Masyarakat, 2(1), 19. https://doi.org/10.56680/pijpm.v2i1.46797

Lubis, D. R., & Angraeni, L. (2022). Early Detection of Anemia Through Hemoglobin Level Testing in Adolescent Girls. Jurnal Pengabdian Masyarakat Parahita (JPMP), 03, 24–35. https://doi.org/https://doi.org/10.54771/jpmbp.v3i01.377

Magdalena, R., Saidah, S., Da, I., Fuadah, Y. N., Herman, N., & Ibrahim, N. (2022). Convolutional Neural Network For Anemia Detection Based On Conjungtiva Palpebral Images. 3(2), 0–5.

Muhammad, S., & Wibowo, A. T. (2021). Classification of Aglaonema Plants Based on Leaf Images Using the Convolutional Neural Network (CNN) Method. E-Proceeding of Engineering, 8(5), 10621–10636.

Muqsith, F. I., Supriyati, E., & Listyorini, T. (2025). Android-Based Classification of Hijaiyah Letter Pronunciation Using CNN with Mel-Spectrogram Features. 10(1), 67–78. https://doi.org/10.30591/jpit.v10i1.8145

Pradnyawati, L. G. (2024). A Program to Revitalize the Distribution of Iron-Folic Acid Tablets for Stunting Prevention at Kintamani State High School 1.. Warmadewa Minestrium Medical Journal, 03, 194–199. https://doi.org/https://doi.org/10.22225/wmmj.3.3.2024.194-199

Purba, M. E., Situmorang, A. Z., Laurent, G., Ginting, B., Wahyu, M., Lubis, P., & Sinaga, F. M. (2025). Classification of Organic and Inorganic Waste Using a CNN Algorithm. 26(1), 37–54.

Purwandari, E. P., Andreswari, D., & Faraditha, U. (2021). Color and Texture Feature Extraction for the Retrieval of Besurek Batik Images. Pseudocode, 7(1), 17–25. https://doi.org/10.33369/pseudocode.7.1.17-25

Ramadhani, I. R., Nilogiri, A., & Qurrota, A. (2022). Classification of Plant Species Based on Leaf Images Using the Convolutional Neural Network Method. Jurnal Smart Teknologi, 3(3), 249–260. http://jurnal.unmuhjember.ac.id/index.php/JST

Setiawan, W. (2021). Deep Learning Using Convolutional Neural Networks: Theory and Applications. Media Nusa Creative (MNC Publishing). https://books.google.co.id/books?id=sE9LEAAAQBAJ

Tri Laksono, A., Citra Digital Buah, P., Wanarti Rusmamto, P., & Syariffuddien Zuhrie, M. (2022). Digital Image Processing of Mulberries Using the LDA (Linear Discriminant Analysis) Algorithm. Indonesian Journal of Engineering and Technology, 4(2), 71–78. https://journal.unesa.ac.id/index.php/inajet

Wandini, P., Widya Astuti, A., & Sayudin, S. (2024). Conjunctivitis: A Study of Anatomy, Histology, and Etiology in Eye Health. Jurnal Locus Penelitian Dan Pengabdian, 3(1), 79–91. https://doi.org/10.58344/locus.v3i1.2418

Wardani, K. R., & Leonardi, L. (2023). Classification of Grape Leaf Diseases Using a Convolutional Neural Network. Jurnal Tekno Insentif, 17(2), 112–126. https://doi.org/10.36787/jti.v17i2.1130

Wicaksono, S., & Nugroho, A. (2024). Improving Medical Image Quality Using Histogram Equalization for Deep Learning Model Optimization. Jurnal Nasional Teknologi Dan Sistem Informasi (TEKNOSI).

Widyaningrum, R., & Setiyaningrum, Z. (2024). The Relationship Between Dietary Patterns and the Incidence of Anemia Among Adolescent Girls at SMK Batik 2 Surakarta. Jurnal Ilmiah Universitas Batanghari Jambi, 24(3), 2174. https://doi.org/10.33087/jiubj.v24i3.5688




DOI: http://dx.doi.org/10.30872/jim.v21i1.28906

Refbacks

  • There are currently no refbacks.


Copyright (c) 2026 Informatika Mulawarman : Jurnal Ilmiah Ilmu Komputer

Editor Informatika Mulawarman Address:
ISSN 1858-4853 (Print) | ISSN 2597-4963 (Online)

Published by: Mulawarman University
Managed by : Informatika Department
Jalan Sambaliung No.9 Sempaja Selatan Samarinda Utara,
Kalimantan Timur 75117
 - Indonesia
E-mail: jim.unmul@gmail.com
OJS: http://e-journals.unmul.ac.id/index.php/JIM
Contact Person: Gubtha Mahendra Putra

 Creative Commons License

Informatika Mulawarman by http://e-journals.unmul.ac.id/index.php/JIM/index is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Under the CC BY-SA license, authors and other users are able to reprint, distribute or use the material for commercial purposes so long as they give attribution to the journal Informatika Mulawarman and license the republished material under the same license.