How shehatacoder/agesense-app works
Agesense is a Flutter app for on-device age and gender analysis. Its main workflow processes live camera frames through face detection and TFLite prediction, then overlays results; the README also documents gallery analysis and local prediction history. Authentication, appearance, and localization are separate product capabilities. Relationships are based on README descriptions and project structure; Dart implementations were not sampled, so the graph does not assert unverified internal calls.
Main entry points: camera_analysis_screen.dart Live camera analysis · image_isolate_processor.dart Image processing · home_screen.dart Home navigation · analysis_details_screen.dart Gallery analysis
Components 17
Face analysis
- Live camera analysis
lib/camera_analysis_screen.dart - Camera stream
- Face detection
- Image processing
lib/core/image_isolate_processor.dart - Age model
assets/age_model.tflite - Gender model
assets/gender_model.tflite - Prediction overlay
lib/face_painter.dart - Gallery analysis
lib/analysis_details_screen.dart
App experience
- Home navigation
lib/home_screen.dart - App startup
lib/main.dart
History storage
- History browser
lib/history_screen.dart - History state
lib/providers/history_provider.dart - Prediction database
lib/core/database_helper.dart
Identity and preferences
- Authentication
lib/services/auth_service.dart - Firebase Auth
- Theme and locale
lib/settings
Other components
- User
Connections 17
- User → Live camera analysis: starts analysis
README.md - Live camera analysis → Camera stream: streams frames
README.md - Live camera analysis → Face detection: detects faces
README.md - Face detection → Image processing: provides face regions
README.md - Image processing → Age model: runs inference
README.md - Image processing → Gender model: runs inference
README.md - Live camera analysis → Prediction overlay: renders predictions
README.md - User → Gallery analysis: selects image
README.md - Gallery analysis → Image processing: analyzes image
README.md - Home navigation → Live camera analysis: opens analysis
- Home navigation → History browser: opens history
- History browser → History state: browses predictions
- History state → Prediction database: persists history
README.md - User → Authentication: signs in
README.md - Authentication → Firebase Auth: authenticates with
README.md - User → Theme and locale: changes preferences
README.md - App startup → Home navigation: opens app