Netra AI — Diabetic Retinopathy Detection with Explainable AI
Deep learning pipeline with CNN, ResNet, EfficientNet, and Grad-CAM visual attribution.
The Challenge
Diabetic retinopathy is a leading cause of preventable blindness worldwide. In rural and semi-urban clinics across South India, ophthalmologists are severely scarce, leading to delayed diagnoses where retinal hemorrhages go unnoticed until irreversible vision loss occurs. Traditional screening tools require expensive specialized staff.
The Solution
Engineered an end-to-end deep learning diagnostic pipeline that processes retinal fundus images, classifies retinopathy into 5 clinical stages (No DR, Mild, Moderate, Severe, Proliferative), and generates pixel-level Grad-CAM heatmaps. This allows healthcare workers to verify exactly which retinal regions (microaneurysms, hard exudates) influenced the diagnosis.
Architectural choices & trade-offs
Grad-CAM Explainable AI (XAI)
Medical practitioners rarely trust black-box neural networks. By computing gradients flowing into the final convolutional layer, Netra AI overlays visual attribution heatmaps directly on retinal lesions to validate clinical credibility.
Multi-Backbone Ensemble (ResNet + EfficientNet)
Leveraged pretrained EfficientNet architectures for compute-efficient feature extraction paired with ResNet residual connections to prevent vanishing gradients during fine-grained retinal feature training.
Optimized Inference Sub-30s
Quantized PyTorch weights and deployed a lightweight FastAPI inference service capable of completing analysis on standard hardware in under 30 seconds without requiring high-end clinical GPUs.
Verified Outcomes & Results
- ✓Awarded 1st Place at Technomaster 2026 hackathon hosted by Kalasalingam University, Srivilliputhur.
- ✓Achieved robust multi-class accuracy across standardized fundus screening benchmarks.
- ✓Under 30-second turnaround from retinal image upload to explainable Grad-CAM heatmap visualization.