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

RecognizeSingleDataMatrix_Deprecated
Header: | FIL.h |
---|---|
Namespace: | fil |
Extracts information from the first correct Data Matrix code from among the specified positions.
Syntax
void fil::RecognizeSingleDataMatrix_Deprecated ( const fil::Image& inImage, const ftl::Array<fil::Rectangle2D>& inDataMatrixPositions, fil::DataMatrixCodeType::Type inCodeType, ftl::Optional<int> inCodeColumnCount, ftl::Optional<int> inCodeRowCount, ftl::Conditional<fil::DataMatrix>& outDataMatrix, ftl::Conditional<fil::Image>& diagValues )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inImage | const Image& | Input image | ||
![]() |
inDataMatrixPositions | const Array<Rectangle2D>& | Candidates for Data Matrix | ||
![]() |
inCodeType | DataMatrixCodeType::Type | |||
![]() |
inCodeColumnCount | Optional<int> | 1 - 160 | NIL | Optional width of a Data Matrix |
![]() |
inCodeRowCount | Optional<int> | 1 - 160 | NIL | Optional height of a Data Matrix |
![]() |
outDataMatrix | Conditional<DataMatrix>& | |||
![]() |
diagValues | Conditional<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.
See Also
- DetectDataMatrices_Deprecated – Finds candidates for Data Matrix codes in the input image.
- DetectMultipleBarcodes – Determines the positions of multiple barcodes on the input image.
- DetectSingleBarcode – Determines the position of a single barcode on the input image.
- ReadMultipleDataMatrices_Deprecated – Detects and recognizes multiple Data Matrix codes.
- ReadSingleDataMatrix_Deprecated – Detects and recognizes a single Data Matrix code.
- 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.
- RecognizeMultipleDataMatrices_Deprecated – Extracts information from multiple Data Matrix codes located at the specified positions.