Downloads · 30 days
0
ishans24/covid19-detection-xray
covid19-detection-xray is a image classification model from ishans24. Use it when you need a label for an image. The card lists the license as apache-2.0.
This model is able detect COVID-19 from X-ray images using the VGG19 architecture for transfer learning. The dataset used for this project is the COVID-19 Radiography Database available on Kaggle.
Downloads · 30 days
0
Access
Public
Updated Jul 11, 2024
Repo size
395 MB
Likes
0
Public
Click a slice to open those files.
.h5395 MB · 99%
From the Hugging Face model README
This model is able detect COVID-19 from X-ray images using the VGG19 architecture for transfer learning. The dataset used for this project is the COVID-19 Radiography Database available on Kaggle.
The dataset used in this project is the COVID-19 Radiography Database. It contains X-ray images categorized into three classes: COVID, Normal, and other pneumonia. The dataset is split into training, validation, and test sets to ensure robust evaluation of the model.
We start by importing the necessary libraries required for data processing, model building, and evaluation. These include TensorFlow for deep learning, matplotlib for visualization, and other essential packages.
The dataset is loaded from the specified directory. This dataset contains X-ray images categorized into COVID, Normal, and other pneumonia classes. The images are stored in respective folders, which are read and preprocessed.
The dataset is split into training, validation, and test sets. This is crucial for evaluating the model's performance on unseen data.
The model is evaluated on the test set to determine its accuracy, precision, recall, and F1 score. This helps in understanding the model's performance comprehensively.
The findings and the performance of the model are summarized. Potential improvements or future work such as experimenting with different architectures, more data, or advanced preprocessing techniques are discussed.
The model achieves an accuracy of 98.1% on the test set, indicating its effectiveness in detecting COVID-19 from X-ray images. The high accuracy demonstrates the successful application of data preprocessing, augmentation, and model training techniques.