Giter Site home page Giter Site logo

alexdelitzas / x-covid-ai-assistant Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 2.0 2.98 MB

A Web Application to detect signs of COVID-19 presence from Chest X-Rays using Deep Learning

Home Page: https://devpost.com/software/x-covid

License: GNU Affero General Public License v3.0

Dockerfile 3.63% Python 9.18% HTML 7.28% CSS 24.23% JavaScript 55.68%
coronavirus coronavirus-detect chest-radiography covid-19 sars-cov-2 web-application react html css flask chest-xrays python tensorflow open-source-covid covid-net docker coronavirus-fight

x-covid-ai-assistant's Introduction

X-COVID AI Assistant

A Web Application to detect signs of COVID-19 presence from Chest X-Rays using Deep Learning

Motivation

With shortages and delays in PCR tests, chest x-rays have become one of the fastest and most affordable ways for doctors to triage patients. In many hospitals, patients often have to wait six hours or more for a specialist to look at their x-rays. If an emergency room doctor could get an initial reading from an AI-based tool, it could dramatically shrink that wait time. Before the pandemic, health-care AI was already a booming area of research. Deep learning, in particular, has demonstrated impressive results for analyzing medical images to identify diseases like breast and lung cancer or glaucoma at least as accurately as human specialists.

Acknowledgements

We would like to thank deeply the team behind COVID-Net Open Source Initiative. Our project is an attempt to incorporate COVID-Net into the heart of a web-based application that could be used by health care providers as a supportive tool on the examination process and patient triage.

Demo

A live demo of the web application is currently running here: http://xcovid-ai-assistant.cf

How to use

Step 1: Open the application via a web browser

Step 2: Upload the Chest X-Ray that you want to check. For testing purposes, you can use a sample image that we provide.

Step 3: Click the "Check" button and wait for the evaluation process to complete (usually this takes less than 10 seconds)

Step 4: The model's prediction is ready!

Prerequisites

  • Docker
  • Docker-compose

Deployment

Step 1 - Download COVID-NET pretrained model

  • Download all the files from this link

  • Add all these files in the folder backend/src/cnn_model/

    Your folder structure must look like this:

    ./backend/src/cnn_model/
    │  ├── savedModel/
    │  │   ├── saved_model.pb             
    │  │   └── variables/
    │  │   │   ├── variables.data-00000-of-00001  
    │  │   │   └── variables.index
    │  ├── model.meta       
    │  ├── model-8485.index   
    │  ├── checkpoint
    │  └── model-8485.data-00000-of-00001         

Step 2 - Environment variables (optional)

Add a .env file in the root folder of the project and set the following variables:

Environment variable Description
BASEURL Base URL that is used for the requests

Step 3 - Run

Start:

docker-compose -f docker-compose.yml up --build

Stop:

Ctrl-C

For detached mode:

Start:

docker-compose -f docker-compose.yml up -d --build

Stop:

docker-compose down

x-covid-ai-assistant's People

Contributors

alexdelitzas avatar billmats96 avatar dependabot[bot] avatar

Stargazers

 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.