CB AI
Smart Bharat Begins with Smart Detection
The problem CB AI solves
In many rural and semi-urban areas, construction materials like bricks, sand, and stones are often stored on public roads for days or even months. Similarly, garbage is dumped in bulk and left unattended on roadsides. These obstructions can cause accidents, block pedestrian paths, and disrupt daily traffic flow.
CB AI solves this problem by using a deep learning-powered detection system that analyzes CCTV footage or uploaded videos/images to automatically identify such roadside debris and garbage. Once detected, the system can notify local municipal authorities or rural police via email or dashboard alerts, prompting timely clean-up. This improves public safety, road usability, and civic hygiene.
Challenges we ran into
-
No public dataset available: We had to collect real-world images ourselves, capturing different types of roadside garbage and debris from semi-urban and rural areas. This took time and effort across multiple days.
-
Annotation was time-consuming: Manual annotation of varied debris types (bricks, sand heaps, trash bags) was done using Roboflow. We faced difficulty due to overlapping and unclear boundaries, especially in crowded scenes.
-
Model performance in poor lighting: Inconsistent lighting (e.g., during dusk or cloudy days) affected detection accuracy. To solve this, we augmented the dataset with synthetic low-light variations and improved contrast during preprocessing.
-
Frontend integration: Integrating real-time video detection with the frontend using React and TensorFlow.js required frame-rate optimization and handling large file uploads smoothly.
-
Deployment constraints: Running inference in-browser required reducing model size. We created a lightweight YOLOv8 variant for demos and offloaded full-scale inference to a server when needed.
Technologies used
