MatrixCodeParams

Description

Parameters for reading Data Matrix and QR Codes.

Structure fields and default values (if defined) are described below:

Name Type Default Description
MinRowCount int 8 Minimal number of rows
MaxRowCount int 72 Maximal number of rows
MinColumnCount int 8 Minimal number of columns
MaxColumnCount int 72 Maximal number of columns
MinModuleSize float 3.5f Minimal size of a module in pixels (low values may highly increase execution time)
MaxModuleSize float 24.0f Maximal size of a module in pixels
AllowBrokenTiming bool true Tries to add missing points and restore regular spacing in the code's distorted Timing Pattern.
AllowBrokenCorner bool true Tries to create a candidate even if the bottom-left corner of a Data Matrix code is occluded.
AllowMirrored bool false Allows codes to be mirrored/transposed.
AllowOversizedModules bool true Allows codes with foreground modules overlapping background modules.
MaxRectangleRatio atl::Optional<float> 4.0f The length ratio between the longer and the shorter side of the code's bounding rectangle.