Need better scanning performance?
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"
}
]
}
- This snippet shows a Section object configured for document deskewing.
- To use it, add this object to the SectionArray of a DocumentNormalizerTaskSetting.
- For the complete JSON structure, see:
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. |