Loading YOLO11n
10.7 MB, once. Then everything runs on your device.
Drag on the video to draw a seat. Click a seat to remove it.
Sample clips stream from Mixkit (free licence). With the webcam or your own video, frames are processed in this tab and never uploaded.
Restaurant layout
Seats
On a sample clip, “Step away” hides that guest from the detector, so you can watch the rules work. With the webcam, just get up.
Staff
No alertsRules and timings
Seconds here so you can see it happen. In a café these would be minutes.
What happened
How it works
- 01 VideoA café's CCTV. Here: a sample clip, your webcam, or a file.
- 02 DetectYOLO11n finds people, and things like bags, laptops, cups and phones.
- 03 AssignEach seat is a zone on the image. A person counts if they cover a quarter of it.
- 04 DecideFree, Taken, Away or Check, with a clock per seat and a grace period.
- 05 ShowThe layout updates live. Staff get a nudge when a seat needs a look.
Seat rules: seats.js. Detector: detector.js, YOLO11n by Ultralytics (AGPL-3.0), exported to ONNX and run with ONNX Runtime Web. Vision pipeline and seat rules designed by Dong Anh Nguyen; the 2024 detector was built by Srihari Murali. This page re-implements it for the browser.