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.