You are here: Start » AVL.NET » Function Reference » Computer Vision » Datacodes » AVL.DecodeDataMatrix

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
inImageAvlNet.ImageInput image of datamatrix image.
inAllowMirroredboolAllows reading mirrored/transposed codes.
outTextAvlNet.INullable<string>Decoded text or nothing if decoding failed. This parameter cannot be null.
outTypeAvlNet.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.

See also