Skip to content

CeGRIB/plasmo3net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plasmo3Net: A Convolutional Neural Network-Based Algorithm for Detecting Malaria Parasites in Thin Blood Smear Images

App Screenshot

Live Demo

Streamlit App

Authors

Afolabi Owoloye1,2,3 Funmilayo Ligali1,3 Ojochenemi Enejoh4 Oluwafemi Agosile1 Adesola Musa3 Oluwagbemiga Aina3 Adetunji Adewole5 Taiwo Idowu2 Kolapo Oyebola1,3

1Centre for Genomic Research in Biomedicine (CeGRIB), College of Basic and Applied Sciences, Mountain Top University, Ibafo, Nigeria.
2 Parasitology and Bioinformatics Unit, Department of Zoology, Faculty of Science, University of Lagos, Lagos, Nigeria.
3 Nigerian Institute of Medical Research, Lagos, Nigeria.
4 Genetics, Genomics and Bioinformatics Department, National Biotechnology Research and Development Agency, Abuja, Nigeria.
5 Computer Science Department, Faculty of Science, University of Lagos, Lagos, Nigeria


pipeline

Figure 1.0: Experimental workflow for developing the convolutional neural network

🦟 Plasmo3Net: Malaria Detection Web App

A deep learning-powered web application for automated detection of Plasmodium falciparum in red blood cells (RBCs) using convolutional neural networks (CNNs). Achieves 99.3% accuracy in classifying infected vs. uninfected cells.

🔍 Features

  • Cell Segmentation: Extracts individual RBCs from microscope slide images using OpenCV.
  • CNN Classification:
    • Custom Plasmo3Net model (13-layer CNN) with 99.3% accuracy.
    • Benchmarked against ResNet50, InceptionV3, VGG16, and AlexNet.
  • User-Friendly Interface:
    • Upload microscope slides or pre-segmented RBCs.
    • Real-time predictions with visual results.
    • Download segmented cells as a ZIP file.

📊 Performance Metrics

Metric Plasmo3Net ResNet50 (Baseline)
Accuracy 99.3% 97.9%
Precision 99.1% 97.6%
Recall 99.6% 98.3%
F1 Score 99.3% 97.9%

🚀 Quick Start

Prerequisites

  • Python 3.8+
  • TensorFlow 2.x
  • Streamlit
  • OpenCV
### Installation
1. Clone the repository:
   ```bash
   git clone https://github.com/CeGRIB/plasmo3net.git 
   cd plasmo3net
  1. Install dependencies:

    pip install -r requirements.txt
  2. Run the app:

    streamlit run app.py
  3. Access the app at http://localhost:8501.

🧩 Workflow

  1. Upload: Microscope slide image or segmented RBCs.
  2. Segment: Automated RBC extraction (if using slides).
  3. Classify: Predicts "Parasitized" or "Uninfected" for each cell.
  4. Results: Displays predictions with confidence metrics.

📂 File Structure

.
├── app.py                # Streamlit application
├── model.h5              # Trained Plasmo3Net model
├── requirements.txt      # Dependencies
├── script/               # python scripts
├── RBC/                  # Processed RBC images
└── logo/                 # App assets

📄 Citation

If you use this work, please cite:

@article{
  authors={Owoloye et al.},
  title={Plasmo3Net: A Convolutional Neural Network-Based Algorithm for Detecting Malaria Parasites in Thin Blood Smear Images},
  journal={bioRxiv},
  year={2024},
  doi={10.1101/2024.12.12.628235v1}
}

🤝 Contribute

  • Report bugs via Issues.
  • Fork and submit Pull Requests.

📧 Contact

CeGRIB - @cegrib LinkedIn | Twitter

About

Malaria detection web app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •