Table of contents

IntermediateResultUnit

The IntermediateResultUnit class represents an intermediate result unit used in image processing. It is an abstract base class with multiple subclasses, each representing a different type of unit such as pre-detected regions, localized barcodes, decoded barcodes, localized text lines, binary image, gray image, etc.

Definition

Package: com.dynamsoft.core.intermediate_results

class IntermediateResultUnit

Methods

Method Description
getHashId Gets the hash ID of the unit.
getOriginalImageHashId Gets the hash ID of the original image.
getOriginalImageTag Gets the image tag of the original image.
getTransformMatrix Gets the transformation matrix based on EnumTransformMatrixType.
getType Gets the type of the intermediate result unit.
getUsageCount Gets the usage count of the intermediate result.
clone Creates a copy of the intermediate result unit.
replace Replaces the IntermediateResultUnit object to the specified IntermediateResultUnit object.

getHashId

Gets the hash ID of the intermediate result unit.

String getHashId()

Return value

Returns the hash ID of the unit.

getOriginalImageHashId

Gets the hash ID of the original image.

String getOriginalImageHashId()

Return value

Returns the hash ID of the original image.

getOriginalImageTag

Gets the image tag of the original image.

ImageTag getOriginalImageTag()

Return value

Returns the image tag of the original image.

See Also

ImageTag

getTransformMatrix

Gets the transformation matrix based on EnumTransformMatrixType.

double[] getTransformMatrix(@EnumTransformMatrixType int matrixType)

Parameters

matrixType The transform matrix type. This is one of the values of the EnumTransformMatrixType enumeration.

Return value

A double array which represents the rotation transform matrix.

See Also

EnumTransformMatrixType

getType

Gets the type of the intermediate result unit.

@EnumIntermediateResultUnitType long getType()

Return value

Returns the type of the intermediate result unit.

See Also

EnumIntermediateResultUnitType

getUsageCount

Gets the usage count of the intermediate result.

int getUsageCount()

Return value

Returns the usage count of the intermediate result.

clone

Creates a copy of the intermediate result unit.

IntermediateResultUnit clone()

Return value

Returns a copy of the intermediate result unit.

See Also

IntermediateResultUnit

replace

Replaces the specified IntermediateResultUnit object with the current IntermediateResultUnit object.

void replace(IntermediateResultUnit unit) throws CoreException

Parameters

unit The IntermediateResultUnit object to be replaced.

Exceptions

Exception

CoreException

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: