journal article·2024-01-10Open access

Real-Time Protozoa Detection from Microscopic Imaging Using YOLOv4 Algorithm

İdris Kahraman, İsmail Rakıp Karaş, Muhammed Kamil Turan

Applied Sciences· Volume 14· Issue 2

Abstract

Protozoa detection and classification from freshwaters and microscopic imaging are critical components in environmental monitoring, parasitology, science, biological processes, and scientific research. Bacterial and parasitic contamination of water plays an important role in society health. Conventional methods often rely on manual identification, resulting in time-consuming analyses and limited scalability. In this study, we propose a real-time protozoa detection framework using the YOLOv4 algorithm, a state-of-the-art deep learning model known for its exceptional speed and accuracy. Our dataset consists of objects of the protozoa species, such as Bdelloid Rotifera, Stylonychia Pustulata, Paramecium, Hypotrich Ciliate, Colpoda, Lepocinclis Acus, and Clathrulina Elegans, which are in freshwaters and have different shapes, sizes, and movements. One of the major properties of our work is to create a dataset by forming different cultures from various water sources like rainwater and puddles. Our network architecture is carefully tailored to optimize the detection of protozoa, ensuring precise localization and classification of individual organisms. To validate our approach, extensive experiments are conducted using real-world microscopic image datasets. The results demonstrate that the YOLOv4-based model achieves outstanding detection accuracy and significantly outperforms traditional methods in terms of speed and precision. The real-time capabilities of our framework enable rapid analysis of large-scale datasets, making it highly suitable for dynamic environments and time-sensitive applications. Furthermore, we introduce a user-friendly interface that allows researchers and environmental professionals to effortlessly deploy our YOLOv4-based protozoa detection tool. We conducted f1-score 0.95, precision 0.92, sensitivity 0.98, and mAP 0.9752 as evaluating metrics. The proposed model achieved 97% accuracy. After reaching high efficiency, a desktop application was developed to provide testing of the model. The proposed framework’s speed and accuracy have significant implications for various fields, ranging from a support tool for paramesiology/parasitology studies to water quality assessments, offering a powerful tool to enhance our understanding and preservation of ecosystems.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Digital Imaging for Blood Diseases · Smart Agriculture and AI · Cell Image Analysis Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Computer Engineering Department, Engineering Faculty, Karabuk University, 78010 Karabuk, Turkey

Department of Medicine, Karabuk University, 78010 Karabuk, Turkey

References (38)

