You are here: Start » AVL.NET » Function Reference » Computer Vision » Datacodes » AVL.DecodeDataMatrix
Translates an image of 0 or 255 values to a text in accordance to how DataMatrix codes are encoded.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void DecodeDataMatrix ( AvlNet.Image inImage, bool inAllowMirrored, INullable<string> outText, out AvlNet.DataMatrixType? outType )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image of datamatrix image. | |||
inAllowMirrored | bool | Allows reading mirrored/transposed codes. | |||
outText | AvlNet.INullable<string> | Decoded text or nothing if decoding failed. This parameter cannot be null. | |||
outType | AvlNet.DataMatrixType? | DataMatrix code type. |
Description
Supported code types: ECC 200 and ECC 000-140.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Not supported inImage pixel format in DecodeDataMatrix. Supported formats: 1xUInt8. |