DetectedQuadResultItem
Interface DetectedQuadResultItem is an extension of the CapturedResultItem that represents a detected quadrilateral. This is the most basic unit of a detected quadrilateral, one of the captured result types that the Capture Vision Router can output.
Definition
Assembly: dynamsoft-capture-vision-react-native
interface DetectedQuadResultItem extends CapturedResultItem
Properties
| Property | Type | Description |
|---|---|---|
location |
Quadrilateral | A Quadrilateral object as the location of current object. |
confidenceAsDocumentBoundary |
int | The confidence score of the detected quadrilateral’s boundary, measuring the certainty that the detected quadrilateral represents the boundary of a document. |
crossVerificationStatus |
EnumCrossVerificationStatus | The cross verification status of the result item. |
The following methods are inherited from CapturedResultItem.
| Property | Type | Description |
|---|---|---|
targetROIDefName |
String | The name of the target region of interest (ROI) where the captured result was found. |
taskName |
String | The name of the recognition task that produced the CapturedResultItem. |
type |
EnumCapturedResultItemType | The type of the captured result item. |
location
Returns a Quadrilateral object that represents the location of the detected quadrilateral within the image or frame.
location: Quadrilateral;
confidenceAsDocumentBoundary
Returns the confidence score of the detected quadrilateral’s boundary, measuring the certainty that the detected quadrilateral represents the boundary of a document.
confidenceAsDocumentBoundary: number;
crossVerificationStatus
Returns the cross verification status of the result. The cross verification status determines whether the result item is approved by the multi-frame cross verification mechanism. If approved, the cross verification status is CVS_PASSED. Otherwise, it is CVS_FAILED.
crossVerificationStatus: EnumCrossVerificationStatus | number;