https://github.com/nishithat-28/glaucoma-detection-using-deep-learning
Glaucoma Detection using Deep Learning | A ResNet50-based deep learning model for automated glaucoma diagnosis from fundus images.
https://github.com/nishithat-28/glaucoma-detection-using-deep-learning
computer-vision deep-learning glaucoma-detection medical-imaging optic-cup resnet50 streamlit tensorflow
Last synced: about 2 months ago
JSON representation
Glaucoma Detection using Deep Learning | A ResNet50-based deep learning model for automated glaucoma diagnosis from fundus images.
- Host: GitHub
- URL: https://github.com/nishithat-28/glaucoma-detection-using-deep-learning
- Owner: nishithat-28
- Created: 2025-02-14T16:08:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-15T17:54:06.000Z (over 1 year ago)
- Last Synced: 2025-02-15T18:34:59.457Z (over 1 year ago)
- Topics: computer-vision, deep-learning, glaucoma-detection, medical-imaging, optic-cup, resnet50, streamlit, tensorflow
- Language: Jupyter Notebook
- Homepage:
- Size: 1.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# **๐ฉบ Glaucoma Detection using Deep Learning**
๐ฌ **Early diagnosis of glaucoma is crucial to prevent vision loss!** This project leverages **Deep Learning (ResNet50)** for automated glaucoma detection using fundus images.
Glaucoma is a **chronic eye disease** that damages the **optic nerve**, leading to irreversible blindness if untreated. Our project uses a **Convolutional Neural Network (CNN)** based on **ResNet50** to classify images into:
- โ
**Normal**
- โ ๏ธ **Glaucoma-Affected**
## **๐ ๏ธ Tech Stack**
- **Programming Language:** Python
- **Deep Learning Framework:** TensorFlow & Keras
- **Model Architecture:** ResNet50
- **Preprocessing:** OpenCV (CLAHE, Image Augmentation)
- **Deployment:** Streamlit
## **๐ Dataset**
### ๐ **Source**
This dataset contains **fundus images** from **3 combined sources** (ACRIMA, DRISHTI-GS, ORIGA).
- Kaggle: [Glaucoma Classification Datasets](https://www.kaggle.com/datasets/ayush02102001/glaucoma-classification-datasets)
It includes:
- **"Normal"** ๐ข (Healthy eyes)
- **"Glaucoma"** ๐ด (Affected eyes)
๐ **Preprocessing Techniques:**
- **CLAHE** - Enhances contrast
- **Image Augmentation** - Random rotations, flips, and zooms to improve generalization
- **Resizing** - Standardizing images to **256x256**
## **๐ข Training Results**
- **Final Training Accuracy:** **98.86%**
- **Final Validation Accuracy:** **88.89%**
- **Test Accuracy:** **77.64%**
## **๐ How to Run the Project**
### **๐ง Install Dependencies**
```sh
pip install -r requirements.txt
```
### **๐ Run the Streamlit App**
```sh
python -m streamlit run app.py
```
## **๐๏ธ Streamlit UI**
We developed an **interactive UI** using **Streamlit**, allowing users to:
- ๐ **Upload a fundus image**
- ๐ผ๏ธ **Preview the image**
- ๐ง **Get instant glaucoma detection results with confidence score**
## **๐ฅ๏ธ UI Preview**
The landing screen of the Glaucoma Detection web app. It provides a brief introduction and guides the user to upload a retinal image.

---
## ๐งพ License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.