The OcrZoneRecognitionModule Enumeration is available in LEADTOOLS Document and Medical Imaging toolkits.
Available recognition modules of the engine.Visual Basic (Declaration) | |
---|---|
<DataContractAttribute(Namespace="http://Leadtools.Services.Forms.DataContracts/2009/01", Name="OcrZoneRecognitionModule")> Public Enum OcrZoneRecognitionModule Inherits System.Enum Implements IComparable, IConvertible, IFormattable |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As OcrZoneRecognitionModule |
C# | |
---|---|
[DataContractAttribute(Namespace="http://Leadtools.Services.Forms.DataContracts/2009/01", Name="OcrZoneRecognitionModule")] public enum OcrZoneRecognitionModule : System.Enum, IComparable, IConvertible, IFormattable |
C++/CLI | |
---|---|
[DataContractAttribute(Namespace="http://Leadtools.Services.Forms.DataContracts/2009/01", Name="OcrZoneRecognitionModule")] public enum class OcrZoneRecognitionModule : public System.Enum, IComparable, IConvertible, IFormattable |
Member | Description |
---|---|
Asian | Asian characters recognition module. |
Auto | The engine will try to automatically select the most suitable recognition module for the zone. This will be determined just before recognition, according to the zone's filling method (OcrZone.FillMethod) and, if necessary, other settings, most typically the character set. |
DotMatrix | DOT 9-pin draft dot-matrix recognition module. |
IcrCharacter | Handprinted character recognition module. |
IcrNumeral | Handprinted numeral recognition module. |
MatrixMatching | MAT matrix matching recognition module. |
OmniFontFireWorx | Omni Font FireWorx module. |
OmniFontMor | Multi-lingual MOR omnifont recognition module. |
OmniFontMText | M/TEXT omnifont recognition module. |
OmniFontPlus2WayVoting | Omni Font 2-way voting module. |
OmniFontPlus3WayVoting | Omni Font 3-way voting module. |
Omr | OMR (Optical Mark Recognition) module. |
OcrZoneRecognitionModule contains the different recognition modules of the engine available to you. A recognition module must have been assigned to all zones in their OcrZone.RecognitionModule properties before processing.
Each zone needs to be associated with a OcrZoneRecognitionModule and a OcrZoneFillMethod. This is needed because some recognition modules support more than one fill method, and some fill methods are accepted by more than one recognition module. It is important to ensure that the recognition module/fill method pair is suitable. For example, the multi-lingual MOR omnifont recognition module OcrZoneRecognitionModule.OmniFontMor is capable of recognizing omnifont machine print (OcrZoneFillMethod.OmniFont), 24-pin draft dot-matrix print (OcrZoneFillMethod.DraftDot24), OCR-A (OcrZoneFillMethod.OcrA) and OCR-B (OcrZoneFillMethod.OcrB) texts.
For precise information on permitted recognition module/fill method pairs refer to An Overview of OCR Recognition Modules.
OcrZoneRecognitionModule.Auto can be set in the OcrZone.RecognitionModule property by the user, it will also be generated by the auto-zoning process.
When OcrZoneRecognitionModule.Auto is set, the recognition module is chosen primarily by the fill method (either directly specified, taken as default or auto-detected). The choices will be as follows:
In the first nine cases, only the fill method will be used to determine the recognition module, there will be no checking whether other settings are suitable. With OcrZoneFillMethod.Icr, OcrZoneRecognitionModule.IcrCharacter will be chosen if letters or other characters unsupported by OcrZoneRecognitionModule.IcrNumeral are validated for recognition. The last three will be directed to OcrZoneRecognitionModule.OmniFontMText, unless the engine finds a language, filter or other setting which is not supported by this module. For further details see the An Overview of OCR Recognition Modules.
As an example, the zone's fill method is OcrZoneFillMethod.OmniFont and OcrZoneRecognitionModule.Auto has been specified.
If only the characters of English and/or the main West European languages are validated for recognition, then the M/TEXT omnifont recognition module (OcrZoneRecognitionModule.OmniFontMText) will be automatically selected.
However, if e.g. the Polish characters are also to be recognized, the engine will select the multi-lingual MOR omnifont recognition module OcrZoneRecognitionModule.OmniFontMor, since the M/TEXT recognition module does not support the Polish characters, but the MOR recognition module does.
System.Object
System.ValueType
System.Enum
Leadtools.Services.Forms.DataContracts.OcrZoneRecognitionModule
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7