Table of contents

AuxiliaryRegionElement

The AuxiliaryRegionElement class extends the RegionObjectElement class and represents an auxiliary region element that contains additional region information detected during processing (e.g., portrait zones, specific document areas).

Definition

Namespace: com.dynamsoft.core.intermediate_results

Assembly: DynamsoftCaptureVisionBundle.aar

class AuxiliaryRegionElement extends RegionObjectElement

Methods

Method Description
getName Gets the name of this auxiliary region.
getConfidence Gets the confidence level of this auxiliary region detection.
setName Sets the name/type of this auxiliary region.
setLocation Sets the location of this auxiliary region.
setConfidence Sets the confidence level of this auxiliary region detection.

Inherited Methods

The following methods are inherited from class RegionObjectElement.

Method Description
getLocation Gets the location of the region object, represented as a Quadrilateral.
getReferencedElement Gets the referenced element that supports the capturing of this element.
getType Gets the type of the region object element, defined by the enumeration EnumRegionObjectElementType.
getImageData Gets the original image that produce this element.

getName

Gets the name of this auxiliary region.

String getName();

Return Value

A string representing the region name (e.g., “PortraitZone”, “SignatureArea”).

getConfidence

Gets the confidence level of this auxiliary region detection.

int getConfidence();

Return Value

The confidence value, typically in the range [0, 100].

setName

Sets the name/type of this auxiliary region.

void setName(String name);

Parameters

[in] name: The region name to set (e.g., “PortraitZone”, “SignatureArea”).

setLocation

Sets the location of this auxiliary region.

int setLocation(Quadrilateral location);

Parameters

[in] location: A Quadrilateral defining the region boundaries.

Return Value

Returns 0 if successful, otherwise returns an error code.

setConfidence

Sets the confidence level of this auxiliary region detection.

void setConfidence(int confidence);

Parameters

[in] confidence: The confidence value to set, typically in the range [0, 100].

This page is compatible for: