Visual Basic (Declaration) | |
---|---|
<SerializableAttribute()> Public Enum OcrAutoPreprocessPageCommand Inherits Enum |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[SerializableAttribute()] public enum OcrAutoPreprocessPageCommand : Enum |
C++/CLI | |
---|---|
[SerializableAttribute()] public enum class OcrAutoPreprocessPageCommand : public Enum |
Member | Description |
---|---|
Deskew | Automatic deskewing. If the image is skewed, the IOcrPage.AutoPreprocess method will try to deskew it |
Rotate | 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 |
Invert | 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 |
For an example, refer to IOcrPage.AutoPreprocess.
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.
System.Object
System.ValueType
System.Enum
Leadtools.Forms.Ocr.OcrAutoPreprocessPageCommand
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family