# CapturedResult

Interface `CapturedResult` represents the result of a capture operation on an image. Internally, `CapturedResult` stores an array of [`CapturedResultItem`](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/react-native/api-reference/core/captured-result-item.md), each of which may be a barcode, text line, detected quad, normalized image, original image, or parsed item depending on the functional product that is used.

## Definition

*Assembly:* dynamsoft-capture-vision-react-native

```js
interface CapturedResult extends CapturedResultBase
```

## Properties

| Property | Type | Description |
| -------- | ---- | ----------- |
| [`decodedBarcodesResult`](#decodedbarcodesresult) | [*DecodedBarcodesResult*](https://www.dynamsoft.com/barcode-reader/docs/mobile/programming/react-native/api-reference/barcode-reader/decoded-barcodes-result.md) | All results of type `barcode` in the `CapturedResult` as a `DecodedBarcodesResult` object. |
| [`items`](#items) | *Array\<CapturedResultItem\>?* | An array of [`CapturedResultItem`](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/react-native/api-reference/capture-vision-router/captured-result-item.md) objects. |
| [`parsedResult`](#parsedresult) | [*ParsedResult*](https://www.dynamsoft.com/code-parser/docs/mobile/programming/react-native/api-reference/parsed-result.md) | All results of type `parsedResult` in the `CapturedResult` as a `ParsedResult` object. |
| [`processedDocumentResult`](#processeddocumentresult) | [*ProcessedDocumentResult*](https://www.dynamsoft.com/document-normalizer/docs/mobile/programming/react-native/api-reference/processed-document-result.md) | All results of type `detectedQuad`, `deskewedImage` and `enhancedImage` in the `CapturedResult` as a `ProcessedDocumentResult` object. |
| [`recognizedTextLinesResult`](#recognizedtextlinesresult) | [*RecognizedTextLinesResult*](https://www.dynamsoft.com/label-recognition/docs/mobile/programming/react-native/api-reference/recognized-text-lines-result.md) | All results of type `textLine` in the `CapturedResult` as a `RecognizedTextLinesResult` object. |

The following properties are inherited from [`CapturedResultBase`](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/react-native/api-reference/core/captured-result-base.md):

| Properties | Types | Description |
| ---------- | ----- | ----------- |
| [`errorCode`](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/react-native/api-reference/core/captured-result-base.md#errorcode) | *number* | The error code of this result. |
| [`errorMessage`](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/react-native/api-reference/core/captured-result-base.md#errormessage) | *string* | The error message of this result. |
| [`originalImageHashId`](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/react-native/api-reference/core/captured-result-base.md#originalimagehashid) | *string* | The hash id of the original image. |
| [`rotationTransformMatrix`](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/react-native/api-reference/core/captured-result-base.md#rotationtransformmatrix) | *Array<number>* | The rotation transformation matrix of the original image relative to the rotated image. |

### decodedBarcodesResult

All results of type `barcode` in the `CapturedResult` as a `DecodedBarcodesResult` object.

```js
decodedBarcodesResult?: DecodedBarcodesResult;
```

### items

An array of [`CapturedResultItem`](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/react-native/api-reference/captured-result-item.html) objects.

```js
items?: CapturedResultItem[];
```

### parsedResult

All results of type `parsedResult` in the `CapturedResult` as a `ParsedResult` object.

```js
parsedResult?: ParsedResult;
```

#### processedDocumentResult

All results of type `detectedQuad`, `deskewedImage` and `enhancedImage` in the `CapturedResult` as a `ProcessedDocumentResult` object.

```js
processingDocumentResult?: ProcessedDocumentResult;
```

### recognizedTextLinesResult

All results of type `textLine` in the `CapturedResult` as a `RecognizedTextLinesResult` object.

```js
recognizedTextLinesResult?: RecognizedTextLinesResult;
```

### errorCode

The error code of this result.

```js
errorCode: number;
```

### errorMessage

The error message of this result.

```js
errorMessage: string;
```

### originalImageHashId

The hash id of the original image.

```js
originalImageHashId: string;
```

### rotationTransformMatrix

The rotation transformation matrix of the original image relative to the rotated image.

```js
rotationTransformMatrix: number[];
```
