Documentation
Table of contents
Notice: This documentation is archived. For the latest product features and documentation, please visit Dynamsoft Capture Vision Documentation.

ConfusableCharactersCorrection

The parameter ConfusableCharactersCorrection defines the confusing character set and an array of reference font names for error correction.

The currently supported built-in fonts are as follows:

  • ARIAL
  • COURIER_NEW
  • OCR_B
  • TIMES_NEW_ROMAN
  • VERDANA
  • HELVETICA

The currently supported built-in confusable characters sets are as follows:

  • [“0”, “o”, “O”]
  • [“l”, “1”, “I”]
  • [“5”, “s”, “S”]

Example

{
    "ConfusableCharactersCorrection": 
    {
        "ConfusableCharacters": [
            ["0", "o", "O"],
            ["l", "1", "I"],
            ["5", "s", "S"]
        ],
        "FontNameArray": [
            "ARIAL"
        ]
    }
}

Parameter Summary

ConfusableCharacters

Parameter ConfusableCharacters defines an array of confusing characters sets for correction.

ConfusableCharacters Parameter Summary
Type
String[][]
Range
Each row of the array should be a supported confusing characters set. The currently supported built-in confusable characters sets are as follows:
[“0”, “o”, “O”]
[“l”, “1”, “I”]
[“5”, “s”, “S”]
Default Value
[
[“0”, “o”, “O”],
[“l”, “1”, “I”],
[“5”, “s”, “S”]
]

FontNameArray

Parameter FontNameArray is an array of supported font names.

FontNameArray Parameter Summary
Type
String[]
Range
Each member should be a supported font name. The currently supported built-in fonts are as follows:
ARIAL
COURIER_NEW
OCR_B
TIMES_NEW_ROMAN
VERDANA
HELVETICA
Default Value
null
Remarks
null indicates that the confusable characters telling is not enabled.

Is this page helpful?

YesYes NoNo

In this article:

Version 2.4.10

    • version 2.4.10
    • Version 2.x
      • Version 2.2.30
      • Version 2.2.20
      • Version 2.2.10
      • Version 2.2.0
      • Version 2.0.30
      • Version 2.0.20
      • Version 2.0.10
      • Version 2.0.0
    Change +