LEADTOOLS WCF OCR (Leadtools.Services.Forms.DataContracts assembly)
LEAD Technologies, Inc

RecognitionModule Property






Gets or sets the zone recognition module.
Syntax
[DataMemberAttribute(Name="RecognitionModule", IsRequired=true)]
public OcrZoneRecognitionModule RecognitionModule {get; set;}
'Declaration
 
<DataMemberAttribute(Name="RecognitionModule", IsRequired=True)>
Public Property RecognitionModule As OcrZoneRecognitionModule
'Usage
 
Dim instance As OcrZone
Dim value As OcrZoneRecognitionModule
 
instance.RecognitionModule = value
 
value = instance.RecognitionModule
[DataMemberAttribute(Name="RecognitionModule", IsRequired=true)]
public OcrZoneRecognitionModule RecognitionModule {get; set;}
DataMemberAttribute(Name="RecognitionModule", IsRequired=)
 get_RecognitionModule();
set_RecognitionModule(value);
[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.
Remarks

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.

Example
For an example, refer to DocumentConvertOptions.PagesZones
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

OcrZone Class
OcrZone Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Applications developed with LEADTOOLS WCF components require runtime licenses. Server licensing is required for applications on a server. For more information, refer to: Imaging Pro/Document/Medical