Coder Social home page Coder Social logo

abinaya9121 / covid-19-diagnosis-app Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 2.0 2.68 MB

Covid-19 Diagnosis using Chest X-ray Images. Machine Learning Project which creates an image classifier using Keras by implementing a Convolution Neural Network(CNN) to differentiate between Chest X-rays images with a COVID-19 infectious person versus Normal Healthy people. The dataset contains the lungs X-ray images of both groups(COVID-19 and Healthy patients).

CSS 0.27% Jupyter Notebook 99.36% Python 0.17% HTML 0.20%

covid-19-diagnosis-app's Introduction

Covid-19-Diagnosis-App

Dataset and model - https://drive.google.com/drive/folders/1tjESwgrVvVfyw3SVYM-f9iAJTj_pLRBq?usp=sharing

Covid-19 Diagnosis using Chest X-ray Images. Machine Learning Project which creates an image classifier using Keras by implementing a Convolution Neural Network(CNN) to differentiate between Chest X-rays images with a COVID-19 infectious person versus Normal Healthy people. The dataset contains the lungs X-ray images of both groups(COVID-19 and Healthy patients).

  • Imported necessary libraries and Data Exploration
  • Data visualization, displayed 10 Chest X-ray images of Covid-19 and Normal Healthy People using Matplotlib.
  • Data Pre-processing and Augmentation, technique which is used to artificially expand the size of a training dataset by creating modified versions of images in the dataset.
  • Training deep learning neural network models on more data can result in more skillful models, and the augmentation techniques can create variations of the images that can improve the ability of the fit models to generalize what they have learned to new images.
  • ImageDataGenerator, a Keras Deep Learning library can be used for an image dataset which is located on disk in a specified directory, where images in that directory are organized into subdirectories according to their class.It can also be used to specify the validation dataset and the test dataset.
  • Building the model, Sequential model is used to build the model layer by layer and many layers can be added to the model using add function
  • Conv2D layer creates a convolution kernel that winds with layers input which helps produce a tensor of outputs.
  • Max Pooling to reduce the spatial dimensions of the output volume.
  • Dropout is used to dropout some percentage of features or the probability at which outputs of the layer are retained. and implemented per layer in neural network
  • Dense layer receives output from every neuron of its preceding layer i.e, neurons of the layer are connected to every neuron of its preceding layer.
  • Compiled the model using Adam optimization algorithm, accuracy as evaluation metrics and binary cross entropy as loss measure.
  • Trained the model using training data and validation data and calculated accuracy and loss at each epoch
  • Plotted graphs using Matplotlib to visualize the loss between training and validation data, accuracy between training and validation data
  • Evaluated the model using test dataset and displayed the accuracy and cross entropy loss
  • Performed prediction on new data and stored the model into model.h5 file
  • Python web framework Flask is used to display the Covid-19 Diagnosis as an application.

    Output:

    The user should enter the patient details and upload the chest X-ray image

    op-page1

    Covid-19 Prediction report is displayed along with patient details

    op-page2

  • covid-19-diagnosis-app's People

    Contributors

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