Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS OCR C DLL Help

CHAR_FILTER

Show in webframe

typedef enum
{
   ZONE_CHAR_FILTER_DEFAULT = 0,
   ZONE_CHAR_FILTER_DIGIT,
   ZONE_CHAR_FILTER_UPPERCASE,
   ZONE_CHAR_FILTER_LOWERCASE,
   ZONE_CHAR_FILTER_PUNCTUATION,
   ZONE_CHAR_FILTER_MISCELLANEOUS,
   ZONE_CHAR_FILTER_PLUS,
   ZONE_CHAR_FILTER_ALL,
   ZONE_CHAR_FILTER_ALPHA,
   ZONE_CHAR_FILTER_NUMBERS
   ZONE_CHAR_FILTER_OCRA
} CHAR_FILTER;

The CHAR_FILTER enumerated type represents the possible character set filters for a zone.

Value

Meaning

ZONE_CHAR_FILTER_DEFAULT

Use this value to handle the zone globally. Do not combine this with any other filter.

ZONE_CHAR_FILTER_DIGIT

Recognize numerals only. E.g.: "3" (Digit Three).

ZONE_CHAR_FILTER_UPPERCASE

Recognize uppercase letters only, including accented ones. E.g.: "A" (Capital A).

ZONE_CHAR_FILTER_LOWERCASE

Recognize lowercase letters only including accented ones. E.g.: "a" (Lowercase a).

ZONE_CHAR_FILTER_PUNCTUATION

Recognize punctuation signs only. E.g.: "!" (Exclamation Mark).

ZONE_CHAR_FILTER_MISCELLANEOUS

Recognize miscellaneous characters only. E.g.: "+" (Plus sign).

ZONE_CHAR_FILTER_PLUS

Enable the use of the Filter Plus characters specified by the pCHAROPTIONS structure. The Filter Plus characters are added to the language environment after any filtering. This filter can also be used to achieve a very limited character set.

ZONE_CHAR_FILTER_ALL

Since all elements are enabled, there is no filtering.

ZONE_CHAR_FILTER_ALPHA

Recognize upper and lowercase letters only.

ZONE_CHAR_FILTER_NUMBERS

Recognize the digits, plus the Filter Plus characters set by the L_DocSetCharLangsOptions function.

ZONE_CHAR_FILTER_OCRA

Recognize the OCR-A characters with digit characters.

Comments

This enumerated type is used by the following structures:

ZONEDATA

CHAROPTIONS

Notes

Characters in the document that are not part of the specified Character Set will either be rejected or will be recognized as a validated character with a similar shape.

The capabilities of the selected recognition module can also impose restrictions, e.g. the ASIAN module doesn't support character filters so these filters will not work with Asian recognition module while the Asian language is enabled.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.