HEALTHCARE AI & DEEP LEARNING • CASE STUDYLive Production Deployment

AIDR

AI-Powered Diabetic Retinopathy Screening & Explainability Platform

A clinically grounded deep learning platform that classifies diabetic retinopathy across all 5 international stages in under 2 seconds. Combines an EfficientNet-B0 CNN architecture with Grad-CAM visual attention mapping to guarantee transparent AI decision support for ophthalmologists and primary care clinics.

Technologies & Infrastructure
PyTorchEfficientNet-B0Grad-CAM ExplainabilityCLAHE PreprocessingFastAPIReact 18ViteReportLab PDFVercel & Render
Pre-Configured Demo Credentials (Instant Access)
Doctor / Clinician Access: doctor / doctor123
Administrator Access: admin / admin123
INTERACTIVE SYSTEM EXPLORER

Explore AIDR Capabilities

Switch through the functional tabs below to inspect live interface mockups, algorithmic workflows, and telemetry data. Previews below feature verified and simulated test scenarios.

Diagnostic Workflow

Rapid, Accessible Screening for Diabetic Eye Disease

Simulated Demo EnvironmentOpen Live App

Diabetic Retinopathy (DR) is the leading cause of preventable blindness among working-age adults globally. Traditional fundus exam queues take weeks and require scarce retinal specialists. AIDR provides automated screening in seconds with 94%+ diagnostic accuracy and visual Grad-CAM proof of microaneurysms and hemorrhages.

< 1.8s
Inference Speed
FastAPI + PyTorch CPU/GPU
94.2%
Diagnostic Sensitivity
Validated test dataset
Grad-CAM
Explainability
Clinician visual audit
PDF Report
Export Format
Instant ReportLab generation

Diagnostic Workflow Advantages

5-stage international grading (No DR, Mild, Moderate, Severe, Proliferative)
CLAHE (Contrast Limited Adaptive Histogram Equalization) image enhancement
Visual Grad-CAM attention heatmap pinpointing pathological lesions
Secure doctor authentication, patient management, and printable clinical records
THE BUSINESS & INDUSTRY PROBLEM

The Clinical Problem: Diabetic Retinopathy Blindness

Over 537 million adults live with diabetes worldwide. Over one-third will develop diabetic retinopathy, yet 90% of severe vision loss is preventable with timely screening.

90%Vision loss preventable if caught early

Specialist Scarcity & Bottlenecks

In rural and semi-urban clinics, ophthalmologists are in short supply. Patients wait months for basic dilated eye exams, causing avoidable vision impairment.

0%Clinician trust without explainability

Black-Box AI Trust Barrier

Most commercial AI diagnostic tools output a raw percentage without explaining which retinal features drove the decision, making doctors hesitant to act on them.

< 100 µmMicroaneurysm lesion diameter

Subtle Early-Stage Pathology

Stage 1 and 2 microaneurysms are microscopic (<100 microns) and easily overlooked in low-contrast fundus photography without specialized enhancement.

50%+Patients lost to specialist follow-up

Disjointed Referral Documentation

Clinics lack automated systems to bridge initial screening with formal specialist referral documentation, leading to lost patient follow-ups.

THE ARCHITECTED SOLUTION

The AIDR Solution: Explainable Deep Learning Screening

AIDR bridges primary care screening and ophthalmology specialists through automated, sub-2-second AI grading with Grad-CAM explainability.

01

EfficientNet-B0 Deep Learning Classifier

Lightweight, parameter-efficient convolutional neural network optimized for high diagnostic sensitivity across all five DR severity grades.

02

Grad-CAM Visual Attention Heatmap

Computes gradients of the target class score with respect to feature maps, highlighting exact lesion zones for doctor validation.

03

Adaptive CLAHE Image Enhancement

Normalizes uneven illumination and enhances capillary contrast before inference, ensuring robust performance across varied fundus cameras.

04

Automated Clinical PDF Generation

Compiles patient demographics, fundus photography, Grad-CAM maps, and referral urgency into structured medical reports.

05

OpenAPI-Compliant FastAPI Backend

Interactive Swagger documentation and high-throughput REST endpoints ready for EHR and hospital PACS integration.

CORE CAPABILITIES

Engineered Feature Set

Full-spectrum software architecture built for security, high throughput, and reliable real-world usage.

EfficientNet-B0 CNN

5-Stage Automated DR Classification

Classifies retinal scans into No DR, Mild, Moderate, Severe, or Proliferative DR with full probability distributions.

Visual Explainability

Grad-CAM Explainability Heatmaps

Visualizes neural attention directly over fundus photos, enabling doctors to verify microaneurysms and hemorrhages.

OpenCV Preprocessing

CLAHE Contrast Preprocessing

Enhances retinal vasculature and lesion visibility while suppressing camera lighting artifacts.

ReportLab Engine

Automated Diagnostic PDF Reports

Generates structured, print-ready clinical reports with patient data, diagnosis, and visual proof for specialist referral.

