ImageGear .NET v24.12 - Updated
ImGearRecRecognitionModule Enumeration




ImageGear24.Recognition Assembly > ImageGear.Recognition Namespace : ImGearRecRecognitionModule Enumeration
Identifies recognition modules of the OmniPage recognition engine.
Syntax
'Declaration
 
Public Enum ImGearRecRecognitionModule 
   Inherits System.Enum
'Usage
 
Dim instance As ImGearRecRecognitionModule
public enum ImGearRecRecognitionModule : System.Enum 
__value public enum ImGearRecRecognitionModule : public System.Enum 
public enum class ImGearRecRecognitionModule : public System.Enum 
Members
MemberDescription
ASIANSpecifies the Asian language recognition module.
AUTOSpecifies that the Recognition component will try to automatically select the most suitable recognition module for the zone. The recognition module to be applied is determined just before recognition, primarily by inquiring the filling method and other settings, most typically the Character Set.
DOTSpecifies the DOT 9-pin draft dot-matrix module.
MATSpecifies the MAT matrix matching module. This module is useful for recognizing text in the OCR-A and OCR-B font, using the ImGearRecFillingMethod.OCRA and ImGearRecFillingMethod.OCRB filling methods.
OMNIFONT_FRXSpecifies the FireWorX omnifont recognition module.
OMNIFONT_MORSpecifies the multi-lingual MOR omnifont module.
OMNIFONT_MTXSpecifies the M/TEXT omnifont module.
OMNIFONT_PLUS2WSpecifies the two-way voting POWR++ omnifont recognition module.
OMNIFONT_PLUS3WSpecifies the most accurate three-way voting omnifont recognition module.
Remarks
A recognition module must have been assigned to all zones in their ImGearRecZone.RecognitionModule property before processing.

Each zone needs to be associated with a RECOGNITIONMODULE (RM) and a FILLINGMETHOD (FM). This is needed because some RMs support more than one FM, and some FMs are accepted by more than one RM. It is important to ensure that the RM-FM pair is suitable. E.g. the multi-lingual MOR omnifont recognition module (ImGearRecRecognitionModule.OMNIFONT_MOR) is capable of recognizing omnifont machine print (ImGearRecFillingMethod.OMNIFONT) 24-pin draft dot-matrix print (ImGearRecFillingMethod.DRAFTDOT24), OCR-A (ImGearRecFillingMethod.OCRA) and OCR-B (ImGearRecFillingMethod.OCRB) texts.

For precise information on permitted RM-FM pairs see the introduction to the topic <f Recognition module specifications>.

Only recognition modules which have been supplied and successfully installed in the Engine configuration will be available.

The AUTO setting can specifically placed in the zone's ImGearRecZone.RecognitionModule property, it will be generated by ImGearRecPage.ImGearRecZone (auto-zoning) and will, under certain circumstances, be generated by the ImGearRecZoneCollection.DetectFillingMethod method.

You can force the use of a particular RM by specifying it directly in the zone's ImGearRecZone.RecognitionModule property, i.e. you must update the zones concerned with the <f RecUpdateZone> function after calling ImGearRecZoneCollection.Locate or ImGearRecZoneCollection.DetectFillingMethod.

When AUTO is set, the RM is chosen primarily by the FM (either directly specified, taken as default or auto-detected). The choices will be as follows:

These filling methods will be directed to MTX, unless the engine finds a language, filter or other setting which is not supported by this module.

For further details see the MTX recognition module specification. As an example:

The zone's FM is ImGearRecFillingMethod.OMNIFONT and ImGearRecRecognitionModule.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 ( ImGearRecRecognitionModule.OMNIFONT_MTX) will be automatically selected.

However, if e.g. the Polish characters are also to be recognized, the engine manager will select the multi-lingual MOR omnifont recognition module ImGearRecRecognitionModule.OMNIFONT_MOR, 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
         ImageGear.Recognition.ImGearRecRecognitionModule

See Also

Reference

ImageGear.Recognition Namespace
ImGearRecZone Class
ImGearRecZoneCollection Class