Show source-provided references
1. Contamination of Water Resources by Pathogenic Bacteria10.1186/s13568-014-0051-x ↗
2. Real-Time Vehicle Detection for Surveillance of River Dredging Areas Using Convolutional Neural Networks10.5815/ijigsp.2023.05.02 ↗
3. Atila, Ü., Baydilli, Y.Y., Sehirli, E., and Turan, M.K. (2020). Classification of DNA Damages on Segmented Comet Assay Images Using Convolutional Neural Network. Comput. Methods Programs Biomed., 186.10.1016/j.cmpb.2019.105192 ↗
4. Classification of White Blood Cells Using Capsule Networks10.1016/j.compmedimag.2020.101699 ↗
5. A Deep Learning Approach for Classification of Dentinal Tubule Occlusions10.1080/08839514.2022.2094446 ↗
6. Convolutional Neural Network-Based Lung Cancer Nodule Detection Based on Computer Tomography10.1007/978-981-19-7615-5_8 ↗
7. AI-Driven Malaria Diagnosis: Developing a Robust Model for Accurate Detection and Classification of Malaria Parasites10.61186/ijbc.15.3.112 ↗
8. Automated Detection Model in Classification of B-Lymphoblast Cells from Normal B-Lymphoid Precursors in Blood Smear Microscopic Images Based on the Majority Voting Technique
9. Toward Artificial Intelligence (AI) Applications in the Determination of COVID-19 Infection Severity: Considering AI as a Disease Control Strategy in Future Pandemics10.61186/ijbc.15.3.93 ↗
10. A Mobile Application Based on Efficient Lightweight CNN Model for Classification of B-ALL Cancer from Non-Cancerous Cells: A Design and Implementation Study10.1016/j.imu.2023.101244 ↗
11. Methods for Parasitic Protozoans Detection in the Environmental Samples10.1051/parasite/2009163183 ↗
12. Detection of Intestinal Protozoa in Paediatric Patients with Gastrointestinal Symptoms by Multiplex Real-Time PCR10.1111/1469-0691.12386 ↗
13. Detection of Free-Living Amoebae by Using Multiplex Quantitative PCR10.1016/j.mcp.2012.03.003 ↗
14. Digital PCR: Modern Solution to Parasite Diagnostics and Population Trait Genetics10.1186/s13071-023-05756-7 ↗
15. Houssin, T., Bridle, H., and Senez, V. (2021). Waterborne Pathogens, Academic Press.10.1016/B978-0-444-64319-3.00002-2 ↗
16. Electrochemical Point-of-Care Devices for Monitoring Waterborne Pathogens: Protozoa, Bacteria, and Viruses—An Overview10.1016/j.cscee.2022.100182 ↗
17. Analysis of Parasitic Protozoa at the Single-Cell Level Using Microfluidic Impedance Cytometry10.1038/s41598-017-02715-y ↗
18. Bharadwaj, P., Tripathi, D., Pandey, S., Tapadar, S., Bhattacharjee, A., Das, D., Palwan, E., Rani, M., and Kumar, A. (2021). Wastewater Treatment: Cutting-Edge Molecular Tools, Techniques and Applied Aspects, Elsevier.
19. Detection of Protozoa in Wastewater Using ANN and Active Contour in Image Processing
20. Abidin, S.R., Salamah, U., and Nugroho, A.S. (2016, January 5–6). Segmentation of Malaria Parasite Candidates from Thick Blood Smear Microphotographs Image Using Active Contour without Edge. Proceedings of the 2016 1st International Conference on Biomedical Engineering (IBIOMED), Yogyakarta, Indonesia.10.1109/IBIOMED.2016.7869824 ↗
21. Dave, I.R., and Upla, K.P. (2017, January 2–3). Computer Aided Diagnosis of Malaria Disease for Thin and Thick Blood Smear Microscopic Images. Proceedings of the 2017 4th International Conference on Signal Processing and Integrated Networks (SPIN), Noida, India.10.1109/SPIN.2017.8050013 ↗
22. Deep Convolution Neural Network for Image Recognition10.1016/j.ecoinf.2018.10.002 ↗
23. Detection of Intestinal Protozoa in Trichrome-Stained Stool Specimens by Use of a Deep Convolutional Neural Network10.1128/JCM.02053-19 ↗
24. Segmentation-Driven Hierarchical RetinaNet for Detecting Protozoa in Micrograph10.1142/S1793351X19400178 ↗
25. A New Approach for Microscopic Diagnosis of Malaria Parasites in Thick Blood Smears Using Pre-Trained Deep Learning Models10.1007/s42452-020-3000-0 ↗
26. Osaku, D., Cuba, C.F., Suzuki, C.T.N., Gomes, J.F., and Falcão, A.X. (2020). Automated Diagnosis of Intestinal Parasites: A New Hybrid Approach and Its Benefits. Comput. Biol. Med., 123.10.1016/j.compbiomed.2020.103917 ↗
27. Górriz, M., Aparicio, A., Raventós, B., Vilaplana, V., Sayrol, E., and López-Codina, D. (2018). Leishmaniasis Parasite Segmentation and Classification Using Deep Learning, Springer.10.1007/978-3-319-94544-6_6 ↗
28. Hoorali, F., Khosravi, H., and Moradi, B. (2020). Automatic Bacillus Anthracis Bacteria Detection and Segmentation in Microscopic Images Using UNet++. J. Microbiol. Methods, 177.10.1016/j.mimet.2020.106056 ↗
29. de Souza Oliveira, A., Guimarães Fernandes Costa, M., das Graças Vale Barbosa, M., and Ferreira Fernandes Costa Filho, C. (2022). A New Approach for Malaria Diagnosis in Thick Blood Smear Images. Biomed. Signal Process. Control, 78.10.1016/j.bspc.2022.103931 ↗
30. Abdurahman, F., Fante, K.A., and Aliy, M. (2021). Malaria Parasite Detection in Thick Blood Smear Microscopic Images Using Modified YOLOV3 and YOLOV4 Models. BMC Bioinform., 22.10.1186/s12859-021-04036-4 ↗
31. Nakasi, R., Mwebaze, E., and Zawedde, A. (2021). Mobile-Aware Deep Learning Algorithms for Malaria Parasites and White Blood Cells Localization in Thick Blood Smears. Algorithms, 14.10.3390/a14010017 ↗
32. Deep Learning for Microscopic Examination of Protozoan Parasites10.1016/j.csbj.2022.02.005 ↗
33. State-of-the-Art of Portable (Bio)Sensors Based on Smartphone, Lateral Flow and Microfluidics Systems in Protozoan Parasites Monitoring: A Review10.1016/j.microc.2023.108804 ↗
34. Ünver, H.M., and Ayan, E. (2019). Skin Lesion Segmentation in Dermoscopic Images with Combination of Yolo and Grabcut Algorithm. Diagnostics, 9.10.3390/diagnostics9030072 ↗
35. Redmon, J., Divvala, S., Girshick, R., and Farhadi, A. (2016, January 27–30). You Only Look Once: Unified, Real-Time Object Detection. Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.91 ↗
36. Bochkovskiy, A., Wang, C.Y., and Liao, H.Y.M. (2020). YOLOv4: Optimal Speed and Accuracy of Object Detection. ArXiv.
37. Lin, T.Y., Maire, M., Belongie, S., Hays, J., Perona, P., Ramanan, D., Dollár, P., and Zitnick, C.L. (2014). Microsoft COCO: Common Objects in Context, Springer.10.1007/978-3-319-10602-1_48 ↗
38. Skalski, P. (2023, December 18). Make Sense. Available online: https://github.com/SkalskiP/make-sense/.