ReadMultipleCodes_Z


Reads multiple 1D barcodes and PDF417 codes.

Applications:High-speed barcode reading with simple configuration.

Syntax

C++
C#
Python
 
def ReadMultipleCodes_Z(
	state: ZCode_State,
	inImage: Image,
	/,
	*,
	inLoadConfigFile: str | None = None,
	inSaveConfigFile: str | None = None,
	inTimeout: int | None = None,
	inThreadCount: int | None = None,
	inMaxCodeCount: int | None = None,
	inIssueIdenticalSymbols: bool = True,
	inCode1DSettings: Code1DSettings = Code1DSettings(True, ZCodePolarity.Normal, 80, False, False, False),
	inEnablePDF417: bool = True,
	inEnableCode128: bool = True,
	inEnableCode39: bool = False,
	inEnableCode93: bool = False,
	inEnableInterleaved2of5: bool = False,
	inEnableNoRead: bool = False,
	inEnableQualityMetrics: bool = False
)
-> (
	outResult: list[ZResult],
	outQualityMetrics: list[ZQualityMetrics],
	outNoReadResult: list[ZNoReadResult]
)

Parameters

Name Type Range Default Description
Input will be modified ioState ZCode_State
Input value inImage Image Input image
Input value inLoadConfigFile str | None None Configuration file to be loaded in .bin format. Used to restore previously saved settings - can overwrite other parameters.
Input value inSaveConfigFile str | None None Path to save configuration file in .bin format. Used to save current settings for future use.
Input value inTimeout int | None 1 - None Processing timeout in ms
Input value inThreadCount int | None 1 - 31 None Number of processing threads
Input value inMaxCodeCount int | None 1 - None Maximum number of codes
Input value inIssueIdenticalSymbols bool True Issue identical symbols
Input value inCode1DSettings Code1DSettings Code1DSettings(True, ZCodePolarity.Normal, 80, False, False, False) 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 list[ZResult] Decode results
Output value outQualityMetrics list[ZQualityMetrics] Quality metrics of decoded codes
Output value outNoReadResult list[ZNoReadResult] No read result - code outline with the reason why it was not decoded