Table of contents

Need better scanning performance?

Get a FREE customized reading template.

DocumentDeskewingSection

DocumentDeskewingSection corrects perspective distortion by deskewing the document. In JSON, it is represented as a Section object with "Section": "ST_DOCUMENT_DESKEWING".

JSON Structure

Location in template:

DocumentNormalizerTaskSettingOptions[i]
    └── SectionArray[j] (Section object where Section = "ST_DOCUMENT_DESKEWING")

Parent object: SectionArray

Example:

{
    "Section": "ST_DOCUMENT_DESKEWING",
    "ImageParameterName": "ip_ddnDefault",
    "StageArray": [
        {
            "Stage": "SST_DESKEW_IMAGE"
        }
    ]
}

Parameters

Section

Specifies the section type. Fixed value: ST_DOCUMENT_DESKEWING.

Parameter Details
Type
string
Required
Yes
Default Value
"ST_DOCUMENT_DESKEWING"

ImageParameterName

Specifies the name of an ImageParameter object to apply in the stages of this section.

Parameter Details
Type
string
Range
Must be the name of an ImageParameter object defined under ImageParameterOptions
Default Value
""

StageArray

Specifies the stage objects within this section. The DocumentDeskewingSection consists of the following stages:

Stage Description
DeskewImageStage (SST_DESKEW_IMAGE) Deskews the quadrilateral to transform it into a rectangle.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: