A Lightweight Deep Learning Pipeline for Real-Time Identification of Mosquito Larvae on Mobile Devices
Abstract
Real-time detection and classification of mosquito larvae on mobile devices still face challenges in terms of accuracy and efficiency. Manual identification is limited, thereby necessitating the development of deep learning-based systems to improve both accuracy and speed in diagnosis. This study proposes a fusion deep learning model, combining YOLOv8 for object detection and MobileNetV3‑Small for mosquito larvae classification, to enhance the accuracy and efficiency of classifying mosquito larvae into three classes—Aedes, Culex, and an ‘Unknown’ class that captures non‑Aedes/Culex larvae (e.g., Anopheles, Toxorhynchites)—as well as to support environmental health monitoring. The methodology involves using YOLOv8 for object detection and MobileNetV3 for mosquito larvae classification. The dataset comprises images of Aedes and Culex larvae and curated “Unknown” examples representing other genera. The model was trained and evaluated using deep learning techniques, and subsequently deployed in a mobile application to automatically detect and classify the larvae. The results indicate that the developed system is capable of detecting and classifying mosquito larvae with high accuracy, with YOLOv8 achieving mAP@0.5 of 0.986 and mAP@0.5:0.95 of 0.777, while MobileNetV3‑Small attained a classification accuracy of 0.962. For efficiency, the model runs in real time on mobile devices with low latency. The model also demonstrates stable performance on unseen data, confirming its potential for environmental health monitoring and its role in supporting more effective vector control efforts, as well as contributing to further research in the field of entomology.References
S. Prasher and L. Nelson, “Mosquitoes Classification using EfficientNetB4 Transfer Learning Model,” 2023, ICAAIC, pp. 582–586, 2023, doi: 10.1109/ICAAIC56838.2023.10141504.
World Health Organization, “Vector-borne diseases,” World Health Organization. Accessed: Feb. 16, 2025. [Online]. Available: https://www.who.int/news-room/fact-sheets/detail/vector-borne-diseases
G. Liang, X. Gao, and E. A. Gould, “Factors responsible for the emergence of arboviruses; strategies, challenges and limitations for their control,” Emerging Microbes and Infections, vol. 4, no. 3, 2015, doi: 10.1038/emi.2015.18.
M. R. Marselle, J. Stadler, H. Korn, K. N. Irvine, and A. Bonn, “Vector-Borne Diseases,” in Biodiversity and Health in the Face of Climate Change, Springer, 2019, pp. 67–90. doi: 10.1007/978-3-030-02318-8.
M. Parra-Amaya, M. Puerta-Yepes, D. Lizarralde-Bejarano, and S. Arboleda-Sánchez, “Early Detection for Dengue Using Local Indicator of Spatial Association (LISA) Analysis,” Diseases, vol. 4, no. 2, p. 16, 2016, doi: 10.3390/diseases4020016.
E. S. Paixão, M. G. Teixeira, and L. C. Rodrigues, “Zika, chikungunya and dengue: The causes and threats of new and reemerging arboviral diseases,” BMJ Global Health, vol. 3, pp. 1–6, 2018, doi: 10.1136/bmjgh-2017-000530.
J. V. J. Silva, T. R. R. Lopes, E. F. d. Oliveira-Filho, R. A. S. Oliveira, R. Durães-Carvalho, and L. H. V. G. Gil, “Current status, challenges and perspectives in the development of vaccines against yellow fever, dengue, Zika and chikungunya viruses,” Acta Tropica, vol. 182, no. December 2017, pp. 257–263, 2018, doi: 10.1016/j.actatropica.2018.03.009.
M. S. Saeed, S. F. Nazreen, S. S. S. A. Ullah, Z. F. Rinku, and A. Rahman, “Detection of Mosquito Larvae Using Convolutional Neural Network,” International Conference on Robotics, Electrical and Signal Processing Techniques, pp. 478–482, 2021, doi: 10.1109/ICREST51555.2021.9331235.
W. D. M. De Silva and S. Jayalal, “Dengue mosquito larvae identification using digital images,” Proceedings - International Research Conference on Smart Computing and Systems Engineering, SCSE 2020, pp. 31–36, 2020, doi: 10.1109/SCSE49731.2020.9313003.
S. I. Park et al., “Species identification of food contaminating beetles by recognizing patterns in microscopic images of elytra fragments,” PLoS ONE, vol. 11, no. 6, pp. 1–22, 2016, doi: 10.1371/journal.pone.0157940.
J. Wang, C. Lin, L. Ji, and A. Liang, “A new automatic identification system of insect images at the order level,” Knowledge-Based Systems, vol. 33, pp. 102–110, 2012, doi: 10.1016/j.knosys.2012.03.014.
H. P. Yang, C. Sen Ma, H. Wen, Q. Bin Zhan, and X. L. Wang, “A tool for developing an automatic insect identification system based on wing outlines,” Scientific Reports, vol. 5, pp. 1–11, 2015, doi: 10.1038/srep12786.
R. Charoenpanyakul et al., “Enhancing mosquito classification through self-supervised learning,” Scientific Reports, vol. 14, no. 1, pp. 1–20, 2024, doi: 10.1038/s41598-024-78260-2.
P. I. Nainggolan et al., "Classification Of Aedes Mosquito Larva Using Convolutional Neural Networks And Extreme Learning Machine," 2023 7th International Conference on Electrical, Telecommunication and Computer Engineering (ELTICOM), Medan, Indonesia, 2023, pp. 79-83, doi: 10.1109/ELTICOM61905.2023.10443125.
Pauzi Ibrahim Nainggolan, Syahril Efendi, Mohammad Andri Budiman, Maya Silvi Lydia, Romi Fadillah Rahmat, Dhani Syahputra Bukit, Umi Salmah, Sri Malem Indirawati, and Riza Sulaiman, "Detection and Classification of Mosquito Larvae Based on Deep Learning Approach," Engineering Letters, vol. 33, no. 1, pp198-206, 2025.
M. Valan, K. Makonyi, A. Maki, D. Vondráček, and F. Ronquist, “Automated Taxonomic Identification of Insects with Expert-Level Accuracy Using Effective Feature Transfer from Convolutional Networks,” Systematic Biology, vol. 68, no. 6, pp. 876–895, 2019, doi: 10.1093/sysbio/syz014.
I. A. Rather et al., “Prevention and control strategies to counter dengue virus infection,” Frontiers in Cellular and Infection Microbiology, vol. 7, no. JUL, pp. 1–8, 2017, doi: 10.3389/fcimb.2017.00336.
J. A. Luna et al., “Label-free visualization of internal organs and assessment of anatomical differences among adult Anopheles, Aedes, and Culex mosquito specimens using bidirectional optical coherence tomography,” Optics and Laser Technology, vol. 168, no. July 2023, p. 109849, 2024, doi: 10.1016/j.optlastec.2023.109849.
N. D. G. Drantantiyas et al., “Performasi Deteksi Jumlah Manusia Menggunakan YOLOv8,” JASIEK (Jurnal Aplikasi Sains, Informasi, Elektronika dan Komputer), vol. 5, no. 2, pp. 63–68, 2023, doi: 10.26905/jasiek.v5i2.11605.
A. F. Félix-Jiménez, V. S. Sánchez-Lee, H. A. Acuña-Cid, I. Ibarra-Belmonte, E. Arredondo-Morales, and E. Ahumada-Tello, “Integration of YOLOv8 Small and MobileNet V3 Large for Efficient Bird Detection and Classification on Mobile Devices,” AI (Switzerland), vol. 6, no. 3, pp. 1–27, 2025, doi: 10.3390/ai6030057.
A. M. Hubalde, D. A. Padilla, and D. A. C. Santos, “A yolo-based approach for Aedes aegypti larvae classification and detection,” 2021. ICIVC 2021, pp. 161–167, 2021, doi: 10.1109/ICIVC52351.2021.9527017.
R. Abedin, A. Al Nakib, T. Islam, and M. E. Islam, “An Improved Transfer Learning Based Larvae Detection and Classification Using Densenet121,” 2023. ICCIT, pp. 1–6, 2023, doi: 10.1109/ICCIT60459.2023.10441505.
B. Gašparović, G. Mauša, J. Rukavina, and J. Lerga, “Evaluating YOLOV5, YOLOV6, YOLOV7, and YOLOV8 in Underwater Environment: Is There Real Improvement?”. 2023, SpliTech 2023, pp. 12–15, 2023, doi: 10.23919/SpliTech58164.2023.10193505.
H. Abdo, K. M. Amin, and A. M. Hamad, “Fall Detection Based on RetinaNet and MobileNet Convolutional Neural Networks,” Proceedings of ICCES 2020, doi: 10.1109/ICCES51560.2020.9334570.
A. G. Howard et al., “MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications,” 2017, doi: 10.48550/arXiv.1704.04861.
A. Howard et al., “Searching for mobileNetV3,” Proceedings of the IEEE International Conference on Computer Vision, vol. 2019-Octob, pp. 1314–1324, 2019, doi: 10.1109/ICCV.2019.00140.
Roboflow Universe, “Mosquito Larvae Dataset (Thesis),” Dataset webpage, 2022–2025. Available: https://universe.roboflow.com/thesis-elw7x/mosquito-larvae-dataset-zfjs9. Accessed: Mar. 2, 2025.
DOI:
https://doi.org/10.31449/inf.v49i35.11522Downloads
Published
How to Cite
Issue
Section
License
I assign to Informatica, An International Journal of Computing and Informatics ("Journal") the copyright in the manuscript identified above and any additional material (figures, tables, illustrations, software or other information intended for publication) submitted as part of or as a supplement to the manuscript ("Paper") in all forms and media throughout the world, in all languages, for the full term of copyright, effective when and if the article is accepted for publication. This transfer includes the right to reproduce and/or to distribute the Paper to other journals or digital libraries in electronic and online forms and systems.
I understand that I retain the rights to use the pre-prints, off-prints, accepted manuscript and published journal Paper for personal use, scholarly purposes and internal institutional use.
In certain cases, I can ask for retaining the publishing rights of the Paper. The Journal can permit or deny the request for publishing rights, to which I fully agree.
I declare that the submitted Paper is original, has been written by the stated authors and has not been published elsewhere nor is currently being considered for publication by any other journal and will not be submitted for such review while under review by this Journal. The Paper contains no material that violates proprietary rights of any other person or entity. I have obtained written permission from copyright owners for any excerpts from copyrighted works that are included and have credited the sources in my article. I have informed the co-author(s) of the terms of this publishing agreement.
Copyright © Slovenian Society Informatika







