←Select platform

OcrAutoPreprocessPageCommand Enumeration

Summary

Performs page pre-processing commands

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
[SerializableAttribute()] 
public enum OcrAutoPreprocessPageCommand   
<SerializableAttribute()> 
Public Enum OcrAutoPreprocessPageCommand  
    
    
[SerializableAttribute()] 
public enum OcrAutoPreprocessPageCommand    
typedef NS_ENUM(NSInteger, LTOcrAutoPreprocessPageCommand) 
public enum OcrAutoPreprocessPageCommand 
Leadtools.Forms.Ocr.OcrAutoPreprocessPageCommand = function() { }; 
Leadtools.Forms.Ocr.OcrAutoPreprocessPageCommand.prototype = {<br/> 
  Deskew = 0, 
    Rotate = 1, 
    Invert = 2, 
    All = 3, 
     
 }; 
[SerializableAttribute()] 
public enum class OcrAutoPreprocessPageCommand   

Members

ValueMemberDescription
0Deskew Automatic deskewing. If the image is skewed, the IOcrPage.AutoPreprocess method will try to deskew it
1Rotate Automatic 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.
2Invert Automatic 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
3All Run 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.

Example

For an example, refer to IOcrPage.AutoPreprocess.

Requirements

Target Platforms

See Also

Reference

Leadtools.Forms.Ocr Namespace

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Ocr Assembly