Back to FabImage Library website

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

DecodeBarcode_Deprecated


Header: FIL.h
Namespace: fil
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 fil::DecodeBarcode_Deprecated
(
	const ftl::Array<float>& inBarWidths,
	ftl::Optional<fil::BarcodeFormat::Type> inBarcodeFormat,
	ftl::Conditional<ftl::String>& outDecodedText,
	ftl::Conditional<fil::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