CapturedResult
You are reading a history page of
DynamsoftCore
. Start from v3.2.10, theCapturedResult
class is moved to theDynamsoftCaptureVisionRouter
module. View theDynamsoftCaptureVisionRouter.CapturedResult
for the latest version.
The CapturedResult
class represents the result of a capture operation on an image. Internally, CapturedResult
stores an array that contains multiple items, each of which may be a barcode, text line, detected quad, normalized image, original image, parsed item, etc.
Definition
Namespace: com.dynamsoft.core.basic_structures
Assembly: DynamsoftCore.aar
class CapturedResult
Attributes
Method | Description |
---|---|
getOriginalImageHashId |
Get the hash id of the original image. You can use this ID to get the original image via IntermediateResultManager class. |
getOriginalImageTag |
Get the ImageTag of the original image that records information such as the image ID of the original image. |
getItems |
Get an array of CapturedResultItems , which are the basic unit of the captured results. A CapturedResultItem can be a original image, a decoded barcode, a recognized text, a detected quad, a normalized image or a parsed result. View CapturedResultItemType for all available types. |
getrotationTransformMatrix |
Get the rotation transformation matrix of the original image relative to the rotated image. |
getErrorCode |
Get the error code if an error occurs when processing the image. |
getErrorMessage |
Get the error message if an error occurs when processing the image. |
getOriginalImageHashId
Get the hash ID of the original image which can be used to get the original image via the IntermediateResultManager class.
String getOriginalImageHashId();
Return Value
The hash id of the original image.
getOriginalImageTag
Get the ImageTag of the original image that records information such as the image ID of the original image.
ImageTag getOriginalImageTag();
Return Value
The tag of the original image that records the information of the original image.
getItems
Get an array of CapturedResultItem
, which is the basic unit of the captured results. A CapturedResultItem
can be a original image, a decoded barcode, a recognized text, a detected quad, a normalized image, or a parsed result. View CapturedResultItemType
for all available types.
CapturedResultItem[] getItems();
Return Value
An array containing the CapturedResultItem
objects within the captured result.
getRotationTransformMatrix
Get the rotation transformation matrix of the original image relative to the rotated image.
Matrix getRotationTransformMatrix();
Return Value
Return the rotation transformation matrix of the original image relative to the rotated image.
getErrorCode
Get the error code if an error occurs when processing the image.
int getErrorCode();
getErrorMessage
Get the error message if an error occurs when processing the image.
String getErrorMessage();