Table of contents

DeskewedImageResultItem

The DeskewedImageResultItem class is an extension of CapturedResultItem that represents a deskewed image. This is the most basic unit of the deskewed image result, one of the captured result types that the Capture Vision Router can output.

Definition

Namespace: com.dynamsoft.ddn

Assembly: DynamsoftCaptureVisionBundle.aar

class DeskewedImageResultItem extends CapturedResultItem

Methods

Methods Description
getImageData Returns an ImageData object as the deskewed image.
getSourceDeskewQuad Returns the quadrilateral from which you get the deskewed image result item.
getCrossVerificationStatus Returns the cross verification status of the result item.
getOriginalToLocalMatrix Returns the transformation matrix from the original image coordinate system to the local coordinate system.

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.

getImageData

Returns an ImageData object for the deskewed image.

ImageData getImageData();

Return Value

The ImageData object as the deskewed image.

getSourceDeskewQuad

Returns the soure Quadrilateral that used to deskew the image.

Quadrilateral getLocation();

Return Value

The soure Quadrilateral that used to deskew the image.

getCrossVerificationStatus

Returns the cross verification status of the result item. 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.

getOriginalToLocalMatrix

Returns the transformation matrix from the original image coordinate system to the local coordinate system.

Matrix getOriginalToLocalMatrix();

Return Value

The transformation matrix of type android.graphics.Matrix.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: