ImageMan.Net Version 3 Summer 2012 Release
Threshold Property
See Also  Send Feedback
DTI.ImageMan.OCR.Tesseract Namespace > Engine Class : Threshold Property





Glossary Item Box

Threshold for discarding scanned results.

Syntax

Visual Basic (Declaration) 
Public Property Threshold As System.Integer
Visual Basic (Usage)Copy Code
Dim instance As Engine
Dim value As System.Integer
 
instance.Threshold = value
 
value = instance.Threshold
C# 
public System.int Threshold {get; set;}
JScript 
public function get,set Threshold : System.int
Managed Extensions for C++ 
public: __property System.int get_Threshold();
public: __property void set_Threshold( 
   System.int value
);
C++/CLI 
public:
property System.int Threshold {
   System.int get();
   void set (    System.int value);
}

Remarks

The default threshold is 230. Any value over 230 will be discarded and will not show up in the final results. Any value under 100 the engine is pretty sure is correct. You can also use the Word.Confidence for any given word if you want to provide an interface for users to check questionable words.

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

© 2014 Data Techniques, Inc. All Rights Reserved.