Table of contents

DetectedQuadResultItem

The DetectedQuadResultItem class 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

Namespace: com.dynamsoft.ddn

Assembly: DynamsoftDocumentNormalizer.aar

class DetectedQuadResultItem extends CapturedResultItem

Methods

Methods Description
getLocation Returns a Quadrilateral object as the location of current object.
getConfidenceAsDocumentBoundary Returns the confidence score of the detected quadrilateral’s boundary, measuring the certainty that the detected quadrilateral represents the boundary of a document.
getCrossVerificationStatus Returns the cross verification status of the result item.

The following methods are inherited from CapturedResultItem.

Method Description
getType Returns the type of the captured result item, indicating what kind of data it represents.
getReferencedItem Returns a property of type CapturedResultItem that represents a reference to another captured result item.
getTargetROIDefName Returns the name of the TargetROIDef object which includes a task that generated the result.
getTaskName Returns the name of the task that generated the result.

getLocation

Returns a Quadrilateral object that represents the location of the detected quadrilateral within the image or frame.

Quadrilateral getLocation();

Return Value

The location of current object.

getConfidenceAsDocumentBoundary

Returns the confidence score of the detected quadrilateral’s boundary, measuring the certainty that the detected quadrilateral represents the boundary of a document.

int getConfidenceAsDocumentBoundary();

Return Value

The confidence as document boundary of current object.

getCrossVerificationStatus

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.

EnumCrossVerificationStatus getCrossVerificationStatus();

Return Value

Returns the cross verification status of type EnumCrossVerificationStatus.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: