The RecognitionModule Property is available in LEADTOOLS Document and Medical Imaging toolkits.
Gets or sets the zone recognition module.Visual Basic (Declaration) | |
---|---|
<DataMemberAttribute(Name="RecognitionModule", IsRequired=True)> Public Property RecognitionModule As OcrZoneRecognitionModule |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As OcrZone Dim value As OcrZoneRecognitionModule instance.RecognitionModule = value value = instance.RecognitionModule |
C# | |
---|---|
[DataMemberAttribute(Name="RecognitionModule", IsRequired=true)] public OcrZoneRecognitionModule RecognitionModule {get; set;} |
C++/CLI | |
---|---|
[DataMemberAttribute(Name="RecognitionModule", IsRequired=true)] public: property OcrZoneRecognitionModule RecognitionModule { OcrZoneRecognitionModule get(); void set ( OcrZoneRecognitionModule value); } |
Property Value
An OcrZoneRecognitionModule enumeration member that indicate the zone recognition module.The FillMethod property is used to define what kind of zone filling method has been used originally on the document to fill the zone's area. (i.e. whether it contains a barcode, machine print, handprint, graphic, etc.).
The RecognitionModule property specifies the recognition module to be used for this zone.
Since any recognition module supports only a limited set of the zone filling methods, the module specified in RecognitionModule should be able to deal with the specified OcrZoneFillMethod. It is your responsibility to specify a valid recognition module-filling method pair. Otherwise any incorrectly set zone will have no recognition result. For more information, refer to An Overview of OCR Recognition Modules.
Note: This property is not supported in the LEADTOOLS OCR Advantage Engine and it will always contain OcrZoneRecognitionModule.Auto.
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7