OcrEngineHandleDeskew Method |
Handles the process of deskewing an image.
Namespace:
Atalasoft.Ocr
Assembly:
Atalasoft.dotImage.Ocr (in Atalasoft.dotImage.Ocr.dll) Version: 11.5.0.5.0.230 (.NET 4.6.2, x86)
Syntaxprotected virtual AtalaImage HandleDeskew(
AtalaImage image,
out double angle,
OcrPreprocessingOptions preprocessingOptions = null
)
Protected Overridable Function HandleDeskew (
image As AtalaImage,
<OutAttribute> ByRef angle As Double,
Optional preprocessingOptions As OcrPreprocessingOptions = Nothing
) As AtalaImage
Parameters
- image
- Type: Atalasoft.ImagingAtalaImage
The source image. - angle
- Type: SystemDouble
The angle by which the image was rotated. - preprocessingOptions (Optional)
- Type: Atalasoft.OcrOcrPreprocessingOptions
The preprocessing options for deskew command. Use it to set DeskewLimitAngle value. Optional parameter.
Return Value
Type:
AtalaImage A new deskewed image or null if no deskewing was needed.
See Also