Code Monkey home page Code Monkey logo

covid19-detection-using-chest-x-ray's Introduction

Covid19-Detection-Using-Chest-X-Ray

Using Convolutional Neural Network, I have implemented a classifier which detects whether the person is infected by Covid-19 or not.

Dataset

  1. Positive Cases : https://github.com/ieee8023/covid-chestxray-dataset
  2. Normal Cases : https://www.kaggle.com/paultimothymooney/chest-xray-pneumonia

Kaggle Notebook Link (Support Please ๐Ÿ‘๐Ÿ‘๐Ÿ‘)

Link : https://www.kaggle.com/fusicfenta/covid-19-detection-using-chest-x-ray (If you liked this notebook then don't forget to give upvote on kaggle.)

Network Architecture

Model: "sequential_1"

Layer (type)                 Output Shape              Param #   
=================================================================
conv2d_1 (Conv2D)            (None, 222, 222, 32)      896      
conv2d_2 (Conv2D)            (None, 220, 220, 64)      18496     
max_pooling2d_1 (MaxPooling2 (None, 110, 110, 64)      0         
dropout_1 (Dropout)          (None, 110, 110, 64)      0         
conv2d_3 (Conv2D)            (None, 108, 108, 64)      36928     
max_pooling2d_2 (MaxPooling2 (None, 54, 54, 64)        0         
dropout_2 (Dropout)          (None, 54, 54, 64)        0         
conv2d_4 (Conv2D)            (None, 52, 52, 128)       73856     
max_pooling2d_3 (MaxPooling2 (None, 26, 26, 128)       0         
dropout_3 (Dropout)          (None, 26, 26, 128)       0         
conv2d_5 (Conv2D)            (None, 24, 24, 128)       147584    
max_pooling2d_4 (MaxPooling2 (None, 12, 12, 128)       0         
dropout_4 (Dropout)          (None, 12, 12, 128)       0       
flatten_1 (Flatten)          (None, 18432)             0         
dense_1 (Dense)              (None, 64)                1179712   
dropout_5 (Dropout)          (None, 64)                0         
dense_2 (Dense)              (None, 1)                 65        
=================================================================
Total params: 1,457,537
Trainable params: 1,457,537
Non-trainable params: 0

Accuracy

Confusion Matrix (0 for Positive and 1 for Negative cases)

Prediction of Covid-19 Positive Case

Prediction of Covid-19 Negative Case

Run

Steps to Execute the Project

1) Open CMD in directory where "app.py" is stored (Basically, Open CMD to this folder)

2) enter : python app.py

3) Open Specified URL which is given to you in CMD in running process

4) Upload Any Chest XRay Image and click "Predict"

5) To stop serving, press CTRL+C

covid19-detection-using-chest-x-ray's People

Contributors

11fenil11 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.