You are here: Start » AVL.NET » AVL.RecognizeSingleDataMatrix_Deprecated(AvlNet.Image, AvlNet.Rectangle2D[], AvlNet.DataMatrixCodeType, int?, int?, AvlNet.DataMatrix?, AvlNet.Image)
AVL.RecognizeSingleDataMatrix_Deprecated(AvlNet.Image, AvlNet.Rectangle2D[], AvlNet.DataMatrixCodeType, int?, int?, AvlNet.DataMatrix?, AvlNet.Image)
Extracts information from the first correct Data Matrix code from among the specified positions.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void RecognizeSingleDataMatrix_Deprecated( AvlNet.Image inImage, AvlNet.Rectangle2D[] inDataMatrixPositions, AvlNet.DataMatrixCodeType inCodeType, int? inCodeColumnCount, int? inCodeRowCount, out AvlNet.DataMatrix? outDataMatrix, out AvlNet.Image diagValues )
Parameters
- inImage
- Type: AvlNet.Image
Input image - inDataMatrixPositions
- Type: AvlNet.Rectangle2D
Candidates for Data Matrix - inCodeType
- Type: AvlNet.DataMatrixCodeType
- inCodeColumnCount
- Type: System.Nullable<System.Int32>
Optional width of a Data Matrix, or null. - inCodeRowCount
- Type: System.Nullable<System.Int32>
Optional height of a Data Matrix, or null. - outDataMatrix
- Type: System.Nullable<AvlNet.DataMatrix>
- diagValues
- Type: AvlNet.Image
Image of decoded Data Matrix used by the reading algorithm
Description
The operation reads a DataMatrix code on the inImage.
The operation is capable of reading codes from images subject to perspective distortion.
Supported code types: ECC 200 and ECC 000-140.
Around datamatrix must be quiet zone. The minimum quiet zone is equal to the width of a module on all four sides. For applications with moderate to excessive reflected noise in close proximity to the symbol, a quiet zone of 2 to 4 module widths is recommended.
Examples
![]() |
RecognizeSingleDataMatrix_Deprecated results drawn onto an input image.

