Error processing SSI file
LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)

Show in webframe

NativeOcrZoneRecognitionModule Enumeration








Available recognition modules of the engine.
Syntax
'Declaration
 
<SerializableAttribute()>
Public Enum NativeOcrZoneRecognitionModule 
   Inherits System.Enum
   Implements System.IComparable, System.IConvertible, System.IFormattable 
'Usage
 
Dim instance As NativeOcrZoneRecognitionModule
[SerializableAttribute()]
public enum NativeOcrZoneRecognitionModule : System.IComparable, System.IConvertible, System.IFormattable  
public enum NativeOcrZoneRecognitionModule
Leadtools.Forms.Ocr.NativeOcrZoneRecognitionModule = function() { };
Leadtools.Forms.Ocr.NativeOcrZoneRecognitionModule.prototype = {<br/>
  Auto = 0,
	OmniFontMText = 1,
	OmniFontMor = 2,
	DotMatrix = 3,
	Omr = 4,
	IcrNumeral = 5,
	IcrCharacter = 6,
	MatrixMatching = 7,
	OmniFontPlus2WayVoting = 8,
	OmniFontFireWorx = 9,
	OmniFontPlus3WayVoting = 10,
	Asian = 11,
	
 };
[SerializableAttribute()]
public enum class NativeOcrZoneRecognitionModule : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable  
Members
ValueMemberDescription
0Auto 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 (NativeOcrZone.FillMethod) and, if necessary, other settings, most typically the character set.
1OmniFontMText M/TEXT omnifont recognition module.
2OmniFontMor Multi-lingual MOR omnifont recognition module.
3DotMatrix DOT 9-pin draft dot-matrix recognition module.
4Omr OMR (Optical Mark Recognition) module.
5IcrNumeral Hand-printed numeral recognition module.
6IcrCharacter Hand-printed character recognition module.
7MatrixMatching MAT matrix matching recognition module.
8OmniFontPlus2WayVoting Omni Font 2-way voting module.
9OmniFontFireWorx Omni Font FireWorx module.
10OmniFontPlus3WayVoting Omni Font 3-way voting module.
11Asian Asian characters recognition module.
Remarks

Used with engine-specific zones. For more information, refer to IOcrZoneManager.GetNativeZone and IOcrZoneManager.SetNativeZone.

NativeOcrZoneRecognitionModule contains the different recognition modules of the engine available to you. A recognition module must have been assigned to all zones in their NativeOcrZone.RecognitionModule properties before processing.

Not all recognition modules are available to all engines. To determine which recognition modules are available use IOcrZoneManager.GetSupportedNativeRecognitionModules. Trying to set a recognition module that is not available to the engine will cause an error.

Each zone needs to be associated with a NativeOcrZoneRecognitionModule and a NativeOcrZoneFillMethod. 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 NativeOcrZoneRecognitionModule.OmniFontMor is capable of recognizing omnifont machine print (NativeOcrZoneFillMethod.OmniFont), 24-pin draft dot-matrix print (NativeOcrZoneFillMethod.DraftDot24), OCR-A (NativeOcrZoneFillMethod.OcrA) and OCR-B (NativeOcrZoneFillMethod.OcrB) texts.

For precise information on permitted recognition module/fill method pairs refer to An Overview of OCR Recognition Modules.

NativeOcrZoneRecognitionModule.Auto can be set in the NativeOcrZone.RecognitionModule property by the user, it will also be generated by IOcrPage.AutoZone (auto-zoning) and will, under certain circumstances be generated by the IOcrPage.UpdateNativeFillMethod method.

Force the use of a particular recognition module by specifying it directly in the zone's NativeOcrZone.RecognitionModule property after calling IOcrPage.AutoZone or IOcrPage.UpdateNativeFillMethod.

When NativeOcrZoneRecognitionModule.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:

Fill Method Recognition Module
NativeOcrZoneFillMethod.DotDigitt NativeOcrZoneRecognitionModule.MatrixMatching
NativeOcrZoneFillMethod.DashDigit NativeOcrZoneRecognitionModule.MatrixMatching
NativeOcrZoneFillMethod.Mice NativeOcrZoneRecognitionModule.MatrixMatching
NativeOcrZoneFillMethod.OcrA NativeOcrZoneRecognitionModule.MatrixMatching
NativeOcrZoneFillMethod.OcrB NativeOcrZoneRecognitionModule.MatrixMatching
NativeOcrZoneFillMethod.Omr NativeOcrZoneRecognitionModule.Omr
NativeOcrZoneFillMethod.Icr NativeOcrZoneRecognitionModule.IcrNumeral or NativeOcrZoneRecognitionModule.IcrCharacter
NativeOcrZoneFillMethod.OmniFont NativeOcrZoneRecognitionModule.OmniFontMText or NativeOcrZoneRecognitionModule.OmniFontMor
NativeOcrZoneFillMethod.DraftDotMatrix9 NativeOcrZoneRecognitionModule.OmniFontMText or NativeOcrZoneRecognitionModule.OmniFontMor
NativeOcrZoneFillMethod.DraftDotMatrix24 NativeOcrZoneRecognitionModule.OmniFontMText or NativeOcrZoneRecognitionModule.DotMatrix
NativeOcrZoneFillMethod.CMC7 NativeOcrZoneRecognitionModule.IcrCharacter

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 NativeOcrZoneFillMethod.Icr, NativeOcrZoneRecognitionModule.IcrCharacter will be chosen if letters or other characters unsupported by NativeOcrZoneRecognitionModule.IcrNumeral are validated for recognition. The last three will be directed to NativeOcrZoneRecognitionModule.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 NativeOcrZoneFillMethod.OmniFont and NativeOcrZoneRecognitionModule.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 (NativeOcrZoneRecognitionModule.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 NativeOcrZoneRecognitionModule.OmniFontMor, since the M/TEXT recognition module does not support the Polish characters, but the MOR recognition module does.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Forms.Ocr.NativeOcrZoneRecognitionModule

Requirements

Target Platforms

See Also

Reference

Leadtools.Forms.Ocr Namespace
AutoZone Method
NativeOcrZoneFillMethod Enumeration
OcrEngineManager Class
OcrEngineType Enumeration
IOcrPageCollection Interface
IOcrZoneCollection Interface
NativeOcrZone Structure
Programming with the LEADTOOLS .NET OCR
An Overview of OCR Recognition Modules

Error processing SSI file
Leadtools.Forms.Ocr requires a Recognition or Document Imaging Suite license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features