Giter VIP home page Giter VIP logo

malaria-detection's Introduction

Detecting Malaria using Deep Learning 🦟🦠

Logo

πŸ“Œ Introduction

This Machine Learning Web Application utilizes a Two-Layered Convolutional Neural Network to process the Cell Images and predict if they are Malarial with an accuracy of nearly 95%. The Dataset to process the Deep Learning Algorithm is taken from the official US National Library of Medicine's NIH Website which is a repository of segmented cells from the thin blood smear slide images from the Malaria Screener research activity.

🎯 Purpose of the Project

Where malaria is not endemic any more (such as in the United States), health-care providers may not be familiar with the disease. Clinicians seeing a malaria patient may forget to consider malaria among the potential diagnoses and not order the needed diagnostic tests. Laboratorians may lack experience with malaria and fail to detect parasites when examining blood smears under the microscope. Malaria is an acute febrile illness.

In a non-immune individual, symptoms usually appear 10–15 days after the infective mosquito bite. The first symptoms – fever, headache, and chills – may be mild and difficult to recognize as malaria. If not treated within 24 hours, P. falciparum malaria can progress to severe illness, often leading to death.

Our Model performs fairly well with an accuracy of 95% and an F1 Score of 95% and Recall Score of 92%. This provides a handy tool to utilize the power of Machine Learning and Artificial Intelligence in Binary Classification Problems where time and accuracy is the paramount objective of classification.

🏁 Technology Stack

πŸƒβ€β™‚οΈ Local Installation

  1. Drop a ⭐ on the Github Repository.
  2. Clone the Repo by going to your local Git Client and pushing in the command:
https://github.com/HarshCasper/Malaria-Detection.git
  1. Install the Packages:
pip install -r requirements.txt
  1. At last, push in the command:
python app.py
  1. Go to http://127.0.0.1:5000/ and enjoy the application.

πŸ“‹ Further Changes to be Done

  • Deploying the Web Application on Cloud.
  • Development of an architecture using Pre-Trained Model like VGG16.
  • Implementing the Model in PyTorch.
  • Enhance the User-Interface using HTML/CSS.
  • Set the Application on Docker.

πŸ“œ LICENSE

MIT

malaria-detection's People

Contributors

bijay555 avatar harshcasper avatar manan145 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

malaria-detection's Issues

UI Improvements

Screenshot (496)

In the attached image, I have tried to update the UI of the default index.html page.

Some of the changes that I have made;

    1. Shifted the inline CSS to a new CSS document
    1. Removed the borders from all the divs
    1. Changed the colour of "display-2" to "bootstrap-danger"
    1. Added "btn-success" class to the "Submit" button.
    1. Added alt text for the "disease.png"

I have not pushed any code or something, all these changes are local and on my own PC.

Please let me know how to proceed further on this now :)

Script to read the Images

Type

New Feature/Advancement

Description

Create a Script that can read the Images and their label and save the Data for future purpose. Keep this Script specifically in a /script directory. You must also add a function that loads the Dataset. Make sure to download the dataset from Kaggle.

Tools

  • Python

Error while installing

Hello, I am trying to set up this project on my PC. I have cloned it and also installed Python, Pip, NumPy but when I do "pip install -r requirements.txt". I get an error message;

$ pip install tensorflow==1.13.1
ERROR: Could not find a version that satisfies the requirement tensorflow==1.13.1 (from versions: 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.0rc4, 2.2.0, 2.3.0rc0, 2.3.0rc1, 2.3.0rc2, 2.3.0)
ERROR: No matching distribution found for tensorflow==1.13.1

Can you please tell me how to proceed?

My installed versions of ;
Python 3.8.3
NumPy 1.18.5
pip 20.2.1

I even tried downloading TensorFlow 2.3.0 but then still I had the error and I could not downgrade it to TF 1.13.1 so eventually, I uninstalled it completely. So how should I proceed?

Specify python version to be < 3.8

Since the tensorflow 1 doesn't have support with python 3.8, so I am raising this issue so that in documentation it can be specified to use the python < 3.8, so that people don't face issue regarding installation of libraries.

Add a Beginner-Friendly Documentation for the Malarial Cell Dataset

Type

Advancement

Description

Add a Beginner-Friendly Documentation for the Malarial Cell Dataset. It should include the basic EDA and show various aspects of the Dataset as a whole. Remember that you have to submit this as a Jupyter Notebook and it should be a basic walk-around the whole Dataset with proper documentation in the form of Jupyter Markdown. You don't have to carry out any Train-Test Splits or draw up any Model

Tools

  • Python
  • Jupyter Notebook

Motivation

I want the Beginners to get acquainted with the basic features of the Dataset we are working on.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.