Table of contents

Need better scanning performance?

Get a FREE customized reading template.

DeskewImageStage

DeskewImageStage de-skews the quadrilateral to transform it into a rectangle. In JSON, it is represented as a Stage object with "Stage": "SST_DESKEW_IMAGE".

JSON Structure

Location in template:

DocumentNormalizerTaskSettingOptions[i]
    └── SectionArray[j] (Section object)
        └── StageArray[k] (Stage object where Stage = "SST_DESKEW_IMAGE")

Parent object: StageArray within DocumentDeskewingSection

Example:

{
    "Stage": "SST_DESKEW_IMAGE",
    "DeskewMode": {
        "ContentDirection": 0,
        "Mode": "DSM_PERSPECTIVE_CORRECTION"
    },
    "PageSize": [-1, -1]
}

Parameters

Stage

Specifies the stage type. Fixed value: SST_DESKEW_IMAGE.

Parameter Details
Type
string
Required
Yes
Default Value
"SST_DESKEW_IMAGE"

DeskewMode

Specifies the method in which the deskew process is applied to the target image. See DeskewMode for details.

PageSize

Sets the page size (width by height in pixels) of the image after deskew process. See PageSize for details.

This page is compatible for: