DictionaryMode Property
Applies To
Vision Object: OCR
Description
Specifies the dictionary mode.
Usage
VGet Sequence.Object.DictionaryMode, var
VSet Sequence.Object.DisctionaryMode, value
- Sequence
- Name of a sequence or string variable containing a sequence name.
- Object
- Name of an object or string variable containing an object name. The object must exist in the specified sequence.
- var
- Integer variable that will contain the value of the property.
- value
- Integer value or expression for the new value of the property.
Values
- 1 - All
- Vision constant: VISION_DICMODE_ALL
- All character type mode
- 2 - AlphaNumeric
- Vision constant: VISION_DICMODE_ALPHANUMERIC
- English restricted mode
- 3 - NoSysDictionary
- Vision constant: VISION_DICMODE_NOSYSDICT
- Non-use for system dictionary mode
Default: 1 - All
Remarks
OCR recognizes characters by using the system dictionary and user definition dictionary. Common fonts are registered in the system dictionary in advance. Also, the user definition dictionary includes characters used in projects and imported to projects.
The DictionaryMode property switches mode of the system dictionary. The all character type mode is recognized by common fonts used in Europe, the United State, and Japan. The English restricted mode is recognized by common fonts of alphabet (A-Z, a-z), number (0-9), and ASCII character code such as “!,”. The non-use for system dictionary mode uses the user definition dictionary only to recognize.
The user definition dictionary is used all registered characters regardless of the dictionary mode.
See Also
OCR Object