-
train_covid19.py is done by Adrian Rosebrock.
-
X-ray images datasets from Dr. Joseph Cohen GitHub.
-
Put all the code files and the dataset file in the same directory.
-
First, you need to train the model by executing the train_covid19.py script with
python train_covid19.py --dataset dataset
(after you already downloaded tensorflow and keras on your computer). -
After you execute it successfully (it will take some time) a new covid19.model file should appear in the directory file.
-
Flash the Particle_code file to your particle device.
-
Open the GUI_code.py file and Replace your-device-ID-goes-here with your actual device ID and replace your-access-token-goes-here with your actual access token, in line 52 and 57.
-
Transfer the GUI_code.py and the covid19.model file to your Raspberry Pi device.
-
Connect to your Raspberry Pi remotely and then execute the GUI_code.py.
If you are having problems downloading tensorflow and keras on your Raspberry Pi device, try follow my guide here.