CapturedResultItem
The CapturedResultItem class 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.
Sub classes:
- Barcode:
BarcodeResultItem- Text line:
TextLineResultItem- Document page(s):
- Parsed content (DL, MRZ, VIN, GS1 AI, etc.):
ParsedResultItem
Definition
Assembly: dynamsoft_capture_vision_flutter
class 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.
String targetROIDefName,
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.
String taskName;
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.
EnumCapturedResultItemType type;
Remarks
| CapturedResultItemType | Sub Class |
|---|---|
barcode |
BarcodeResultItem |
textLine |
TextLineResultItem |
detectedQuad |
DetectedQuadResultItem |
deskewedImage |
DeskewedImageResultItem |
parsedResult |
ParsedResultItem |
enhancedImage |
EnhancedImageResultItem |