An open API service indexing awesome lists of open source software.

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.

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.

![Home Page](output_images/public_home.png)

---

## ๐Ÿงพ License

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