Barcodes Computer Vision Model

byBarcode detectionTask:
Object Detection
License:CC BY 4.0

How to use the Barcodes Detection API

Try This Model

Drop an image here or click to upload

Or try a test image 

Code Snippets

from inference_sdk import InferenceHTTPClient

CLIENT = InferenceHTTPClient(
    api_url="https://serverless.roboflow.com",
    api_key="API_KEY"
)

result = CLIENT.infer("YOUR_IMAGE.jpg", model_id="barcodes-zmxjq-qldtk/1")
Give your agent everything it needs

Or, Use Free Barcode, Bar_code and Detection Detection API

Powered by general detection model

Code
pip install inference-sdk
# 1. Import the library
from inference_sdk import InferenceHTTPClient

# 2. Connect to your workspace
client = InferenceHTTPClient(
  api_url="https://serverless.roboflow.com",
  api_key="API_KEY"
)

# 3. Run your workflow on an image
result = client.run_workflow(
  workspace_name="<YOUR_WORKSPACE>",
  workflow_id="<YOUR_WORKFLOW_ID>",
  images={
    "image": "YOUR_IMAGE.jpg"  # Path to your image file
  },
  parameters={
    "classes": "barcode, bar_code, detection, qr_code"
  },
  use_cache=True  # cache workflow definition for 15 minutes
)

# 4. Get your results
print(result)

Run on custom image

Drop an image here or click to upload

Detecting classes:
Or try a test image 

About Barcodes Model

Barcodes and QR codes are images with black and white components that, when scanned, can be coded to transmit information. Barcodes are machine-readable and often used in retail, logistics, manufacturing, point-of-sale, event ticketing, shipping, delivery, and asset management use cases.

This dataset uses bounding boxes for detection of barcodes and QR codes. Once a barcode is identified within an image, an application could trigger the reading of the barcode or post-processing can be used to crop the barcode to be passed for an application to read the barcode.

Barcodes can be read with computer vision using mobile devices such as iPhones or Android devices.

Research available on barcode recognition: https://link.springer.com/chapter/10.1007/978-3-030-57058-3_34

Github resources for barcode recognition: https://github.com/abbyy/barcode_detection_benchmark

How QR codes work: https://typefully.com/DanHollick/qr-codes-T7tLlNi

Cite This Project

LicenseCC BY 4.0

If you use this dataset in a research paper, please cite it using the following BibTeX:

@misc{ barcodes-zmxjq-qldtk_dataset,
  title = { Barcodes Dataset },
  type = { Open Source Dataset },
  author = { Barcode detection },
  howpublished = { \url{ https://universe.roboflow.com/barcode-detection-njo0c/barcodes-zmxjq-qldtk } },
  url = { https://universe.roboflow.com/barcode-detection-njo0c/barcodes-zmxjq-qldtk },
  journal = { Roboflow Universe },
  publisher = { Roboflow },
  year = { 2025 },
  month = { jul },
  note = { visited on 2026-07-29 },
}

Similar Projects

See More