CasualHealthcare's Pneumonia detection with Artificial Intelligence (Convolutional Neural Network)
This is PneumoniaDiagnose, an artificially intelligent Neural Network that can detect pneumonia by the means of chest x-rays.
WARNING THIS IS NOT FINISHED, CURRENT ACCURACY IS ≈ 76%
Setup
-
Make sure you have
python3
andpip
installed. -
Clone this repository OR download the latest stable release on the right.
-
Unzip the folder if it isn't already unzipped.
-
In the terminal, cd to the folder and keep the terminal open.
-
Execute the following command. This command installs all of the needed packages using
pip
pip install -r requirements.txt
-
Execute the following command to train the neural network.
NOTE: If you have multiple versions of Python, you must replace the word
python
withpython3
`python pneumonia.py trainpneumonia.py train test pneumoniamodel.h5`
Be sure to say
yes
when asked to save the trained model. Now you can start using the Neural Network!
Usage
Execute the following command, and make sure you replace the word IMAGE with your image name in your filesystem.
**NOTE:** If you have multiple versions of Python, you must replace the word `python` with `python3`
`python pneumonia.py pneumoniamodel.h5 IMAGE`
If you liked this repository, be sure to star
it!
Thank you!
-azh