LEADTOOLS Workflow OCR (Leadtools.Workflow.Ocr assembly)
LEAD Technologies, Inc

MaximumRecognitionThreads Property






Gets or sets the maximum number of threads to use in recognition.
Syntax
public int MaximumRecognitionThreads {get; set;}
'Declaration
 
Public Property MaximumRecognitionThreads As Integer
'Usage
 
Dim instance As OcrActivity
Dim value As Integer
 
instance.MaximumRecognitionThreads = value
 
value = instance.MaximumRecognitionThreads
public int MaximumRecognitionThreads {get; set;}
 get_MaximumRecognitionThreads();
set_MaximumRecognitionThreads(value);
public:
property int MaximumRecognitionThreads {
   int get();
   void set (    int value);
}

Property Value

The maximum number of threads to use in recognition.
Remarks
The LEADTOOLS OCR engines provide support for recognizing document zones in separate threads. This can improve the performance of the recognition process. The default value of 0 (zero) instructs LEADTOOLS to use the maximum number of threads equal to the number of cores available in the current machine. A value of 1, 2, 3, 4, etc. instructs LEADTOOLS to use that maximum number of threads equal to that number. If you do not wish to use multi-threading inside the recognition process then set the value of this property to 1. If you are planning to spawn multiple instances of a workflow runtime that includes the OCR WF activity, it is recommended that you change the value of this property to 1.
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

OcrActivity Class
OcrActivity Members

 

 


Products | Support | Contact Us | Copyright Notices

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