Skip to content

ishraq-dagamseh/Malaria_Detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Malaria_Detector

In this project, I built a robust classifier that able to identify the malaria disease from medical images. I used image dataset to malaria disease, this images belong to two classes: parasitized and uninfected classes. parasitized-> images contains malaria disease, while uninfrcted -> images with no malaria ( healthy images). train dats included ( 12480) images for two classes, while the test data included ( 1300) images for each class.

Many steps applied in this project:

  1. imported required libraries.
  2. uploaded data.
  3. read data
  4. visualized some samples of images.

And this some of them: A. paratisized images:

image

And this is from uninfected class:

image

As we noticed, the difference between two images the dark color in the pink part of image, that represent the disease in the medical images.

  1. explored the data In this step we noticed that we had balanced data, as we see in the next images:

image

  1. pre-process data using data augmentation
  2. built Custome CNN model
  3. compiled and optimized the model
  4. fit the model with data
  5. evaluated the performance of the model
  6. plot the performance.

I used kaggle notebook because it offer accelerators, and I used GPU T4X2, to accelarate training process.

python version 3, tensorflow library to build model

libraries used in this project were:

  1. numpy
  2. pandas
  3. seaborn.
  4. matplotlib.
  5. os
  6. glob
  7. tensorflow
  8. sklearn

Results:

Best results were accuracy 95%, with training in 30 epochs, the next image show how the model performance was during the training and testing stages. i think its a good trial but we can make more improvements.

image

#Deploymant using gradio on HuggingFace image

you can try it from this Link: IshraqTariq92/Malaria_Detector

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors