This project implements a deep learning model to detect Pneumonia from chest X-ray images. It uses Convolutional Neural Networks (CNNs) for image classification and is trained on the Kaggle Chest X-Ray Pneumonia dataset.
- Goal: Classify X-ray images as Normal or Pneumonia.
- Dataset: 5,863 chest X-ray images (train, test, val) from Kaggle.
- Model: CNN built using TensorFlow/Keras.
- Metrics: Accuracy, Precision, Recall, F1-score.
- Preprocessing and data augmentation using
ImageDataGenerator. - CNN architecture optimized for binary classification.
- Evaluation on unseen X-ray images.
- Trained model can be reused for inference or deployment.
The dataset can be downloaded from Kaggle:
π Chest X-Ray Pneumonia Dataset
πββοΈ How to Run
Clone the repo:
git clone https://github.com/your-username/Pneumonia-Detection-Model.git cd Pneumonia-Detection-Model
Open the notebook:
jupyter notebook Pneumonia_Detection_Model.ipynb
or run it in Google Colab.