Back to Adaptive Vision Library website

You are here: Start » Function Reference » Datacodes » DecodeDataMatrix

DecodeDataMatrix


Translates a matrix of 0 or 1 values to a text in accordance to how DataMatrix codes are encoded.

Header:AVL.h

Syntax

C++
C#
 
void avl::DecodeDataMatrix
(
	const avl::Matrix& inMatrixValues,
	atl::Conditional<atl::String>& outText,
	atl::Conditional<avl::DataMatrixType::Type>& outType
)

Parameters

Name Type Default Description
inMatrixValues const Matrix& Matrix of binary values
outText Conditional<String>& Decoded text or nothing if decoding failed
outType Conditional<DataMatrixType::Type>& DataMatrix code type

Description

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

See Also

  • ReadSingleQRCode – Detects and recognizes a single QR code on the input image.
  • RecognizeBarcode – Extracts information from a barcode located on the input image at a given position.