Glaucoma Detection in Retinal Fundus Images
The Project
Glaucoma is the second-largest cause of blindness worldwide and needs early diagnosis. This project segments the optic cup and optic disc from retinal fundus images using a U-Net model, then derives a Cup-to-Disc Ratio (CDR) to flag likelihood of glaucoma — a system that works without excessive equipment or specialist time.
Objectives
Tools & Technologies
Charts & Graphs






The Approach
Preprocess: convert images to a uniform (256×256×1) grayscale format; build image, optic-cup and optic-disc lists by thresholding masks.
Build a U-Net from conv/encoder/decoder blocks (conv layers + BatchNorm + ReLU, max-pool down, transpose-conv up with skip connections).
Train on the dataset (batch size 2, 25–30 epochs).
Predict masks, compute CDR; CDR > 0.4 → high likelihood of glaucoma.
Results & Learnings
Key Learnings
- Consistent preprocessing (fixed input shape) is critical for U-Net.
- Skip connections preserve spatial detail for fine segmentation.
