GithubHelp home page GithubHelp logo

covid19-detection's Introduction

COVID-19 Detection with Radiography Images

This is a project assignment for course WID3008 Image Processing. The objective of the project is as follow:

  1. To classify whether a given chest x-ray image is infected by COVID-19 or is a normal chest x-ray image
  2. To evaluate the accuracy of COVID-19 classification for chest x-ray images

More detailed information at the Jupyter Notebooks

Requirements

pip install -r requirements.txt or conda env create -f conda_env.yml

Datasets

Datasets are obtained from Kaggle

Below are a few training examples:

COVID-19

!covid-19 images

NORMAL

!normal images

Data Preprocessing

The preprocessing steps are defined as follow: preprocessing diagram

Below is a few images comparison showing the output of CLAHE:

clahe covid-19 clahe normal

Model Definition

We use the InceptionV3 base model and add our own classifier dense layer to it to predict our binary image class. Training steps are as follow:

  1. Freeze base InceptionV3 model and train network head with Adam optimizer
  2. Unfreeze a few inception block and train using SGD with low learning rate

Results

Epoch Plots

epoch plots

Confusion Matrix

confusion matrix

ROC Curve

roc curve

Guided GradCAM

example 1 example 2 example 3 example 4

References

  1. https://www.kaggle.com/tawsifurrahman/covid19-radiography-database
  2. https://keras.io/api/applications/
  3. https://github.com/ismailuddin/gradcam-tensorflow-2

covid19-detection's People

Contributors

zhiqin1998 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.