DocumentDetectResult
Syntax
interface DocumentDetectResult {
success: boolean;
location?: Quad;
confidence?: number;
status?: EnumDocumentDetectionStatus;
statusMsg?: string;
}
Attributes
success
Whether to detect the quadrangle successfully.
true: Successful.
false: Failed.
location
The result of boundaries quadrangle. Please refer to Quad.
confidence
The confidence of detection result. Value range: [0, 100] in percentage.
status
The status during detection. Please refer to EnumDocumentDetectionStatus.
statusMsg
The status message string.