How caesarmaulana01/driveye works
DrivEye is a Flutter driver-assistance app intended to help a driver maintain safe following distance. The documented workflow is camera imagery → vehicle detection → distance estimation → proximity warning. The tree identifies UI modules and bundled model assets, but the sampled source does not include the Dart implementation; internal calls and exact subsystem wiring therefore remain uncertain.
Main entry points: run_model_by_image_demo.dart Model demo · warning_popup.dart Warning popup · models Detection models · labels Class labels
Components 14
Driver experience
- App entry
lib/main.dart - Splash screen
lib/splash_screen.dart - Driving mode
lib/driving_mode.dart - Start driving
lib/start_driving.dart - Image selection
lib/image_selection.dart - Success screen
lib/success_screen.dart
Detection and distance
- Model demo
lib/run_model_by_image_demo.dart - Distance measurement
Inference assets
- Detection models
assets/models - Class labels
assets/labels
Safety alerts
- Warning popup
lib/warning_popup.dart - Warning audio
assets/sounds/warning.mp3
Other components
- Driver
- Camera imagery
Connections 7
- Driver → App entry: opens
- Camera imagery → Model demo: provides images
- Detection models → Model demo: model assets
- Class labels → Model demo: class labels
- Model demo → Distance measurement: detects vehicles
- Distance measurement → Warning popup: triggers when close
- Warning popup → Warning audio: plays alert