ETcVnDotCodeOptions

Offers DotCode detection options.

Syntax

Definition:

enum ETcVnDotCodeOptions : ULONGLONG
{
    DCO_DEFAULT        = 0,
    DCO_BINARY_INPUT   = 1,
    DCO_DETECTBLOBS    = 2,
    DCO_FILTERCONTOURS = 4,
    DCO_REGULAR_COLOR  = 16,
    DCO_INVERTED_COLOR = 32
};

Values

Name

Description

DCO_DEFAULT

Expects a graylevel image as input and applies the default algorithm (similar to the reference decode algorithm)

DCO_BINARY_INPUT

Expects a binary image as input (all pixels must contain 0 or 255, disables internal preprocessing)

DCO_DETECTBLOBS

Modifies the default algorithm by using blob detection to find the dots (can't be combined with BINARY_INPUT or FILTERCONTOURS)

DCO_FILTERCONTOURS

As a preprocessing step, remove contours connected to the image border and with significantly wrong size (relative to provided fModuleWidth)

DCO_REGULAR_COLOR

Only search for regular color (dark code on light background)

DCO_INVERTED_COLOR

Only search for inverted color (light code on dark background)