Empowering ASHA Workers with AI-Powered Health Screening
Offline-First โข Multi-Disease โข Rural India
Rural India faces critical healthcare challenges:
- Doctor Shortage: 1 doctor per 10,000+ people in villages
- Poor Connectivity: Limited internet access for telemedicine
- Late Diagnosis: Preventable diseases detected too late
- High Costs: Expensive diagnostic tests unavailable locally
Aasha.AI brings AI-powered health screening directly to villages through ASHA workers' smartphones:
- โ Works 100% Offline - No internet required
- โ Multi-Disease Screening - TB, Skin, Anemia, Maternal Health
- โ Instant Results - AI analysis in seconds
- โ Smart Referrals - Nearest PHC recommendations
- โ Patient Records - Offline-first with cloud sync
| Module | Input | AI Model | Risk Detection |
|---|---|---|---|
| TB Screening | ๐ค Cough Audio | Audio Classification | TB risk indicators |
| Skin Disease | ๐ท Photo | Image Classification | Fungal, Eczema, Ringworm |
| Anemia Check | ๐ท Palm/Eye Photo | Pallor Analysis | Hemoglobin estimation |
| Maternal Health | ๐ Questionnaire | Risk Scoring | Pregnancy danger signs |
| Symptom Triage | ๐ Symptoms List | Urgency Scoring | Care urgency level |
- Flutter 3.0+ installed
- Android Studio / VS Code
- Android device or emulator
# Clone the repository
git clone https://github.com/yourusername/aasha-ai.git
cd aasha-ai
# Install dependencies
flutter pub get
# Run the app
flutter runflutter build apk --releaseSplash Screen
โ
โผ
ASHA Dashboard
โ
โโโ New Screening โโโบ Patient Registration โโโบ Select Module
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ โ โ
โ โผ โผ โผ
โ TB Module Skin Module Anemia Module
โ (Record Cough) (Capture Photo) (Capture Palm/Eye)
โ โ โ โ
โ โโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโ โ
โ โผ โ
โ AI Processing โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ
โ โผ
โ Result Screen
โ (Risk + Recommendation)
โ โ
โ โผ
โ Nearest PHC Map
โ
โโโ Patient History โโโบ Filter by Risk โโโบ View Past Results
aasha_ai/
โโโ lib/
โ โโโ main.dart # App entry point
โ โโโ models/
โ โ โโโ patient.dart # Patient data model
โ โ โโโ screening_result.dart # Screening result model
โ โโโ screens/
โ โ โโโ splash_screen.dart # Animated splash
โ โ โโโ login_screen.dart # ASHA worker login
โ โ โโโ home_screen.dart # Dashboard with modules
โ โ โโโ patient_registration_screen.dart
โ โ โโโ cough_recording_screen.dart
โ โ โโโ skin_scan_screen.dart
โ โ โโโ anemia_scan_screen.dart
โ โ โโโ maternal_health_screen.dart
โ โ โโโ symptom_triage_screen.dart
โ โ โโโ ai_processing_screen.dart
โ โ โโโ result_screen.dart
โ โ โโโ patient_history_screen.dart
โ โโโ services/
โ โ โโโ storage_service.dart # Hive local database
โ โ โโโ tflite_service.dart # AI inference
โ โ โโโ audio_service.dart # Audio recording
โ โ โโโ image_service.dart # Camera capture
โ โ โโโ location_service.dart # PHC finder
โ โโโ widgets/
โ โ โโโ risk_indicator.dart # Risk level badges
โ โ โโโ module_card.dart # Dashboard cards
โ โ โโโ patient_card.dart # Patient list items
โ โ โโโ action_button.dart # CTA buttons
โ โ โโโ symptom_checkbox.dart # Touch-friendly checkboxes
โ โโโ utils/
โ โโโ constants.dart # Colors, styles, config
โ โโโ routes.dart # Navigation routes
โโโ assets/
โ โโโ models/ # TFLite model files
โ โโโ icons/ # App icons
โ โโโ images/ # Logos and illustrations
โโโ README.md
The app uses TensorFlow Lite for offline inference:
| Model | Size | Input | Output |
|---|---|---|---|
| TB Cough | ~2MB | Audio spectrogram | Risk probability |
| Skin Disease | ~3MB | 224x224 image | Disease class + confidence |
| Anemia | ~2MB | 224x224 palm/eye | Pallor level |
| Maternal Risk | ~500KB | Feature vector | Risk score |
Place your trained .tflite models in:
assets/models/
โโโ tb_cough.tflite
โโโ skin_disease.tflite
โโโ anemia_screen.tflite
โโโ maternal_risk.tflite
Note: The app includes mock predictions for demo purposes. Replace with real models for production.
- Flutter - Cross-platform mobile framework
- TensorFlow Lite - On-device ML inference
- Hive - Fast, lightweight local database
- Firebase - Optional cloud sync (when online)
- Geolocator - GPS for nearest PHC
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ASHA Worker Device โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Flutter โ โ TFLite โ โ Hive DB โ โ
โ โ UI โโโโค Models โ โ (Patients, Results)โ โ
โ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ โ โ
โ โโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโ โ
โ โ โ
โ โโโโโโโผโโโโโโ โ
โ โ Sync โ โ
โ โ Service โ โ
โ โโโโโโโฌโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ When Online
โโโโโโโโผโโโโโโโ
โ Firebase โ
โ Firestore โ
โโโโโโโโโโโโโโโ
Add to android/app/src/main/AndroidManifest.xml:
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.INTERNET"/>- Rural-Friendly UI - Large buttons, high contrast, simple navigation
- Minimal Text - Icon-based interface, easy for low-literacy users
- Multi-Language Ready - String resources extracted for i18n
- Low Resource - Optimized for low-end Android devices
- โ Complete multi-disease screening platform
- โ Offline AI inference
- โ Animated recording with waveform
- โ Step-by-step AI processing visualization
- โ Color-coded risk levels
- โ Nearest PHC with maps integration
- โ Patient history with filters
- โ Premium UI with gradients and animations
- Hindi/Odia voice guidance
- Emergency SMS alerts
- High-risk zone heatmap
- Government PHC API integration
- Diabetes screening module
- Eye disease detection
- Dental health screening
Built with โค๏ธ for rural India
MIT License - See LICENSE for details
๐ Star this repo if Aasha.AI helps rural healthcare! ๐
