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 |
Get 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. |
The following methods are inherited from CapturedResultItem.
| Method | Description |
|---|---|
getType |
Get the type of the captured result item, indicating what kind of data it represents. |
getReferencedItem |
Get a property of type CapturedResultItem that represents a reference to another captured result item. |
getTargetROIDefName |
Gets the name of the TargetROIDef object which includes a task that generated the result. |
getTaskName |
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.