Documentation
Table of contents

QuadrilateralDetectionModes

Parameter QuadrilateralDetectionModes controls the quadrilateral detection process on an image. It currently includes only one mode.

Example

{
    "QuadrilateralDetectionModes": [
        {
            "Mode": "QDM_GENERAL",
            "MinQuadrilateralAreaRatio" : 30
        }
    ]
}

Parameter Summary

QuadrilateralDetectionModes consist one or more mode objects. Each mode object contains a candidate mode and other mode arguments.

Mode Arguments

Mode Argument Name Mode Argument Summary
Mode
(Required)
Description
Specifies a mode for quadrilateral detection.
Type
String
Candidate Mode List
QDM_GENERAL
Default Value
["QDM_GENERAL"]
MinQuadrilateralAreaRatio
(Optional)
Description
The minimum ratio between the target document area and the total image area. Only those exceeding this value will be outputted (measured in percentages).
Type
Int
Value Range
[0,100]</a>
Default Value
0, indicates the use of automatic exclusion logic to filter out small quads. When this value is changed to anything other than 0, the automatic filtering logic will be disabled.

Default Setting

If the QuadrilateralDetectionModes is not configured in your template file, the following setting will be used as the default setting.

{
    "QuadrilateralDetectionModes" : 
    [
        {
            "Mode" : "QDM_GENERAL",
            "MinQuadrilateralAreaRatio" : 0
        }
    ]
}

Candidate Modes Introduction

QDM_GENERAL

Detects quadrilateral(s) using the general algorithm.

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version
  • Version 2.x
    • Version 2.2.30
    • Version 2.2.20
    • 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