CapturedResult
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.
You might also looking for:
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 |
The ImageTag associated with 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 associated with the capture result. |
getErrorMessage |
Get the error message associated with the capture result. |
getDecodedBarcodesResult |
Get a DecodedBarcodesResult object that contains all the BarcodeResultItems in the CapturedResult . |
getRecognizedTextLinesResult |
Get a RecognizedTextLinesResult object that contains all the TextLineResultItems in the CapturedResult . |
getDetectedQuadsResult |
Get a DetectedQuadsResult object that contains all the DetectedQuadResultItem in the CapturedResult . |
getNormalizedImagesResult |
Get a NormalizedImagesResult object that contains all the NormalizedImageResultItem in the CapturedResult . |
getParsedResult |
Get the parsed result. |
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();
getDecodedBarcodesResult
Get all the barcode decoding results of the CapturedResult
.
DecodedBarcodesResult getDecodedBarcodesResult();
Return Value
A DecodedBarcodesResult
that contains all the BarcodeResultItems
of the CapturedResult
.
getRecognizedTextLinesResult
Get all the text line recognition results of the CapturedResult
.
RecognizedTextLinesResult getRecognizedTextLinesResult();
Return Value
A RecognizedTextLinesResult
that contains all the TextLineResultItems
of the CapturedResult
.
getDetectedQuadsResult
Get all the quad detection results of the CapturedResult
.
DetectedQuadsResult getDetectedQuadsResult();
Return Value
A DetectedQuadsResult
that contains all the DetectedQuadResultItems
of the CapturedResult
.
getNormalizedImagesResult
Get all the image normalization results of the CapturedResult
.
NormalizedImagesResult getNormalizedImagesResult();
Return Value
A NormalizedImagesResult
that contains all the NormalizedImageResultItems
of the CapturedResult
.
getParsedResult
Get all the parsed results of the CapturedResult
.
ParsedResult getParsedResult();
Return Value
A ParsedResult
that contains all the ParsedResultItems
of the CapturedResult
.