DetectedQuadsResult
The DetectedQuadsResult
class represents a collection of DetectedQuadResultItems
, the basic unit of a detected quad result.
Definition
Namespace: com.dynamsoft.ddn
Assembly: DynamsoftDocumentNormalizer.aar
class DetectedQuadsResult
Methods
Methods | Description |
---|---|
getItems |
An array of DetectedQuadResultItem , which are the detected quadrilateral items. |
getRotationTransformMatrix |
The rotation transformation matrix of the original image relative to the rotated image. |
getOriginalImageHashId |
The hash id of the original image. You can use this ID to get the original image via IntermediateResultManager class. |
getOriginalImageTag |
The tag of the original image, from which you get the detected quads result. |
getErrorCode |
Gets the error code of the detected quads result, if an error occurred. |
getErrorMessage |
Gets the error message of the detected quads result, if an error occurred. |
getItems
Returns an array of DetectedQuadResultItem
, which represents the basic unit of the captured result, in this case, a detected quadrilateral.
DetectedQuadResultItem[] getItems();
Return Value
The array of the detected quadrilateral items.
getRotationTransformMatrix
Returns the rotation transformation matrix of the original image relative to the rotated image. Please see Matrix for more info.
Matrix getRotationTransformMatrix();
Return Value
The rotation transformation matrix of the original image relative to the rotated image.
getOriginalImageHashId
Returns the hash ID of the original image. You can use this ID to get the original image via IntermediateResultManager
class.
String getOriginalImageHashId();
getOriginalImageTag
Returns the ImageTag
of the original image, which contains various information about the image.
ImageTag getOriginalImageTag();
Return Value
The tag of the original image.
See Also
getErrorCode
Gets the error code of the detected quads result, if an error occurred.
int getErrorCode();
Return value
Returns the error code of the detected quads result, or 0 if no error occurred.
getErrorMessage
Gets the error message of the detected quads result, if an error occurred.
String getErrorMessage();
Return value
Returns a string that describes the error message.