Giter Club home page Giter Club logo

covid-19-chest-x-ray-detection's Introduction

Covid-19-chest-x-ray-detection

COVID-19

This is the data repository for the 2019 Novel Coronavirus Visual Dashboard operated by the Johns Hopkins University Center for Systems Science and Engineering (JHU CSSE). Also, Supported by ESRI Living Atlas Team and the Johns Hopkins University Applied Physics Lab (JHU APL).

Clinical

COVID-19 usually presents with fever (85%), cough (70%) and shortness of breath (43%), but abdominal and other symptoms are possible and the disease can be asymptomatic. Overal mortality rate is 2.3% in some series of patients who had a positive test for COVID-19. Since we do not know the number of people who were infected but not tested for the virus, the actual mortality rate of all the people that are infected is probably much lower.

The main aim is to predict is whether the x-ray of the patient is COVID-19 positive or COVID-19 negative using deep learning.

To predict the X-ray images we have used the Transfer Learning technique

  • The deep learning architecture used in this project is ResNet50

Why are we using ResNet?

  • The ResNet has an extremely deep network i.e of 152 layers.
  • The shallower version (i.e ResNet50) is available.
  • This specialized network architecture was introduced by Microsoft.

Why does ResNet Perform well ?

  • Having a regular network which is very deep actually hurts the performance because of vanishing gradient and exploding gradient
  • In most of the cases the ResNet's will stop improving rather than decreasing the performance.
  • If the layer is not useful L2 regularization will bring its parameters very close to zero.
  • The ResNet allows us to converge more faster
  • The ResNet's have moderate efficiency depending upon the model and has highest accuracy.

Residual Block

residual block

  1. In this (x) goes through conv-relu-conv series and gives us F(x).
  2. The result is then added to the original input (x) (i.e. F(x) + x).
  3. We now here call it as H(x) = F(x) + x

Full ResNet architecture

architecture

  1. It has stacked residual block.
  2. Every residual blockc has 3x3 convolution layer.
  3. Double layered & the downsample is done spatially using stride of 2 in each dimension.
  4. It has an additional convolution layer at the beginning
  5. No fully connected layer at the end (only FC 1000 to output class).

Dataset

  • The dataset contains the X-ray images of the normal patients and the patients having COVID-19

  • The dataset has two classes COVID and NON-COVID.

  • You can download the dataset from here

  • Normal X-ray normal

  • COVID-19 X-ray covid

Building the model

Determining which model to go forward with is not an easy decision, and it requires a lot of trial and error. Every model is unique and requires a balance between complexity and efficiency. According to the No Free Lunch Theorem, no one model works best for all possible situations, so it is best to test as many as you can.

Evaluating the model

Depending on the type of problem you have set out to solve, there are specific evaluation metrics to use that can give insight into how well your model is doing and what hyperparameters might need to be tuned. Evaluating a model is a holistic approach that’s not solely based on having high accuracy. accuracy

loss

Conclusion

Developing and Implementing a Deep Learning for a healthcare setting is not a quick process, but I hope this project gives you a foundation for knowing the obstacles you might come across. Keep in mind, even if you build your model and it works well, you still need to deploy it. Although deploying a Deep Learning system is very simple in practice, healthcare regulations and controls require you to take certain measures to ensure standardization and quality assurance.

Objective

The main aim of creating this project was to save the time of the doctors to identify whether the patient is have COVID-19 or not who are working on the frontline and are fighting against the pandemic.

covid-19-chest-x-ray-detection's People

Contributors

akhiilkasare avatar

Stargazers

Srinivas Ada avatar  avatar Kalpesh Varma avatar

Watchers

James Cloos avatar  avatar

Forkers

sanketbhai

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.