How anaghabl/nayana_pec works
Nayana.ai is a tele-ophthalmology screening application: patients describe symptoms, submit eye images, receive AI-assisted results, and can review reports and longitudinal records; doctors review cases. The repository also includes a distinct prototype EOG workflow. The README documents Raspberry Pi capture and image delivery, while sampled code confirms encrypted case storage, blockchain updates, and EOG acquisition and analysis. Some app-to-module wiring and unsampled feature implementations are not visible, so uncertain links are omitted.
Main entry points: app.py Screening App · database.py Case and Record Data · ui.py EOG Interface · patient_records.py Patient Records
Components 24
Patient Screening
- Pi Capture
capture.py - Image Receiver
receiver.py - Screening App
app.py - Symptom Chat
chatbot_flow.py - Voice Input
voice_input.py - Optical Analysis
optical_health_scan.py - Disease Guidance
disease_info.py - Screening Reports
report_generator.py
Clinical Records
- Doctor Dashboard
doctor_dashboard.py - Patient Records
patient_records.py - Patient Results
patient_results.py - Medical History
medical_history.py - Case and Record Data
database.py
Identity and Integrity
- Authentication
auth.py - Encryption
encryption.py - Result Ledger
blockchain.py
EOG Prototype
- EOG Interface
eog/ui.py - Serial Acquisition
eog/acquisition.py - Signal Analysis
eog/analysis.py - Demo Signal
eog/demo.py - EOG Report
eog/report.py
Other components
- Patient
- Doctor
- EOG User
Connections 27
- Patient → Screening App: uses screening
- Patient → Pi Capture: triggers capture
- Pi Capture → Image Receiver: posts images
- Image Receiver → Screening App: delivers images
- Screening App → Symptom Chat: runs symptom flow
- Symptom Chat → Voice Input: records speech
- Screening App → Optical Analysis: analyzes eyes
- Screening App → Disease Guidance: shows guidance
- Screening App → Case and Record Data: loads cases
- Screening App → Screening Reports: generates PDF
- Doctor → Doctor Dashboard: reviews cases
- Doctor Dashboard → Case and Record Data: updates cases
- Patient → Patient Records: views history
- Patient → Patient Results: views results
- Patient Records → Case and Record Data: reads history
- Patient Records → Screening Reports: requests reports
- Medical History → Case and Record Data: reads records
- Patient → Authentication: authenticates
- Doctor → Authentication: authenticates
- Case and Record Data → Encryption: encrypts data
- Case and Record Data → Result Ledger: adds case blocks
- EOG User → EOG Interface: runs test
- EOG Interface → Serial Acquisition: reads serial data
- Serial Acquisition → Signal Analysis: provides samples
- EOG Interface → Signal Analysis: analyzes samples
- EOG Interface → Demo Signal: uses demo mode
- EOG Interface → EOG Report: generates report