FastAPI REST Docs

Interactive Swagger API Documentation

Comprehensive OpenAPI REST endpoints for screening, patient lookup, and batch inference accessible live on Render.

JWT Authentication

Role-Based Doctor & Admin Portals

JWT authentication with dedicated views for clinical screening workflows and administrative system audits.

END-TO-END FLOW

How It Works: Step-by-Step Architecture

From initial data ingestion to verified business outcomes in five automated stages.

01
Capture & Ingestion

Retinal Fundus Image Capture & Upload

The clinician captures a fundus photo using a standard desktop or portable fundus camera and uploads it via the drag-and-drop web portal.

02
Preprocessing

Automated CLAHE Enhancement

The backend applies Contrast Limited Adaptive Histogram Equalization, standardizing illumination and highlighting fine retinal vascular structures.

03
Deep Learning

EfficientNet-B0 Deep Inference

The preprocessed tensor passes through the fine-tuned EfficientNet-B0 model, generating softmax probabilities across all 5 clinical stages.

04
Explainability

Grad-CAM Attention Mapping

Backpropagated gradients extract spatial activations from the final convolutional layer, rendering a color-coded attention overlay.

05
Clinical Delivery

Clinical Review & PDF Referral Export

The physician reviews the diagnosis and visual heatmap, adds clinical notes, and downloads a formal referral PDF for the patient.

MEASURABLE ROI & COST IMPACT

Time & Cost Impact Analysis

Quantifiable operational turnaround delivered through custom software engineering.

99% faster
Screening Turnaround
Weeks on specialist queue → < 1.8 seconds
Clinical precision
Diagnostic Accuracy
Variable in primary care → 94.2% sensitivity
100% transparent
Clinician Explainability
Black-box suspicion → Grad-CAM visual audit
Instant export
Referral Package Time
15–20 mins paperwork → 1-click ReportLab PDF

Comparison: Manual Legacy Workflow vs. AIDR

Operational CapabilityWithout AIDRWith AIDR
Screening AvailabilityRequires on-site specialist clinic visit (weeks delay)Immediate primary-care screening in < 2 seconds
Model InterpretabilityOpaque probability score with no visual justificationGrad-CAM heatmap highlighting exact lesion locations
Image Quality RobustnessFails on poorly illuminated or low-contrast fundus photosCLAHE adaptive equalization standardizes quality
Documentation & HandoffHandwritten notes or fragmented EHR entriesStandardized ReportLab clinical PDF with image evidence
API & IntegrationProprietary desktop software locked to single hardwareOpenAPI REST endpoints ready for clinic EHR integration
SYSTEM ARCHITECTURE

Technology Stack Breakdown

Engineered with modern full-stack performance, strong typing, and production-tested libraries.

Deep Learning & Computer Vision

Convolutional neural networks fine-tuned for ophthalmic pathology classification.

PyTorch 2.xEfficientNet-B0Grad-CAM PyTorch HooksOpenCV (cv2) CLAHEtorchvision transformsNumPy & PIL

Backend API & Document Engine

Asynchronous REST API with automatic OpenAPI documentation and PDF reporting.

Python 3.10+FastAPIPydantic v2Uvicorn ASGIReportLab (PDF Generation)SQLAlchemy & SQLite

Frontend Client Interface

Clean clinical web interface with interactive sliders, dropzones, and charts.

React 18ViteTailwind CSSRecharts Telemetryreact-dropzoneLucide Icons

Deployment & Cloud Infrastructure

Decoupled modern cloud hosting with global edge delivery and Dockerized API.

Vercel (React Frontend SPA)Render (Dockerized FastAPI backend)Swagger/OpenAPI Live DocsJWT Authentication
APPLICATION SCREENSHOTS

Interface Showcase & User Experience

High-resolution interface captures demonstrating data density, responsive hierarchy, and clean typography.

ai-diabetic-retinopathy.vercel.app/
AIDR clinical screening dashboard preview showing retinal fundus image and Grad-CAM explainability

AIDR Clinical Diagnosis & Grad-CAM Heatmap Interface

Dual-panel view featuring fundus photo, Grad-CAM attention overlay, and 5-stage ICO classification.

DEPLOYMENT & SOURCE ACCESS

Inspect AIDR Live

Explore the deployed web application or inspect the underlying code architecture on GitHub.

Doctor / Clinician Access
Username/Email:doctor
Password:doctor123

Upload patient fundus photographs, view CLAHE preprocessed scans, inspect Grad-CAM heatmaps, and generate ReportLab clinical PDFs.

Administrator Access
Username/Email:admin
Password:admin123

System audit logs, model inference latency metrics, doctor account management, and clinical screening history.

PARTNER WITH CORVERT

Need a High-Performance Custom Web Application?

Whether you need an internal operations platform, an AI-powered automation workflow, or a scalable SaaS product, CORVERT designs and builds custom web applications that eliminate operational drag and deliver measurable ROI.

Tailored ArchitectureRapid MVP SprintsTransparent Pricing