Documentation
Table of contents

DocumentNormalizerTaskSetting Object

Parameter Organization

A DocumentNormalizerTaskSetting object is defined as below:

Key Name Value Type Required or Optional Description
Name string Mandatory Sets the name of current DocumentNormalizerTaskSetting object. The value must be unique between all task-setting objects.
Brightness string Optional Sets the value for parameter Brightness
ColourMode string Optional Sets the value for parameter ColourMode
ContentType string Optional Sets the value for parameter ContentType
Contrast string Optional Sets the value for parameter Contrast
CornerAngleRange string Optional Sets the value for parameter CornerAngleRange
DeskewMode string Optional Sets the value for parameter DeskewMode
LineExtractionModes string Optional Sets the value for parameter LineExtractionModes
MaxThreadsInOneTask string array Optional Sets the value for parameter MaxThreadsInOneTask
PageSize string Optional Sets the value for parameter PageSize
QuadrilateralDetectionModes string Optional Sets the value for parameter QuadrilateralDetectionModes
SectionImageParameterArray string Optional Sets the value for parameter SectionImageParameterArray
StartSection string Optional Sets the value for parameter StartSection
TerminateSetting string Optional Sets the value for parameter TerminateSetting
BaseDocumentNormalizerTaskSettingName string Optional Sets the value for parameter BaseDocumentNormalizerTaskSettingName

Here is a sample:

{
    "Name": "DR_1",
    "MaxThreadsInOneTask":4,
    "LineExtractionModes" : [
        {
            "Mode": "LEM_GENERAL"
        }
    ],
    "Brightness" : 0,
    "ColourMode" : "ICM_COLOUR",
    "ContentType" : "CT_DOCUMENT",
    "Contrast" : 0,
    "DeskewMode" : 
    {
        "ContentDirection" : 0,
        "Mode" : "DM_PERSPECTIVE_CORRECTION"
    },
    "CornerAngleRange" : [
        {
            "MaxValue" : 110,
            "MinValue" : 70
        }
    ],
    "PageSize" : [-1, -1],
    "QuadrilateralDetectionModes" : [
        {
            "Mode" : "QDM_GENERAL"
        }
    ],
    "SectionImageParameterArray" : [
        {
            "Section": "REGION_PREDETECTION",
            "ImageParameterName": "IP_0"
        },
        {
            "Section": "DOCUMENT_DETECTION",
            "ImageParameterName": "IP_1"
        },
        {
            "Section": "DOCUMENT_NORMALIZATION",
            "ImageParameterName": "IP_2"
        }
    ],
    "StartSection": "REGION_PREDETECTION",
    "TerminateSetting":
    {
        "Section": "REGION_PREDETECTION",
        "Stage": "IRUT_GRAYSCALE_IMAGE",
    },    
    "BaseDocumentNormalizerTaskSettingName": "",
}

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version (2.2.20)
    • Version 2.x
      • Version 2.2.10
      • Version 2.2.0
      • Version 2.0.30
      • Version 2.0.20
      • Version 2.0.10
      • Version 2.0.0
    Change +
    © 2003–2024 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support