Bottle counting: Datasets & Models
A computer vision workflow that detects and counts bottles on production lines, in cases, or on shelves using object detection. It runs on standard camera feeds to automate what would otherwise be manual tallying.
Bottle counting
This workflow performs bottle detection using object detection to locate each glass or plastic bottle in a frame and return a total count. It accepts images and video from fixed cameras or handheld devices covering conveyors, filling stations, packing cases, and retail shelves.
Try it out
Powered by general detection model
Run on custom image
Drop an image here or click to upload
Why automate bottle counting
Manual bottle counting on a food and beverage line is slow, error-prone, and hard to sustain at production speed, especially during high-throughput runs or inventory checks. Automating it with computer vision gives you a consistent count on every frame, flags miscounts before product ships, and frees staff from repetitive tallying. Because bottle detection reports the location of each unit, you can also catch missing bottles in a case or gaps on a shelf, not just totals.
Key benefits
Counting becomes continuous and objective, reducing the labor and rework tied to manual audits while improving fill and pack accuracy. The workflow integrates with existing line cameras and CCTV, so you can deploy without new hardware, and it scales from a single filling station to multiple lines or facilities. Using RF-DETR for detection gives strong accuracy on dense, overlapping bottle arrangements typical of beverage production.
How to use it
- Upload an image: Drop any photo into the widget above to try bottle counting for free, right on this page.
- Preview instant results: The model detects glass bottle, plastic bottle, bottle cap, bottle crate, beverage can 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 bottle counting
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 bottle counting, fine-tune it on your own labeled images, then deploy to a Serverless Cloud API endpoint.
Not sure where to start?
Describe your Bottle Counting project to Roboflow Agent.