Skip to content

Keys prc2?

All projects

SERVICE 02

PORT

Real-Time Vision Analytics

  • <30msinference
  • 94%mAP@0.5
  • 30sustained FPS

Stack Python · YOLOv8 · OpenCV · React.js · Prometheus · WebSockets

Explain at

YOLOv8 fine-tuned on a 5K-image custom dataset, with bounding-box telemetry streamed over WebSockets and per-class analytics rendered in React.js at a sustained 30 FPS. An asyncio producer–consumer queue between capture and inference reduced latency variance by 40%. Inference p95, detection rate and queue depth are instrumented in Prometheus with SLO alerts.

In plain words This points a camera at the world and counts how many pictures per second it can keep up with. The part that recognises objects and draws a box around each one is not published yet, so no boxes appear. The line of waiting pictures and the counters are real.

No recorded run published yet.

A port. The detector (YOLOv8n) is not published on this site yet, so nothing is detected; the camera, the bounded queue and the gauges are real and run on your device. The production system ran a fine-tuned YOLOv8 at <30 ms. Your numbers are your device's numbers.

Work trace

Decisions
A producer–consumer queue between capture and inference instead of running them back to back; SLO alerts on the three numbers that describe health: inference p95, detection rate and queue depth.
Trade-offs
A queue that sheds load keeps latency flat but can lower the detection rate; the alerts watch inference p95, detection rate and queue depth, so none of them is traded away silently.
What I guard against
Latency variance, not just the mean: a fine average can hide a stuttering tail. The producer–consumer queue is what cut that variance by 40%.
What I'd change
Export the per-class analytics as a Prometheus histogram too, so the dashboard and the alerts read from the same source.
camera
queue(bounded)
YOLOv8
WebSocket
React analytics
Prometheus
Click a part of the drawing to read about it.

Pipeline

  1. capture—
  2. queue—
  3. infer—
  4. draw—

Run it to see the real timing of each stage.