/Malaria_Project_Deep_Learning_CV

Binary Classification Model for Malaria Image Detection built with Tensorflow and Keras.

Primary LanguagePython

Malaria Image Classification Project

Open In Colab Open App

cells

Welcome!

About proyect

This project aims to detect malaria using deep learning techniques. To address this issue, we focus on implementing a supervised learning approach. For model training, we utilize the "Malaria" dataset from TensorFlow Datasets, which contains 27,558 images of blood cells, both parasitized and uninfected. The main purpose is to create a binary classification model aimed at improving malaria diagnosis. Using tools such as TensorFlow and Keras, we thoroughly explore deep learning techniques. The project covers everything from data acquisition and preprocessing to model implementation and evaluation. Our comprehensive approach is not only geared towards developing an efficient solution for malaria image classification but also understanding in-depth the complexities and challenges associated with the practical application of artificial intelligence in a medical context.

The exploration and processing of data, along with the construction, training, and evaluation of the model, were developed in Google Colab Open App

About model

This model was created using Tensorflow and Keras. Different techniques were applied in its development, including image augmentation, transfer learning and fine-tuning. During the evaluation stage, it achieved an accuracy of about 95% on the test set.

About data

Training was performed using the "Malaria" dataset from TFDS, consisting of 27,558 images taken from thin blood smear samples of segmented cells. The images are divided into 2 classes: 'Parasitized' and 'Uninfected', with an equal number of samples in each. The 'Parasitized' class contains samples of cells infected by the parasite that causes malaria, while the 'Uninfected' class has images of healthy cells. For more information about the dataset, you can visit the official page: TFDS Malaria

Getting started

The model can be used through a web application created with Streamlit. You can use this platform to make predictions with both preloaded images from the test set and your own images. To access the Streamlit app, please click here.

You can also download the project from GitHub:

# Clone the repository:
git clone https://github.com/MarinaComotti/Malaria_Project_Deep_Learning_CV.git

# Install dependencies:
pip install -r requirements.txt

# To run Streamlit locally on your PC:
streamlit run main/Home.py

Authors

Marina Comotti and Catriel Ramirez

License

MIT License

Copyright (c) 2024 Marina Comotti, Catriel Ramirez

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project status

This project is under constant development and active maintenance. Here are the current status and other relevant details:

  • Current Version: 1.0.0.

  • Active Development: Yes.

  • Last Update: 17-07-2024.

This project remains active and welcomes contributions and feedback from the community. Thank you for your interest!