BinarizationBlockSize

Sets the block size for the process of binarization. Block size refers to the size of a pixel neighborhood used to calculate a threshold value for the pixel.

Presence

Optional

Type

Int

Values

[0,1000]

Default Value

0

Remarks

0: the block size used for binarization will be set to a value which is calculated automatically.

N: 1 ≤ N ≤ 3: the block size used for binarization will be set to 3. N > 3: the block size used for binarization will be set to N.

An appropriate value for BinarizationBlockSize can help generate a high quality binary image to increase the accuracy of barcode localization.

Example

{
    "BinarizationBlockSize": 60
}

results matching ""

    No results matching ""