A Deep Learning Algorithm to predict if the chest x-ray scans are of covid19 positive person or not.
- Clone the repo and cd into the directory
$ git clone https://github.com/raj713335/Samhar_COVID19.git
$ cd Samhar_COVID19
Download the training and testing dataset images from the following url and place it into the CORONA_HACKBOOK FOLDER
$ https://drive.google.com/u/0/uc?export=download&confirm=7AMh&id=1XjSuZZsFGwH7SpnIPYbw_bRgkP4-ntxw
$ pip install tensorflow, keras
import tensorflow as tf
import keras_preprocessing
from keras_preprocessing import image
from keras_preprocessing.image import ImageDataGenerator
$ python coronavirus.py
Download The Trained Model From the Following link in case you don't have the computational power to train your model.
$ url : https://drive.google.com/u/0/uc?id=1112evrjqWlEPw1hkPA44LoVfm_USuys8&export=download
To load and run the model and test it against unknown data\images place you test images in the OUTPUT Folder with 1.jpg/1.jpeg name with it.
$ python coronovirus_validate.py