About
## Challenges we ran into
One of our biggest challenges was ensuring accurate animal detection and counting from citizen-uploaded images. Initially, the AI sometimes misclassified animals, such as identifying a cow as a buffalo or dog, and occasionally produced incorrect counts. We addressed this by integrating the Gemini API for image analysis, refining prompts to return structured results, and adding an option to re-analyze incorrect detections. We also faced challenges connecting the frontend, backend, and SQLite database while handling GPS location and report submissions. We worked through these issues by testing the API flow, debugging backend configuration, and validating data before saving reports. This taught us the importance of reliable AI outputs, secure API integration, and thorough end-to-end testing.
## The problem it solves
PashuSafe AI addresses the growing problem of stray animals on roads, which can cause traffic accidents and put both human and animal lives at risk. Citizens can report stray animals by uploading photos, while the Gemini API helps identify animal types and automatically estimate their count. The system captures GPS locations, assesses potential road risks, and sends alerts to nearby drivers, helping them stay cautious. It also connects animal rescue teams and local authorities with reported incidents, enabling faster responses and better coordination. By combining AI-powered detection, location-based alerts, and digital reporting, PashuSafe AI promotes safer roads and better protection for stray animals through a software-based solution.
Screenshots
Team
From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.










