Open-source real-time object detection with YOLOv8, OpenCV, and threaded frame buffering

mariamamhan · reddit · 2026-10-12

A developer open-sourced a real-time object detection project built with Python, YOLOv8, and OpenCV, detecting people, cars, cats, and dogs from a live webcam feed. Features include bounding boxes with confidence scores, per-class object counting, input/output FPS monitoring, multi-threaded frame capture with a small frame queue to reduce latency, and CPU/CUDA support. The author highlights the threading and frame-buffering work and plans to add a GUI, video file support, and result saving. Code is on GitHub.

Original post →

More from coding & agent

coding & agent channel →