LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)

OcrAutoPreprocessPageCommand Enumeration

Show in webframe







Performs page pre-processing commands
Syntax
[SerializableAttribute()]
public enum OcrAutoPreprocessPageCommand : System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
'Declaration
 
<SerializableAttribute()>
Public Enum OcrAutoPreprocessPageCommand 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
'Usage
 
Dim instance As OcrAutoPreprocessPageCommand
[SerializableAttribute()]
public enum OcrAutoPreprocessPageCommand : System.IComparableSystem.IConvertibleSystem.IFormattable  
enum LTOcrAutoPreprocessPageCommand
public enum OcrAutoPreprocessPageCommand
Leadtools.Forms.Ocr.OcrAutoPreprocessPageCommand = function() { };
Leadtools.Forms.Ocr.OcrAutoPreprocessPageCommand.prototype = {
Deskew = 0x00000000, Rotate = 0x00000001, Invert = 0x00000002, All = 0x00000003, };
[SerializableAttribute()]
public enum class OcrAutoPreprocessPageCommand : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
Members
ValueMemberDescription
0x00000000DeskewAutomatic deskewing. If the image is skewed, the IOcrPage.AutoPreprocess method will try to deskew it
0x00000001RotateAutomatic rotation. If the image is rotated (its view perspective is anything other than top-left), the IOcrPage.AutoPreprocess method will auto orient it to top-left. This command is especially useful if the image upside-down.
0x00000002InvertAutomatic inversion. If the image is black and white and is inverted (contains white on black data), the IOcrPage.AutoPreprocess method will automatically convert the image data to be black on white
0x00000003AllRun all the commands (Deskew, Rotate, Invert)
Remarks

The OCR engine can perform a series of image pre-processing steps in order to enhance the quality of the image before starting its recognition.

Perform these image pre-processing steps by calling the IOcrPage.AutoPreprocess method. Call this method prior to calling IOcrPage.Recognize or IOcrPage.RecognizeText.

Example
For an example, refer to IOcrPage.AutoPreprocess.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Forms.Ocr.OcrAutoPreprocessPageCommand

Requirements

Target Platforms

See Also

Reference

Leadtools.Forms.Ocr Namespace

 

 


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

OcrAutoPreprocessPageCommand requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features