Inspiration

Our project was inspired by the rapidly growing need for accessible, low-latency computer vision tools in security and retail analytics. While advanced object detection systems exist, they often require heavy desktop setups or expensive cloud infrastructure. We wanted to build a lightweight, open-source alternative that brings high-performance YOLOv8 object detection directly to any standard web browser using only a basic webcam.

What it does

The application transforms a standard webcam stream into an intelligent analytics node. It runs real-time object detection and multi-object tracking, outputting live video overlays alongside a dynamic data dashboard. Users can track performance metrics like Frames Per Second (FPS), view real-time breakdown charts of detected object classes, and capture snapshot logs directly from their browser interface.

How we built it

We architected the system using a decoupled Python backend and a modern web frontend:

  • Backend Framework: Flask handles web serving, video streaming routing, and API endpoints.
  • Computer Vision Engine: OpenCV manages the local camera feed capture and frame preprocessing pipeline.
  • Deep Learning Model: Ultralytics YOLOv8 runs inference on incoming frames to detect and track entities efficiently.
  • Frontend Interface: A custom HTML5, CSS3, and JavaScript dashboard utilizes modern layout techniques to display the live feed and analytics seamlessly.

Challenges we ran into

The primary roadblock was managing network latency while streaming high-resolution frames from the Flask backend to the frontend dashboard. Running continuous deep learning inference alongside video encoding naturally caused frame drops and high CPU usage. We overcame this by optimizing frame resolution, implementing multi-threading for the camera capture loop, and fine-tuning the YOLO inference parameters to reduce processing overhead per frame.

Accomplishments that we're proud of

We are incredibly proud of achieving steady, smooth FPS processing on standard consumer hardware without requiring dedicated external GPU clusters. Creating a clean, highly intuitive, and professional Dark UI dashboard that seamlessly binds raw backend telemetry to frontend visuals was another major milestone for our team.

What we learned

Building this dashboard deepened our practical understanding of deploying machine learning workflows outside of local scripts and notebooks. We gained hands-on experience optimizing real-time thread synchronization in Python and learned how to mitigate latency constraints inherent to browser-based video streaming pipelines.

Built With

Share this project:

Updates

Submission history