ImageGear21.Recognition Assembly > ImageGear.Recognition Namespace : ImGearRecRecognitionModule Enumeration |
'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
Member | Value | Description |
---|---|---|
ASIAN | 14 | Specifies the Asian language recognition module. |
AUTO | 0 | Specifies 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. |
DOT | 3 | Specifies the DOT 9-pin draft dot-matrix module. |
OMNIFONT_FRX | 12 | Specifies the FireWorX omnifont recognition module. |
OMNIFONT_MOR | 2 | Specifies the multi-lingual MOR omnifont module. |
OMNIFONT_MTX | 1 | Specifies the M/TEXT omnifont module. |
OMNIFONT_PLUS2W | 11 | Specifies the two-way voting POWR++ omnifont recognition module. |
OMNIFONT_PLUS3W | 13 | Specifies the most accurate three-way voting omnifont recognition module. |
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.
System.Object
System.ValueType
System.Enum
ImageGear.Recognition.ImGearRecRecognitionModule