You are here: Start » AVL.NET » AVL.ReadSingleDataMatrixCode_Deprecated(AvlNet.Image, AvlNet.Rectangle2D?, AvlNet.CoordinateSystem2D?, AvlNet.DataMatrixCodeParams, int, int, AvlNet.DataCode, AvlNet.Path[], AvlNet.Rectangle2D)

AVL.ReadSingleDataMatrixCode_Deprecated(AvlNet.Image, AvlNet.Rectangle2D?, AvlNet.CoordinateSystem2D?, AvlNet.DataMatrixCodeParams, int, int, AvlNet.DataCode, AvlNet.Path[], AvlNet.Rectangle2D)

Detects and recognizes one Data Matrix code.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void ReadSingleDataMatrixCode_Deprecated(
	AvlNet.Image inImage,
	AvlNet.Rectangle2D? inRoi,
	AvlNet.CoordinateSystem2D? inRoiAlignment,
	AvlNet.DataMatrixCodeParams inCodeParams,
	int inContrastThreshold,
	int inFlags,
	out AvlNet.DataCode outDataMatrixCode,
	out AvlNet.Path[] outCandidates,
	out AvlNet.Rectangle2D outAlignedRoi
)

Parameters

inImage
Type: AvlNet.Image
Input image
inRoi
Type: System.Nullable<AvlNet.Rectangle2D>
Region of interest, or null.
inRoiAlignment
Type: System.Nullable<AvlNet.CoordinateSystem2D>
Coordinate system for the region of interest, or null.
inCodeParams
Type: AvlNet.DataMatrixCodeParams
Specification of codes that can be found
inContrastThreshold
Type: System.Int32
Minimal difference between dark and bright modules
inFlags
Type: System.Int32
Undocumented advanced tweaks for difficult cases
outDataMatrixCode
Type: AvlNet.DataCode
outCandidates
Type: AvlNet.Path
Diagnostic information about detection results
outAlignedRoi
Type: AvlNet.Rectangle2D

Description

This filter detects and recognizes one data matrix code on an image.

Supported code types: ECC 200 and ECC 000-140.

Examples

DataMatrix on blurry image.

Low quality DataMatrix code.

DataMatrix on chip.

Rectangular DataMatrix code.

Remarks

For more information about local coordinate systems please refer to the following article.

See also