You are here: Start » AVL.NET » AVL.ReadSingleDataMatrixCode

AVL.ReadSingleDataMatrixCode

Detects and recognizes one Data Matrix code.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void ReadSingleDataMatrixCode
(
	AvlNet.Image inImage,
	AvlNet.Rectangle2D? inRoi,
	AvlNet.CoordinateSystem2D? inRoiAlignment,
	AvlNet.DataMatrixCodeParams inCodeParams,
	AvlNet.DataMatrixDetectionParams inDetectionParams,
	INullable<AvlNet.DataCode> outDataMatrixCode,
	IList<AvlNet.Path> outCandidates,
	NullableValue<AvlNet.Rectangle2D> outAlignedRoi
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inRoiAvlNet.Rectangle2D?Region of interest. Default value: atl::NIL.
inRoiAlignmentAvlNet.CoordinateSystem2D?Coordinate system for the region of interest. Default value: atl::NIL.
inCodeParamsAvlNet.DataMatrixCodeParamsSpecification of codes that can be detected.
inDetectionParamsAvlNet.DataMatrixDetectionParamsSpecification of the way the codes are being detected.
outDataMatrixCodeAvlNet.INullable<AvlNet.DataCode> This parameter cannot be null.
outCandidatesSystem.Collections.Generic.IList<AvlNet.Path>Diagnostic information about detection results.
outAlignedRoiAvlNet.NullableValue<AvlNet.Rectangle2D>Input ROI after transformation (in the image coordinates). Can be null to skip this parameter calculation.

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

Read more about Local Coordinate Systems in Machine Vision Guide: Local Coordinate Systems.

Function Overrides

See also