interface DetectDocumentResult {
    detectionResult: DetectionStatus;
    documentImageFileUri: string;
    polygon: PolygonPoint[];
}

Properties

detectionResult: DetectionStatus

The status of the detection

documentImageFileUri: string

The URI of the document image file, if something is detected

polygon: PolygonPoint[]

The array of detected polygon points, if something is detected