BarBeR

Barcode benchmarking dataset of 8,748 real images with 9,818 polygon-annotated barcodes across 18 1D and 2D symbologies, released with the ICPR 2024 paper.

Overview

This page describes the dataset used in the ICPR 2024 paper BarBeR: A Barcode Benchmarking Repository. It is a collection of 8,748 real images containing barcodes of different types, captured in different conditions and annotated with polygons. The dataset was developed for training and testing barcode localization algorithms, and can be used to replicate the results presented in the paper.

ICPR 2024

Features

The dataset gathers 12 smaller public datasets of 1D and 2D barcodes, whose metadata has been rewritten in a unified format using the VGG annotator. Overall, it accounts for 8,748 images with 9,818 annotated barcodes: 8,062 linear and 1,756 two-dimensional.

It covers 18 barcode types: 14 linear symbologies (Code 128, Code 39, EAN-2, EAN-8, EAN-13, GS1-128, IATA 2 of 5, Intelligent Mail Barcode, Interleaved 2 of 5, Japan Postal Barcode, KIX-code, PostNet, RoyalMail Code, and UPC) and 4 two-dimensional ones (Aztec, Datamatrix, PDF-417, and QR Code). Besides its polygon, each annotation records three characteristics of the code: its type, its PPE (pixels per element, also known as PPM or pixels per module), and the encoded string. Image resolutions range from 200 × 141 to 5,984 × 3,376 pixels.

FieldValue
# Images8,748
# Barcodes9,818 (8,062 1D, 1,756 2D)
Categories19
PPE range1D: 0.88 – 24.33, 2D: 1.21 – 71.1
Resolution200 × 141 – 5,984 × 3,376
FormatVGG Annotator

Dataset Structure

The BarBeR dataset follows the VGG annotation format: images in JPG format and a folder of JSON files with the annotations. Each barcode is assigned a polygon of 4 vertices and one of 19 values for the Type attribute: 18 identify a barcode type, while the last one, 1D, marks a linear barcode that could not be assigned a category automatically because it is undecodable. When running the benchmark, all categories are grouped into two bigger classes: 1D and 2D.

Download

You need to have an account to download the dataset. Please sign in or sign up!

How to cite

If you use our dataset, you must cite the following papers.

text loading...

Copy