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

Invoke.ReadSingleDatacode

Detects and recognizes one Data Code.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void ReadSingleDatacode
(
	Avl.ReadDataMatrixCodes_State ioState,
	Avl.Image inImage,
	Optional<Avl.Rectangle2D> inRoi,
	Optional<Avl.CoordinateSystem2D> inRoiAlignment,
	Avl.DatacodeParams inCodeParams,
	Avl.DatacodeDetectionParams inDetectionParams,
	bool inComputeScores,
	Avl.DataCodeTypeSelection inTypeSelection,
	Conditional<Avl.DataCode> outDataCode,
	List<Avl.Path> outCandidates,
	Optional<Avl.Rectangle2D> outAlignedRoi
)

Parameters

Name Type Range Default Description
ioStateAvl.ReadDataMatrixCodes_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.
inCodeParamsAvl.DatacodeParamsSpecification of codes that can be detected.
inDetectionParamsAvl.DatacodeDetectionParamsParameters of the code detection algorithm.
inComputeScoresboolEnables computing of confidence scores (much slower!).
inTypeSelectionAvl.DataCodeTypeSelectionSpecifies which code types the filter should try to read.
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