Git Product home page Git Product logo

bitterocean / covid19-detector Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 2.0 5.63 MB

"Covid19-Detector" is a Django-ReactJS Web App with an Artificial Intelligence. It can detect COVID-19 from CT Scan Images using CNN based on DenseNet121 architecture.

HTML 7.35% JavaScript 92.29% CSS 0.36%
convolutional-neural-network covid-19 covid-19-detection covid19 ct-scan deep-learning densenet121 django django-rest-framework heroku

covid19-detector's Introduction

😷 Covid19 Detector

Awesome Builed Static Badge Static Badge License

. .
Covid19DetectorLandingPage Covid19DetectorResultShow

In this project, I have a Python Django Web App which can detect COVID-19 from CT Scan Images.

πŸŽ₯ Live Demo


Table of contents

πŸ“¦ Dataset

. Covid Non-Covid
Dataset 1252 images 1230 images
samples output_13_0 output_15_0
Train Set (80%) Validation Set (20%)
1985 images 496 images

πŸ¦ΎπŸ€– Deep Learning Model

this is the architecture of DenseNet121

densenet121

🧐 Model Evaluation

Confusion Matrix Accuracy Curve Loss Curve
output_38_1 output_41_0 output_41_1
Metric Formula Proposed Model
Accuracy $$\frac{TP~+~TN}{TP~+~TN~+~FP~+~FN}$$ 94.36%
Sensitivity $$\frac{TP}{TP~+~FN}$$ 93.49%
Specificity $$\frac{TN}{TN~+~FP}$$ 95.23%

πŸ‘©β€πŸ’» Web App Backend

Pinned Repository

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/

πŸ‘©β€πŸ’» Web App Frontend

Pinned Repository

step 0 : having Node js 16.x and npm installed

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. πŸ™‚.

Main Steps:

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". πŸ™‚.

πŸ“§ SUPPOERT

Reach out to me at one of the following places!

©️ LICENSE

License

covid19-detector's People

Contributors

bitterocean avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.