Table of contents

CapturedResultItem

Interface CapturedResultItem represents the most basic item in the captured result. Depending on the type of the CapturedResult, the captured result item can be a barcode, a text line, a normalized image, a detected quad, a parsed item, or an original image.

Hierarchy:

Definition

Assembly: dynamsoft-capture-vision-react-native

interface CapturedResultItem

Properties

Property Type Description
targetROIDefName string The name of the target region of interest (ROI) where the captured result was found.
taskName string The name of the recognition task that produced the CapturedResultItem.
type EnumCapturedResultItemType The type of the captured result item.

targetROIDefName

Returns a string that represents the name of the target region of interest (ROI) where the captured result was found. The target ROI is where the recognition task is run, and it is defined in the Capture Vision template.

targetROIDefName?: string;

Remarks

To learn more about the TargetROIDef object, please visit this page.

taskName

Returns the name of the recognition task that produced the CapturedResultItem. The task name sets the functional product that will be used for the recognition task, and it is defined in the Capture Vision template.

taskName?: string;

Remarks

To learn more about how the tasks are set in the TargetROIDef object, please visit this page.

type

The type of the captured result item represented as a EnumCapturedResultItemType. Depending on the functional product used, the captured result item can be a barcode, a text line, a normalized image, a detected quad, a parsed item, or an original image.

type: EnumCapturedResultItemType | number;

Remarks

CapturedResultItemType Interface
CRIT_BARCODE BarcodeResultItem
CRIT_TEXT_LINE TextLineResultItem
CRIT_DETECTED_QUAD DetectedQuadResultItem
CRIT_DESKEWED_IMAGE DeskewedImageResultItem
CRIT_PARSED_RESULT ParsedResultItem
CRIT_ENHANCED_IMAGE EnhancedImageResultItem

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: