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 · Manufacturing & QC

Bottle defect detection: Datasets & Models

Automated visual inspection of bottles on the production line to catch defects like cracks, deformations, and fill or label errors before packaging. Uses object detection to flag flawed units in real time.

Bottle defect detection example
1M+
developers
16k
organizations
50B
inferences

Bottle defect detection

This detection workflow analyzes images or video frames from line-side cameras to inspect bottles as they pass through a production line, drawing bounding boxes around each flaw it identifies. Trained on a bottle defect dataset, it detects issues such as cracks, chips, deformed necks, missing or misaligned caps, and fill or label errors.

Try it out

Powered by general detection model

Run on custom image

Drop an image here or click to upload

Detecting classes:

Why automate bottle defect detection

Manual QC inspectors struggle to keep pace with high-speed bottling lines, and fatigue leads to missed defects and inconsistent standards across shifts. Automating inspection with computer vision provides consistent, tireless scrutiny of every bottle rather than a sampled subset, catching cracks, fill-level errors, and packaging faults that would otherwise reach customers. For manufacturing and QC teams, this reduces waste, recalls, and rework while freeing skilled staff for higher-value tasks. The detection approach also gives you precise defect locations, which helps trace recurring problems back to specific line stations.

Key benefits

A detection model like RF-DETR delivers accurate, real-time bottle inspection that scales to full line throughput without adding headcount. It integrates with the cameras and edge hardware you likely already have on the line, and can be retrained as new defect types or bottle formats appear. The result is higher first-pass yield, fewer escapes, and an auditable record of quality across every unit produced.

How to use it

  1. Upload an image: Drop any photo into the widget above to try bottle defect detection for free, right on this page.
  2. Preview instant results: The model detects bottle, crack, bottle cap, label, chip 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 bottle defect 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 bottle defect 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 Bottle Defect Detection project to Roboflow Agent.

Agent