Leadtools.Forms.Ocr Namespace : OcrAutoPreprocessPageCommand Enumeration |
[SerializableAttribute()] public enum OcrAutoPreprocessPageCommand : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
'Declaration <SerializableAttribute()> Public Enum OcrAutoPreprocessPageCommand Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
'Usage Dim instance As OcrAutoPreprocessPageCommand
[SerializableAttribute()] public enum OcrAutoPreprocessPageCommand : System.IComparable, System.IConvertible, System.IFormattable
Leadtools.Forms.Ocr.OcrAutoPreprocessPageCommand = function() { }; Leadtools.Forms.Ocr.OcrAutoPreprocessPageCommand.prototype = {
LeadtoolsMemberMarker(replace me) };
[SerializableAttribute()] public enum class OcrAutoPreprocessPageCommand : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Member | Description |
---|---|
All | Run all the commands (Deskew, Rotate, Invert) |
Deskew | Automatic deskewing. If the image is skewed, the IOcrPage.AutoPreprocess method will try to deskew it |
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 |
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. This command is especially useful if the image upside-down. |
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: 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