Click or drag to resize

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)
Syntax
protected virtual AtalaImage HandleDeskew(
	AtalaImage image,
	out double angle,
	OcrPreprocessingOptions preprocessingOptions = null
)

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