AntiDamageLevel

Sets the degree of anti-damage of the barcode, which decides how many localization algorithms will be used for locating the barcode area.

Presence

Optional

Type

Int

Values

[0,9]

Default Value

9

Remarks

If you have a damaged image, you can set this property to a larger value and use it with ExpectedBarcodesCount.

0 <= N <= 3: one localization algorithm will be used. 4 <= N <= 5: two localization algorithms will be used. 6 <= N <= 7: three localization algorithms will be used. 8 <= N <= 9: four (i.e. all) localization algorithm will be used.

If the ExpectedBarcodesCount is set to 0 or 1, it's suggested to set AntiDamageLevel to 9 to ensure best decoding efficiency; otherwise, the value of AntiDamageLevel is suggested to be set to 7. For more information about our localization algorithms, please check AlgorithmPriority.

Example

{
    "AntiDamageLevel": 9
}

results matching ""

    No results matching ""