You are here: Start » AVL.NET » Invoke.ReadSingleDataCode

Invoke.ReadSingleDataCode

Reads a single data code (1D or 2D) in the input image.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void ReadSingleDataCode
(
	Avl.ReadDataCodes_State ioState,
	Avl.Image inImage,
	Optional<Avl.Rectangle2D> inRoi,
	Optional<Avl.CoordinateSystem2D> inRoiAlignment,
	Optional<Avl.MatrixSymbologies> inMatrixSymbologies,
	Optional<Avl.LinearSymbologies> inLinearSymbologies,
	Avl.DataCodeDetectorParams inDetectorParams,
	Avl.MatrixCodeParams inMatrixCodeParams,
	Avl.LinearCodeParams inLinearCodeParams,
	bool inComputeScores,
	Conditional<Avl.DataCode> outDataCode,
	List<Avl.Path> outCandidates,
	Optional<Avl.Rectangle2D> outAlignedRoi
)

Parameters

Name Type Range Default Description
ioStateAvl.ReadDataCodes_State
inImageAvl.ImageInput image.
inRoiAtl.Optional<Avl.Rectangle2D>Region of interest. Default value: atl::NIL.
inRoiAlignmentAtl.Optional<Avl.CoordinateSystem2D>Coordinate system for the region of interest. Default value: atl::NIL.
inMatrixSymbologiesAtl.Optional<Avl.MatrixSymbologies>Specifies which matrix symbologies the filter should try to read. Default value: atl::NIL.
inLinearSymbologiesAtl.Optional<Avl.LinearSymbologies>Specifies which linear symbologies the filter should try to read. Default value: atl::NIL.
inDetectorParamsAvl.DataCodeDetectorParamsParameters of the code detection algorithm, common for linear and matrix codes.
inMatrixCodeParamsAvl.MatrixCodeParamsParameters specific to matrix (2D) codes.
inLinearCodeParamsAvl.LinearCodeParamsParameters specific to linear (1D) codes.
inComputeScoresboolEnables computing of confidence scores (slower).
outDataCodeAtl.Conditional<Avl.DataCode>A code that has been correctly detected and decoded.
outCandidatesSystem.Collections.Generic.List<Avl.Path>Diagnostic information about detection results.
outAlignedRoiAtl.Optional<Avl.Rectangle2D>Input ROI after transformation (in the image coordinates).

See also