. | . |
---|---|
![]() |
![]() |
In this project, I have a Python Django Web App which can detect COVID-19 from CT Scan Images.
π₯ Live Demo
. | Covid | Non-Covid |
---|---|---|
Dataset | 1252 images | 1230 images |
samples | ![]() |
![]() |
Train Set (80%) | Validation Set (20%) |
---|---|
1985 images | 496 images |
this is the architecture of DenseNet121
Confusion Matrix | Accuracy Curve | Loss Curve |
---|---|---|
![]() |
![]() |
![]() |
Metric | Formula | Proposed Model |
---|---|---|
Accuracy | 94.36% | |
Sensitivity | 93.49% | |
Specificity | 95.23% |
First of all clone the project :
git clone https://github.com/BitterOcean/Covid19-Detector-Backend.git
then, create a virtual enviroment and install python required packages :
- Linux Users
cd Covid19-Detector-Backend
python3 -m venv .env
source .env/bin/activate
pip install -r requirements.txt
- Windows Users
open a windows terminal and follow the instructions below:
cd Covid19-Detector-Backend
python3 -m venv .env
.env\Scripts\Activate.ps1
pip install -r requirements_win.txt
finally, go to the project directory and run the bachend django server :
python manage.py runserver
Now the server will run on http://127.0.0.1:8000/
For Debian and Ubuntu based Linux distributions :
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash - \ &&
sudo apt-get install -y nodejs
for other platforms, take a look at Nodejs Official Website.
then, install npm :
For Debian and Ubuntu based Linux distributions :
sudo apt install npm
sudo npm -g install create-react-app
for other platforms, use Google to find the instructions. π.
First of all clone the project :
git clone https://github.com/BitterOcean/Covid19-Detector.git
then, go to the project directory and install required node modules :
npm i
if you got any errors try using --force
flag.
npm i --force
after that, to use it locally, you have to change only one line in src/constants/routes.jsx
, so :
cd Covid19-Detector/src/constants
and then change the first line, like below :
- export const API_ROOT = 'https://covid-19-detector-model.herokuapp.com';
+ export const API_ROOT = 'http://127.0.0.1:8000';
and finally :
npm start
Now the frontend will run on http://127.0.0.1:3000/Covid19-Detector.
Eventually, here is the point that everything is ready and you can start using the the "Covid19-Detector". π.
Reach out to me at one of the following places!
- Telegram at @BitterOcean
- Gmail at [email protected]