Skip to content

mhaidar10/pneumonia-cnn-basic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pneumonia Detection Using CNN Algorithm

University Exam Project

Repository was created regarding the implementation of the CNN algorithm created using Streamlit Streamlit logo

Description

A project was created that was able to automatically detect pneumonia based on x-ray images

Dataset Source

Kaggle Dataset Chest X-Ray Images (Pneumonia) (Link Download)

Directory Structure

machine_learning
├── model
│   └── pneunomia_model.h5
├── np2.ipynb
├── readme.md
└── streamlit
    ├── main.py
    └── requirements.txt
  • /model: consists of a pneumonia model, which is used to store the trained machine learning model. The file contains the extension ".h5".
  • /streamlit: Consists of the main.py file which is the main code in creating a website that can automatically detect pneumonia.
  • np2.ipynb: file is the way to do the CNN algorithm creation process

Installation

  1. Clone the repository to your local computer using the following command:

    git clone https://github.com/mhaidar10/pneumonia-cnn-basic.git
  2. Install the Library with the following command:

    pip install streamlit tensorflow pillow requests
    
  3. [OPTIONAL] Nodemon installation to perform Hot Reload

     npm install -g nodemon

Usage

  1. Perform Access and Compilation (Local):

    streamlit run streamlit/main.py

    OR *nodemon installation require

    nodemon --exec streamlit run streamlit/main.py
  2. Access in the Cloud (online):

    Pnemonia Detection