Skip to content

mohsinansari0705/HydroSnap

Repository files navigation

License Build Contributions welcome Tech

🌊 HydroSnap – Secure River Water Level Monitoring

HydroSnap Application logo

📌 Overview

HydroSnap is a mobile-first solution to modernize and secure river water-level monitoring using image processing, geofencing, and cloud integration.
It provides reliable, tamper-proof, and scalable data collection to support flood forecasting, disaster preparedness, and water resource management.


🚩 Problem Statement

Water levels in rivers across India are still largely monitored manually by field personnel.
This process is time-consuming, error-prone, and vulnerable to tampering.


💡 Our Solution

HydroSnap ensures authentic and secure water-level reporting by combining:
✅ GPS-based geofencing for site validation
QR code verification for site authenticity
Live photo capture of gauge posts (no gallery uploads)
Image Processing (OCR/AI) to read water levels automatically
Metadata tagging – timestamp, GPS coordinates, device ID, user ID
Tamper detection – anomaly detection for fake/duplicate readings
Offline-first sync for remote/rural areas
Dashboard integration for supervisors & central analysts


✨ Features

  • 🌍 Location Validation – Warns if user is outside monitoring site radius.
  • 📷 Camera Enforcement – Captures live image for each reading.
  • 🤖 AI Assistance – Detects & suggests water level from gauge photo.
  • 🛰️ Metadata Traceability – Stores GPS, timestamp, and device ID.
  • 📡 Offline Mode – Readings saved locally & synced when online.
  • 👥 Role-based Access – Field staff, supervisors, analysts, public.
  • 🔒 Tamper Detection – Alerts for skipped/fake readings or GPS spoofing.
  • 📊 Readings Dashboard – Supervisors track data across multiple sites.

🏗️ Tech Stack

Mobile (Android): Kotlin, Jetpack Compose, CameraX, Room, ZXing (QR Scanner)
Backend: FastAPI / Node.js, REST APIs, JWT Auth
Database: PostgreSQL + PostGIS, Cloud Object Storage (S3/GCS/Azure)
Image Processing: OpenCV, Tesseract OCR, ML (YOLO/CRNN for gauge reading)
Dashboard: React, Mapbox/Leaflet, TailwindCSS


📊 Workflow

flowchart TD
    A[User Login & Role Authentication] --> B[Site Verification]
    B -->|GPS Geofence| C[QR Code Scan]
    C --> D[Data Capture]
    D -->|Live Camera + OCR| E[Metadata Tagging]
    E --> F[Offline Storage]
    F --> G[Server Sync & Validation]
    G --> H[Tamper Detection & Alerts]
    H --> I[Supervisor Dashboard]
    I --> J[Central Analysis & Forecasting]
Loading

👥 Team: GrayCode

Team Members
Mohsin Ansari
Rohit Yadav
Ayush
Prerna Verma
Payal Katara
Kunal Singh

About

HydroSnap is a mobile application that leverages image processing and AI/ML to monitor river water levels in real time. The app ensures secure data collection, cloud-based storage, and instant alerts, helping communities and authorities with early flood detection, disaster management, and sustainable water resource monitoring.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors