How kanishk1420/streetsense-road-damage-detection works
Project type and purpose
• This is a cross-platform Flutter mobile application (“StreetSense”) whose sole purpose is to capture road-surface images, send them to a cloud-based AI detection API (Roboflow), and present damage detection results (potholes, cracks) plus risk metrics to the user.
File structure
• Top-level directories:
• android/ – native Android embedding & Gradle build files
• ios/ – native iOS embedding & Xcode project files
• windows/ – native Windows embedding & CMake runner
• lib/ – Dart application code
• test/ – widget tests
• Under lib/:
• main.dart – app entry point
• screens/ – UI pages: camera_screen.dart, display_picture_screen.dart, damage_analysis_screen.dart
• widgets/ – reusable UI components (e.g., camera_preview.dart)
• Config & assets: pubspec.yaml, analysis_options.yaml, AndroidManifest.xml, Info.plist, assets under each platform.
README for additional insights
• Four logical modules described:
1. App Entry
2. Camera Module
3. Image Analysis Module
4. Damage Analysis & Display Module
• Workflow: app start → capture/select image → preprocess → call Roboflow API → receive detection → render results & metrics → optional contact form.