This is the user-side mobile application for the SOS Emergency Response System. It allows users to instantly report fire, medical, or crime emergencies by capturing images and location data. The app uses AI to verify incidents and ensures fast and secure communication with emergency responders.
- 📸 Image Capture & Upload
- 🧠 AI Verification (YOLOv8)
- 📍 Real-time GPS Tracking
- 🗂️ Emergency Categorization (Fire, Medical, Crime)
- 🔐 AES Encryption for Secure Upload
- 📡 Live Sync with Supabase
- 📬 Real-time Status Notifications
- 👥 Login, Register, and Session Management
/lib/
├── main.dart # Entry point
├── screens/ # UI screens (Login, Home, EmergencyForm, etc.)
├── services/ # Supabase and AI-related logic
├── widgets/ # Reusable widgets
├── models/ # Data models
├── utils/ # AES encryption, geolocation, etc.
/assets/
├── images/ # App images
git clone https://github.com/your-username/sos-flutter-app.git
cd sos-flutter-appflutter pub getCreate a .env or use your lib/services/supabase.dart to add:
const supabaseUrl = "https://xyz.supabase.co";
const supabaseKey = "your-public-anon-key";flutter runMake sure a device/emulator is running.
- AES encryption is applied to images before uploading.
- Data is securely stored and transmitted via Supabase and HTTPS.
- Only verified officials can view and respond to emergency reports.
- User captures an image (fire/medical/crime).
- AI model (YOLOv8) verifies the emergency.
- Data is AES encrypted and sent to Supabase.
- Officials are notified and can view, accept or reject requests.
- Flutter
- Supabase
- YOLOv8
- Google Maps API
- AES Encryption (Dart Implementation)
Arpit Gupta
Developed as part of the SOS Emergency Management System.
This project is licensed under the MIT License.