Six people in a queue, with two receipts processed per minute, means an estimated wait of about three minutes for the last person.
That example changed how we approached waiting time. The most accurate method would be to follow each person from the moment they join the queue until they reach the register. In a real checkout area, that becomes difficult quickly. People overlap in a dense line, move to another register, or leave to pick up a forgotten item.
We decided to use a simpler estimate. Several times a minute, the camera counts people inside a defined queue zone. We take the average count over a few minutes and divide it by the service rate from POS receipts.
The camera does not need to identify anyone or recognize faces. It stores the number of people in a zone at a given time. The cashier and the person already paying can be excluded with a separate zone.
This estimate is enough for one practical decision: whether another register should be opened.
For example, the rule can be set to more than four people per open register for three minutes. A short spike does not trigger anything. If a group arrives together and the queue clears quickly, the shift supervisor receives no alert.
When the queue remains above the threshold, the alert arrives with a frame from the checkout area. That detail matters. The person on shift can see whether there is a real queue or whether staff with a cart are standing near the register.
We also learned where the count becomes unreliable. A side-mounted camera can see two people standing close together as one silhouette. Racks with small goods, advertising stands, carts, and columns can hide part of the line. At the far end of a long queue, a person may occupy only a few dozen pixels and disappear from the count.
After this, we decided to set thresholds separately for each site and begin in shadow mode. For a few weeks, the system only counts. We compare that count with what a person sees in the same frames, then switch on staff alerts after the check.
A camera looking from above or at a steep angle sees heads separately and gives the most accurate count.
https://duovision.com.ua/en/resursy/cherhy-na-kasakh/
Written with AI assistance from our own published notes.
Top comments (1)
The shadow-mode period is the part most people skip, and it is where the useful calibration happens. One thing worth adding: a camera that undercounts people at the far end of a long queue biases low exactly when the queue is longest, so the error correlates with the thing you are trying to detect. Comparing the count against POS service rate over a full shift, not just at peak, surfaces that bias faster than a spot check.