# ExtendedBarcodeResult

An extended barcode result in a decoded barcode element. It contains information such as the type of extended barcode, deformation, clarity, and a sampling image of the barcode.

```typescript
interface ExtendedBarcodeResult extends DecodedBarcodeElement {
    extendedBarcodeResultType: EnumExtendedBarcodeResultType;
    deformation: number;
    clarity: number;
    samplingImage: Core.DSImageData;
}
```
<!-- 
| Properties                                              | Type                            |
| ------------------------------------------------------- | ------------------------------- |
| [extendedBarcodeResultType](#extendedbarcoderesulttype) | *EnumExtendedBarcodeResultType* |
| [deformation](#deformation)                             | *number*                        |
| [clarity](#clarity)                                     | *number*                        |
| [samplingImage](#samplingimage)                         | *Core.DSImageData*              | -->

## extendedBarcodeResultType

The type of extended barcode result.

```typescript
extendedBarcodeResultType: EnumExtendedBarcodeResultType;
```

**See also**

* [EnumExtendedBarcodeResultType](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/enum-extended-barcode-result-type.md)

## deformation

The degree of deformation or distortion in the decoded barcode.

```typescript
deformation: number;
```

## clarity

The clarity or quality of the decoded barcode.

```typescript
clarity: number;
```

## samplingImage

The sampling image of the decoded barcode.

```typescript
samplingImage: Core.DSImageData;
```

**See also**

* [DSImageData](https://www.dynamsoft.com/capture-vision/docs/web/programming/javascript/api-reference/core/basic-structures/ds-image-data.md)