Coder Social home page Coder Social logo

camilababo / covid19-x-ray-detection-cnn-model Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 71.9 MB

Explores the use of a simple CNN model for the detection of COVID-19 in X-ray images. Leveraging a dataset from Kaggle, the pipeline includes preprocessing, model architecture design, performance evaluation, and testing on new cases.

Jupyter Notebook 100.00%
cnn-image-classification covid-19 x-ray-images

covid19-x-ray-detection-cnn-model's Introduction

COVID-19 X-ray Detection CNN Model

Overview

This project explores the use of TensorFlow to develop a Convolutional Neural Network (CNN) model to detect COVID-19 infection in X-ray images. The model is trained to classify X-ray images into two categories: normal and infected with COVID-19.

Dataset

The dataset used in this project is available on Kaggle and can be accessed here. It includes X-ray images of patients with COVID-19 as well as normal cases. An additional validation dataset was created by taking batches from the training dataset.

File Structure

.
├── README.md
├── requirements.txt
├── cnn-classifier-pipeline.ipynb
├── data
│ ├── test
│ │ ├── covid_test_boston.jpeg
│ │ ├── princeton_covid.jpg
│ │ └── radiopedia_normal.jpg
├── models
│ └── covid19_xray_detection_model.h5
├── logs
│ ├── train
│ │ ├── events.out.tfevents.1708282339.0.v2
│ ├── validation
│ │ ├── events.out.tfevents.1708282366.1.v2
└── .gitignore

Requirements

  • Python 3.x
  • Numpy
  • Matplotlib
  • OpenCV
  • TensorFlow
  • Keras

Usage

To use this project, you can follow the following steps:

  1. Clone the repository to your local machine:

    git clone https://github.com/camilababo/Covid19-X-Ray-Detection-CNN-Model
  2. Navigate to the project directory:

    cd Covid19-X-Ray-Detection-CNN-Model
  3. Install the required dependencies using pip and the provided requirements.txt file:

    pip install -r requirements.txt
  4. Open the provided Jupyter Notebook, cnn-classifier-pipeline.ipynb, using Jupyter and run the pipeline.

  5. The trained model file is also available in models/covid19_xray_detection_model.h5.

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.