This project uses deep learning algorithms and Keras library to determine if a person has pneumonia or not from their chest x-rays. The trained model is displayed using Streamlit, which enables the user to upload an image and receive instant feedback.
The following libraries are required for running this project:
- TensorFlow
- Keras
- Pillow
- Streamlit
If you have the requirements already installed, you can skip this section. If not, follow the steps below to install them:
-
Install TensorFlow:
pip install tensorflow
-
Install Keras:
pip install keras
-
Install Pillow:
pip install pillow
-
Install Streamlit:
pip install streamlit
-
Clone the repository:
git clone https://github.com/SiddharthRajpal/Pneumonia-Recognition-With-Python.git cd Pneumonia-Recognition-With-Python
-
Run the Streamlit app:
python3 -m streamlit run main.py
or
python -m streamlit run main.py
or
py -m streamlit run main.py
-
Upload a chest x-ray image to see if a person has pneumonia or not.