Resource Base
Table of contents

DocumentDetectConfig

Syntax

interface DocumentDetectConfig {
    acceptedPolygonConfidence?: number; 
    enableAutoCapture?: boolean; 
    autoCaptureDelay: number;  
}

Attributes

acceptedPolygonConfidence

The accepted confidence. Value range: [0, 100] in percentage.

The higher the setting, the more accurate the automatic boundaries detection.

The default value is the vaule which is set by CaptureViewerConfig-acceptedPolygonConfidence.

enableAutoCapture

Wheter to enable auto capture. The default value is the vaule which is set by CaptureViewerConfig-enableAutoCapture.

autoCaptureDelay

The delay for auto capture. The unit is millisecond. The default value is the vaule which is set by CaptureViewerConfig-autoCaptureDelay.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version(2.0)
    • Version 1.x
      • Version 1.1
    Change +