Out of stock detection: Datasets & Models
Detect empty shelf space and out-of-stock products on retail shelves using object detection on camera or shelf-scan imagery.
Out of stock detection
This out of stock detection workflow runs object detection on retail shelf images captured from fixed cameras or handheld shelf scans to flag where products are missing. It identifies empty shelf regions, gaps between facings, and price tags that lack a corresponding product, giving teams the data to trigger restocking and check shelf state against planograms.
Try it out
Powered by general detection model
Run on custom image
Drop an image here or click to upload
Why automate out of stock detection
Manual out of stock detection means associates walking every aisle on a schedule, which is slow, inconsistent, and often misses gaps between checks, leading to lost sales and frustrated shoppers who can't find items. Automating shelf monitoring with a detection model gives near-real-time visibility into which shelves are empty or running low, so replenishment can be triggered before a sale is lost. For retail tech teams, this turns shelf auditing from a periodic chore into a continuous, measurable signal that plugs into inventory and task-management systems.
Key benefits
Automated out of stock detection reduces missed sales from empty shelves, speeds up restocking response times, and produces objective shelf-compliance data instead of manual spot checks. It works with existing store cameras, associate smartphones, or shelf-scanning hardware, and scales across aisles and store locations without adding headcount. Built on RF-DETR, the detection pipeline is accurate on dense, cluttered shelf scenes and easy to retrain as product assortments change.
How to use it
- Upload an image: Drop any photo into the widget above to try out of stock detection for free, right on this page.
- Preview instant results: The model detects empty shelf, product, price tag, shelf gap, stocked shelf 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.
- 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.
- 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 for out of stock 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 out of stock detection, fine-tune it on your own labeled images, then deploy to a Serverless Cloud API endpoint.
Not sure where to start?
Describe your Out of Stock Detection project to Roboflow Agent.