Spaces:
Sleeping
Sleeping
title: Malaria Classification | |
emoji: 𧬠| |
colorFrom: green | |
colorTo: red | |
sdk: streamlit | |
sdk_version: "1.45.1" | |
app_file: app/app.py | |
pinned: false | |
# 𧬠Malaria Cell Classifier with Grad-CAM & Streamlit UI | |
A deep learning-based malaria detection system using ResNet50 and Grad-CAM explainability. | |
## π Features | |
- β Binary classification of blood smear images (`Infected` / `Uninfected`) | |
- π Grad-CAM visualizations to highlight infected regions | |
- π Interactive Streamlit web interface | |
- π¦ Easy-to-deploy structure | |
## π οΈ Built With | |
- [PyTorch](https://pytorch.org/) | |
- [Streamlit](https://streamlit.io/) | |
- [Grad-CAM](https://arxiv.org/abs/1610.02391) | |
- [ResNet50](https://pytorch.org/vision/stable/models.html) | |
## π¦ Dataset | |
Uses the [Malaria Cell Images Dataset](https://www.kaggle.com/iarunava/cell-images-for-detecting-malaria) | |
## π Folder Structure | |
Place raw images in: | |
data/cell_images/ | |
βββ Parasitized/ | |
βββ Uninfected/ | |
## Here's a quick preview of the app in action: | |
 | |
## π§ͺ Usage | |
## π οΈ Requirements | |
Install dependencies: | |
```bash | |
pip install torch torchvision streamlit opencv-python matplotlib scikit-learn | |
``` | |