Skip to content

Latest commit

 

History

History
101 lines (66 loc) · 3.98 KB

File metadata and controls

101 lines (66 loc) · 3.98 KB
layout title description keywords needGenerateH3Content needAutoGenerateSidebar noTitleIndex ignore
default-layout
CapturedResult - Dynamsoft Core Module Android Edition API Reference
The class CapturedResult of Dynamsoft Core Module represents the result of a capture operation on an image, which contains multiple items such as barcode, text line, detected quad, normalized image, original image, parsed item, etc.
captured result, Java, Kotlin
true
true
true
true

CapturedResult

You are reading a history page of DynamsoftCore. Start from v3.2.10, the CapturedResult class is moved to the DynamsoftCaptureVisionRouter module. View the [DynamsoftCaptureVisionRouter.CapturedResult]({{ site.dcv_android_api }}capture-vision-router/auxiliary-classes/captured-result.html) 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();