Back to Aurora Vision Library website

You are here: Start » Function Reference » Computer Vision » Barcodes » DecodeBarcode_Deprecated

DecodeBarcode_Deprecated


Header: AVL.h
Namespace: avl
Module: Barcodes

Translates an array of bar widths to sequence of digits or text in accordance to the selected barcode standard.

Applications: Decoding of barcodes whose bars have been measured in a non-standard way.

Syntax

void avl::DecodeBarcode_Deprecated
(
	const atl::Array<float>& inBarWidths,
	atl::Optional<avl::BarcodeFormat::Type> inBarcodeFormat,
	atl::Conditional<atl::String>& outDecodedText,
	atl::Conditional<avl::BarcodeFormat::Type>& outBarcodeFormat
)

Parameters

Name Type Default Description
Input value inBarWidths const Array<float>& Widths of the barcode bars (starting with width of the black bar)
Input value inBarcodeFormat Optional<BarcodeFormat::Type> EAN13 Format of the barcode
Output value outDecodedText Conditional<String>& Decoded barcode text or nothing if decoding failed
Output value outBarcodeFormat Conditional<BarcodeFormat::Type>& Decoded barcode format or nothing if decoding failed