This page is being translated by your browser

Translation can break parts of Roboflow. If something stops working, turn translation off and reload the page.

Detection · Retail Tech

Queue length detection: Datasets & Models

Computer vision that counts people waiting in line and measures queue length from overhead or wall-mounted cameras. Detects individuals and shopping carts in checkout and service areas to estimate wait conditions in real time.

Queue length detection example
1M+
developers
16k
organizations
50B
inferences

Queue length detection

This queue length detection workflow runs object detection on video frames from overhead or wall-mounted retail cameras to locate shoppers and shopping carts waiting in checkout and service lines. It outputs per-lane counts that can be turned into a queue length dataset for tracking wait conditions, staffing decisions, and occupancy thresholds in real time.

Try it out

Powered by general detection model

Run on custom image

Drop an image here or click to upload

Detecting classes:

Why automate queue length detection

Manually monitoring lines means a staff member has to watch cameras or walk the floor, and by the time a long queue is noticed, customers are already frustrated or walking out. Automating queue length detection with computer vision gives retail teams a continuous, objective signal to trigger lane openings, staff reallocation, or floor alerts before abandonment happens. Instead of guessing at throughput, operations managers get per-lane counts they can log, chart, and tie to service-level goals. It removes the labor and inconsistency of human observation while surfacing patterns across time of day and location.

Key benefits

Teams get real-time queue counts that feed dashboards, staffing alerts, and historical reporting without adding new hardware, since the model runs on the cameras retailers already have installed. The detection approach scales from a single store to hundreds of locations using the same trained model and a shared queue length dataset for retraining. RF-DETR is recommended for its strong accuracy on crowded, overlapping-person scenes typical of checkout areas, making it well suited to reliable person counting in busy retail environments.

How to use it

  1. Upload an image: Drop any photo into the widget above to try queue length detection for free, right on this page.
  2. Preview instant results: The model detects person, shopping cart, checkout counter, shopping basket within seconds and returns an annotated image with structured predictions, so you can immediately see how well it works. Adjust the detection classes and re-run until the results fit your scenario.
  3. Like what you see?: With a free Roboflow account, you can deploy this workflow with the Serverless Cloud API, customize it in your workspace, or train RF-DETR on your own images for production accuracy.
  4. Get started for free: No code or training data required to begin: upload, review the results, and make it part of your stack in a single click.
Recommended model

Recommended model for queue length detection

RF-DETR is state of the art for real-time object detection, instance segmentation, and keypoint detection, with higher accuracy and lower latency than comparable models, and it's Apache 2.0 licensed. When you're ready to build a production model for queue length detection, fine-tune it on your own labeled images, then deploy to a Serverless Cloud API endpoint.

Train your own model
Roboflow Agent

Not sure where to start?

Describe your Queue Length Detection project to Roboflow Agent.

Agent