# CapturedResultItem

The `CapturedResultItem` class represents an item in a captured result. It is an abstract base class with multiple subclasses, each representing a different type of captured item such as barcode, text line, detected quad, normalized image, raw image, parsed item, etc.

## Definition

*Module:* core

```python
class CapturedResultItem
```

## Methods

| Method                         | Description|
|--------------------------------|------------|
| [`get_type`](#get_type)              | Gets the type of the captured result item. |
| [`get_reference_item`](#get_reference_item)    | Gets the referenced item in the captured result. |
| [`get_target_roi_def_name`](#get_target_roi_def_name) | Gets the name of the target ROI definition. |
| [`get_task_name`](#get_task_name) | Gets the name of the task. |

### get_type

Gets the type of the captured result item.

```python
def get_type(self) -> int:
```

**Return Value**

Returns the type of the captured result item.

**See Also**

[EnumCapturedResultItemType](https://www.dynamsoft.com/capture-vision/docs/server/programming/python/api-reference/core/enum-captured-result-item-type.md)

### get_reference_item

Gets the referenced item in the captured result item.

```python
def get_reference_item(self) -> "CapturedResultItem":
```

**Return Value**

Returns a referenced item in the captured result item.

**See Also**

[CapturedResultItem](https://www.dynamsoft.com/capture-vision/docs/server/programming/python/api-reference/core/basic-classes/captured-result-item.md)

### get_target_roi_def_name

Gets the name of the target ROI definition.

```python
def get_target_roi_def_name(self) -> str:
```

**Return Value**

Returns the name of the target ROI definition.

### get_task_name

Gets the name of the task.

```python
def get_task_name(self) -> str:
```

**Return Value**

Returns the name of the task.
