LEADTOOLS Workflow OCR (Leadtools.Workflow.Ocr assembly)

MaximumRecognitionThreads Property

Show in webframe





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:
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

See Also

Reference

OcrActivity Class
OcrActivity Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2013 All Rights Reserved. LEAD Technologies, Inc.