You are here: Start » Program Examples » Barcodes (EAN8)

Barcodes (EAN8)

Aim

The task is to detect and recognize a single EAN8 barcode.

Input

An image containing a EAN8 barcode. The position of the barcode is variable.

Output

Detected barcode and decoded text.

Hints

Labeling connections is explained in this article.

Solution (AVS)

1.In Workspace Explorer open workspace Examples and in Film strip window select Barcode_EAN8 dataset. Drag the Image channel to the ACQUIRE section. 2. Add the ReadSingleBarcode filter to detect and recognize a barcode. 3. Set the inBarcodeParams.Format parameter to EAN8. 4. Show the decoded text on a new preview window.

Macrofilter Main

Used Filters

Icon Name Description
ReadSingleBarcode To be used as an easy all-in-one solution for typical barcode reading applications.