Table of contents

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, raw image, parsed item, etc.

Definition

Namespace: com.dynamsoft.cvr

class CapturedResult extends CapturedResultBase

Methods

Method Description
getOriginalImageHashId Gets the hash ID of the original image.
getOriginalImageTag Gets the tag of the original image.
getItems Gets all items in the captured result.
getItem Gets a specific item by index.
getItemsCount Gets the count of items in the captured result.
getRotationTransformMatrix Gets the 3x3 rotation transformation matrix of the original image relative to the rotated image.
getErrorCode Gets the error code of the capture operation.
getErrorString Gets the error message of the capture operation.
getDecodedBarcodesResult Gets the decoded barcode items from the CapturedResult.
getRecognizedTextLinesResult Gets the recognized text line items from the CapturedResult.
getProcessedDocumentResult Gets the processed document items from the CapturedResult.
getParsedResult Gets the parsed result items from the CapturedResult.

getOriginalImageHashId

Gets the hash ID of the original image.

public String getOriginalImageHashId()

Return Value

Returns the hash ID of the original image as a string.

getOriginalImageTag

Gets the tag of the original image.

public ImageTag getOriginalImageTag()

Return Value

Returns an ImageTag object containing the tag of the original image.

See Also

ImageTag

getItems

Gets all items in the captured result.

public CapturedResultItem[] getItems()

Return Value

Returns a CapturedResultItem array with all items in the captured result.

See Also

CapturedResultItem

getItem

Gets a specific item by index.

public CapturedResultItem getItem(int index)

Parameters

index The index of the item to retrieve.

Return Value

Returns a CapturedResultItem object at the specified index.

See Also

CapturedResultItem

getItemsCount

Gets the count of items in the captured result.

public int getItemsCount()

Return Value

Returns the number of items in the captured result.

getRotationTransformMatrix

Gets the 3x3 rotation transformation matrix of the original image relative to the rotated image.

public double[] getRotationTransformMatrix()

Return Value

Returns a double array of length 9 which represents a 3x3 rotation matrix.

getErrorCode

Gets the error code of the capture operation.

public int getErrorCode()

Return Value

Returns the error code of the capture operation.

getErrorString

Gets the error message of the capture operation.

public String getErrorString()

Return Value

Returns the error message of the capture operation as a string.

getDecodedBarcodesResult

Gets the decoded barcode items from the CapturedResult.

public DecodedBarcodesResult getDecodedBarcodesResult()

Return Value

Returns a DecodedBarcodesResult object containing the decoded barcode items.

See Also

DecodedBarcodesResult

getRecognizedTextLinesResult

Gets the recognized text line items from the CapturedResult.

public RecognizedTextLinesResult getRecognizedTextLinesResult()

Return Value

Returns a RecognizedTextLinesResult object containing the recognized text line items.

See Also

RecognizedTextLinesResult

getProcessedDocumentResult

Gets the processed document items from the CapturedResult.

public ProcessedDocumentResult getProcessedDocumentResult()

Return Value

Returns a ProcessedDocumentResult object containing the processed document items.

See Also

ProcessedDocumentResult

getParsedResult

Gets the parsed result items from the CapturedResult.

public ParsedResult getParsedResult()

Return Value

Returns a ParsedResult object containing the parsed result items.

See Also

ParsedResult

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: