Skip to content

A Deep Learning-based Screening Model for Detecting and Classifying the Growth Stage of Enteropathogenic Escherichia coli Bacteria From Microscopic Water Samples

License

Notifications You must be signed in to change notification settings

Ehdunhackme/EPECscan

Repository files navigation

EPECscan: A Deep Learning-based Screening Model for Detecting and Classifying the Growth Stage of Enteropathogenic Escherichia coli Bacteria From Microscopic Water Samples

Project Abstract

(This project was presented in Science and Technology Symposium for Youths 2024 hosted by Chung Ling High School)

Enteropathogenic Escherichia coli, commonly known as EPEC, is a gram-negative bacteria that causes acute diarrhoea in children and babies. EPEC is most commonly found in water sources contaminated by faecal matter, particularly in third-world countries such as India and Bangladesh. However, the manual screening process for EPEC in water samples requires at least 12-48 hours and is prone to human error. This has led to large multistate outbreaks in the United States and causes 1.8 million deaths among children annually. In this study, we propose EPECscan - a screening model designed to enhance the accuracy and efficiency of screening in microscopic images of water samples. Our model is developed based on a modified single RGB channel YOLOv8m architecture and is trained on a public dataset of microscopic images with EPEC bacteria annotated into different growth stages. Our model achieves remarkable accuracy with a model accuracy of 95.4%, a mAP50 of 0.990, and a mAP50-95 of 0.794, with a total processing time of 13.2 seconds for 70 test images. The model was further interpreted with Grad-CAM++ to produce a decision heatmap to explain the model's decision-making process. Results showed that our model is capable of detecting all instances of EPEC in both clean and noisy scenarios. Additionally, we built and deployed a user-friendly web interface using Gradio on the Hugging Face platform. Our findings show that EcoliScan reduces screening delays whilst increasing speed and capability in detecting EPEC and EPEC growth stage classification. This enables relevant departments to swiftly take action for the removal of EPEC from contaminated water sources, thus reducing the risk of EPEC infections.

Model Deployment

https://huggingface.co/spaces/EPECScan/EPECScan

Results Preview

image image

Decision Heatmaps Preview Using GradCAM++

output2 output3 output16

PR curve

PR_curve

Confusion Matrix

confusion matrix

Model inference time histogram

Model Inference Histogram With CPU

About

A Deep Learning-based Screening Model for Detecting and Classifying the Growth Stage of Enteropathogenic Escherichia coli Bacteria From Microscopic Water Samples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •