| . | . |
|---|---|
![]() |
![]() |
In this project, I have a Python Django Web App which can detect COVID-19 from CT Scan Images.
| . | 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.gitthen, 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.txtfinally, go to the project directory and run the bachend django server :
python manage.py runserverNow 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 nodejsfor 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-appfor other platforms, use Google to find the instructions. 🙂.
First of all clone the project :
git clone https://github.com/BitterOcean/Covid19-Detector.gitthen, go to the project directory and install required node modules :
npm iif you got any errors try using --force flag.
npm i --forceafter that, to use it locally, you have to change only one line in src/constants/routes.jsx, so :
cd Covid19-Detector/src/constantsand 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 startNow 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 maryamsaeedmehr@gmail.com







