Safereport
SafeReport is a secure and anonymous platform for reporting violent incidents in real time. It enables users to submit reports with images, ensuring that only relevant cases are processed u
Created on 16th February 2025
•
Safereport
SafeReport is a secure and anonymous platform for reporting violent incidents in real time. It enables users to submit reports with images, ensuring that only relevant cases are processed u
The problem Safereport solves
SafeReport is designed to make reporting violent incidents easier, faster, and safer. Here’s how it helps:
🚨 1. Instant Reporting of Crimes & Violence
Users can quickly report incidents like harassment, physical assault, or other crimes by uploading an image and submitting a report.
Benefit: Ensures faster action by authorities, preventing further harm.
🔒 2. Anonymous & Secure Reporting
People can report incidents without revealing their identity, ensuring complete anonymity.
Benefit: Encourages more users to report crimes without fear of retaliation.
🤖 3. AI-Powered Image Filtering
Google's Gemini AI detects whether an image contains violence before submission.
Benefit: Prevents spam or irrelevant reports, ensuring only genuine cases are handled.
⏳ 4. Real-Time Notifications to Authorities
When a report is submitted, it is instantly sent to the relevant authorities.
Benefit: Reduces delays, leading to faster response times for critical incidents.
Challenges we ran into
🛠 Bug/Hurdle Faced: Blocking Non-Violent Image Submissions
One major challenge while building SafeReport was ensuring that only relevant (violent/emergency-related) images were accepted during report submission. Users could submit random or non-violent images, which would clutter the system and slow down response times.
❌ The Problem
Detecting non-violent images accurately before submission.
Preventing false positives (rejecting a real incident) or false negatives (allowing irrelevant images).
Ensuring real-time filtering without slowing down the submission process.
✅ How I Solved It
1️⃣ AI-Powered Image Classification
Integrated Google’s Gemini AI to analyze uploaded images before submission.
Used pre-trained models to differentiate between violent and non-violent content.
2️⃣ Setting Confidence Thresholds
Implemented a confidence score system where:
Above 80% confidence in violence detection → Image is accepted.
Below 80% confidence → Image is rejected with an alert to the user.
3️⃣ Optimizing Performance with Asynchronous Processing
Used Celery with RabbitMQ to process images in the background without slowing down the app.
This allowed users to submit reports instantly while the AI classified images in parallel.
4️⃣ Fallback Manual Review System
If an image was flagged as non-violent, but the user believed it was relevant, admins could manually review and approve/reject it.
🎯 Outcome
By combining AI classification, confidence scoring, background processing, and manual review, I successfully prevented non-violent images from being submitted while maintaining speed, accuracy, and fairness. 🚀
Tracks Applied (2)
Web3
Women Safety
Technologies used
