Back to Aurora Vision Library website

You are here: Start » Function Reference » Computer Vision » Datacodes » ReadMultipleCodes_Z

ReadMultipleCodes_Z


Header: AVL.h
Namespace: avl
Module: Datacodes

Reads multiple 1D barcodes and PDF417 codes.

Applications: High-speed barcode reading with simple configuration.

Syntax

C++
C#
 
void avl::ReadMultipleCodes_Z
(
	ZCode_State& ioState,
	const avl::Image& inImage,
	const atl::Optional<atl::File>& inLoadConfigFile,
	const atl::Optional<atl::File>& inSaveConfigFile,
	atl::Optional<int> inTimeout,
	atl::Optional<int> inThreadCount,
	atl::Optional<int> inMaxCodeCount,
	bool inIssueIdenticalSymbols,
	const avl::Code1DSettings& inCode1DSettings,
	bool inEnablePDF417,
	bool inEnableCode128,
	bool inEnableCode39,
	bool inEnableCode93,
	bool inEnableInterleaved2of5,
	bool inEnableNoRead,
	bool inEnableQualityMetrics,
	atl::Array<avl::ZResult>& outResult,
	atl::Array<avl::ZQualityMetrics>& outQualityMetrics,
	atl::Array<avl::ZNoReadResult>& outNoReadResult
)

Parameters

Name Type Range Default Description
Input will be modified ioState ZCode_State& Object used to maintain state of the function.
Input value inImage const Image& Input image
Input value inLoadConfigFile const Optional<File>& NIL Configuration file to be loaded in .bin format. Used to restore previously saved settings - can overwrite other parameters.
Input value inSaveConfigFile const Optional<File>& NIL Path to save configuration file in .bin format. Used to save current settings for future use.
Input value inTimeout Optional<int> 1 - NIL Processing timeout in ms
Input value inThreadCount Optional<int> 1 - 31 NIL Number of processing threads
Input value inMaxCodeCount Optional<int> 1 - NIL Maximum number of codes
Input value inIssueIdenticalSymbols bool True Issue identical symbols
Input value inCode1DSettings const Code1DSettings& Code1D settings
Input value inEnablePDF417 bool True
Input value inEnableCode128 bool True
Input value inEnableCode39 bool False
Input value inEnableCode93 bool False
Input value inEnableInterleaved2of5 bool False
Input value inEnableNoRead bool False Enable return of the no read results
Input value inEnableQualityMetrics bool False Enable return of quality metrics
Output value outResult Array<ZResult>& Decode results
Output value outQualityMetrics Array<ZQualityMetrics>& Quality metrics of decoded codes
Output value outNoReadResult Array<ZNoReadResult>& No read result - code outline with the reason why it was not decoded

Requirements

For input inImage only pixel formats are supported: uint8.

Read more about pixel formats in Image documentation.

Errors

List of possible exceptions:

Error type Description
DomainError ReadMultipleCodes_Z is not supported on this platform.
DomainError Not supported inImage pixel format in ReadMultipleCodes_Z. Supported formats: UInt8.