Live Demo β’ Project Video β’ Slides
AI-Powered Ophthalmic Diagnostics and Automated Report Generation
Retinal diseases like glaucoma, diabetic retinopathy, and macular degeneration are often impossible to detect early, even by experienced ophthalmologists. Subtle retinal layer changes β invisible to the naked eye β are only captured through OCT (Optical Coherence Tomography) scans. Yet, interpreting OCT data is complex, time-consuming, and prone to human variability.
Millions lose their vision not because treatment doesnβt exist, but because signs were missed early. Additionally, inconsistent diagnostic standards and scattered OCT data lead to poor data integrity and hinder long-term patient tracking.
We envision a world where no one goes blind because of late detection β regardless of where they live or how much they earn. Our mission is to democratize precision eye diagnostics using accessible AI tools that assist doctors, empower clinics, and make retinal screening part of every basic eye check-up.
NetraAI is an AI-powered retinal disease detection platform that identifies invisible, early-stage eye disorders using standard fundus images β no expensive OCT required.
How It Works:
- Clinics Register β Verified clinics sign up on the platform.
- Upload Retinal Images β Health workers capture fundus images using low-cost fundus cameras or smartphones with adapters.
- AI Diagnosis β Our proprietary model analyzes retinal images and detects early signs of diseases like diabetic retinopathy or glaucoma β often before visible symptoms appear.
- Doctor Assist Dashboard β Doctors receive structured reports, highlighting risk zones, confidence levels, and AI recommendations β designed to assist, not replace clinical judgment.
- Patient Insights β Patients get a simplified report with next-step guidance (visit specialist, follow-up, etc.).
We operate on a hybrid CSR-driven model:
- Rural & Semi-Urban Clinics
- Partner with government/CSR-backed hospitals and NGOs.
- Free screening for patients holding ESI cards or verified under economically unstable categories.
- AI-assisted reports and awareness sessions for early intervention. Verified access ensures services are limited to eligible individuals.
- Urban Subscription Model
- Clinics and hospitals subscribe to VisionSight D++ β a premium AI diagnostic assistant.
- Offers faster reports, patient management dashboards, and deeper analytics.
- Revenue from this model fuels free screening initiatives in rural sectors.
- ποΈ AI-Powered Diagnostics β Upload an eye image and get automated AI insights with visual heatmaps.
- π₯ Clinic Verification System β Clinics get verified using license or QR-based authentication.
- π Automated Report Generation β Doctors can link reports to patient profiles and export them seamlessly.
- π Interactive Dashboard β Manage patients, reports, uploads, and AI metrics in one clean interface.
- π Secure Auth System β Only verified clinics can access and generate reports.
- π« Modern, Responsive UI β Sleek design with smooth animations and modular components.
| Module | Description |
|---|---|
| Frontend (Next.js) | Handles routing, dashboards, and dynamic rendering. |
| AI Pipeline | Analyzes images, generates diagnostic overlays, and interprets results. |
| API Routes (Next.js) | Serverless endpoints for verification, AI reports, and data handling. |
| Database (Supabase) | Stores clinic, patient, and report metadata securely. |
- Next.js 14 (App Router) β Modern SSR/ISR frontend architecture.
- React 18 β Component-based UI development.
- Tailwind CSS β Utility-first styling framework.
- Framer Motion β Smooth, fluid animations.
- Custom Computer Vision Model β Detects eye-related features and abnormalities.
- AI Inference Scripts β Python-based inference pipeline integrated via API.
- Supabase β Handles authentication, database, and object storage.
- Cloud Storage β Manages high-resolution image uploads and retrieval.
- Zustand β Lightweight state management.
- ESLint & PostCSS β Linting and CSS optimization.
netraai/
βββ README.md
βββ package.json
βββ next.config.mjs
βββ src/
βββ app/
β βββ (auth)/login, signup
β βββ (dashboard)/layout, ai-report
β βββ api/verify-clinic/route.js
β βββ globals.css
βββ components/
β βββ core/ (buttons, forms, modals)
β βββ ui/ (dashboard, dialogs)
βββ hooks/ (custom React hooks)
βββ lib/ (helpers, utils, constants)
βββ modules/
βββ ai-report/
βββ dashboard/- Node.js 18+
- npm or yarn
- Supabase project setup
git clone https://github.com/appajidheeraj/netraai.git
cd netraai
npm installCreate a .env.local file:
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_anon_key
AI_MODEL_ENDPOINT=your_model_endpointnpm run devVisit http://localhost:3000
sequenceDiagram
participant C as Clinic
participant A as App
participant API as Verification Service
C->>A: Upload License / QR
A->>API: Validate License Data
API-->>A: Verified / Rejected
A-->>C: Access Granted / Denied
Purpose: Ensures only licensed clinics can generate patient reports.
sequenceDiagram
participant D as Doctor
participant A as App
participant AI as Model API
participant DB as Supabase
D->>A: Upload Eye Image + Patient Details
A->>AI: Send Image for Analysis
AI-->>A: Return Feed Map + Health Insights
A->>DB: Store Report Metadata
A-->>D: Display AI-Generated Report
Outcome: Doctors receive AI-analyzed reports with feedmaps and predictions.
graph TD
A[Dashboard] --> B[AI Reports]
A --> C[Patients]
A --> D[Upload Stats]
B --> E[Generate Reports]
C --> F[View Patient Data]
Includes:
- Report History
- Patient Records
- Upload Analytics
- Clinic Profile
- Login / Signup β Secure authentication for clinics.
- Dashboard β Access reports, patients, and insights.
- AI Report Page β Upload, analyze, and generate reports.
- Dialog Components β Patient and report input modals.
- β Verified Access Only β Clinics are validated before access.
- π Encrypted Uploads β Sensitive patient images are secured.
- π§Ύ Supabase Auth β Robust session and access management.
- π§ Anonymized Data β Patient data used in AI inference remains private.
- π PDF Report Export
- π Blockchain-based Record Verification
- βοΈ Fine-tuned AI Models with Real Data
- π Multi-Language Support
We wanted to bridge the gap between AI innovation and accessible healthcare β empowering clinics to diagnose faster and smarter.
ποΈ NetraAI β Making Eye Diagnostics Smarter, Faster, and More Accessible
