The DetectedQuadResultItem interface extends the CapturedResultItem interface and represents a detected quadrilateral result item.

interface DetectedQuadResultItem {
    confidenceAsDocumentBoundary: number;
    crossVerificationStatus: number;
    location: Quadrilateral;
    targetROIDefName?: string;
    taskName?: string;
    type: number;
}

Hierarchy (View Summary)

Properties

confidenceAsDocumentBoundary: number

A confidence score measuring the certainty that the detected quadrilateral represents the boundary of a document.

crossVerificationStatus: number

The cross verification status of type EnumCrossVerificationStatus.

If CaptureVisionRouter doesn't add MultiFrameResultCrossFilter via CaptureVisionRouter.addFilter or added MultiFrameResultCrossFilter doesn't enable verification for the corresponding type, the crossVerificationStatus property of the item for that type will always remain EnumCrossVerificationStatus.CVS_NOT_VERIFIED.

location: Quadrilateral

The location of the detected quadrilateral within the original image, represented as a quadrilateral shape.

targetROIDefName?: string

the name of the TargetROIDef object which includes a task that generated the result.

taskName?: string

The name of the task that generated the result.

type: number

The type of the captured result item.