Performs page pre-processing commands
[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 = {
Deskew = 0,
Rotate = 1,
Invert = 2,
All = 3,
};
[SerializableAttribute()]
public enum class OcrAutoPreprocessPageCommand
Members
Value | Member | Description |
---|---|---|
0 | Deskew | Automatic deskewing. If the image is skewed, the IOcrPage.AutoPreprocess method will try to deskew it |
1 | 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. |
2 | 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 |
3 | All | Run all the commands (Deskew, Rotate, Invert) |
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.
For an example, refer to IOcrPage.AutoPreprocess.
Products |
Support |
Feedback: OcrAutoPreprocessPageCommand Enumeration - Leadtools.Forms.Ocr |
Introduction |
Help Version 19.0.2017.6.6
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.