> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/docs.facephi-en/sdks/sdk-web/componentes/videoid-identificacion-en-video/eventos/extractionfinish.md).

# extractionFinish

## Details

The VideoID component has successfully finished its extraction.

**Event:** `extractionFinish`

**Type:** `CustomEvent<VideoIdResult>`

### Syntax

```typescript
videoId.addEventListener('extractionFinish', onExtractionFinish);
```

### Received object

```js
detail: {
    faceImage: {
        data: string;
        width: number;
        height: number;
        imageFormat: string;
    },
    faceImageTokenized: string,
    voiceIndication: any,
    documentImages: {
        frontDocument: string,
        faceImage: string,
        backDocument: string,
    },
    personalData: PersonalData,
    faceRawResult: SelphiExtractionFinishDetail,
    documentRawResult: SelphIDExtractionFinishDetail,
    operationId: string,
}
```

## Description

The capture and extraction process has finished successfully and the data can now be processed as needed.

***

## Example

```jsx
<facephi-video-id
    onExtractionFinish={(event) => {
        const result = event.detail;
        console.log('VideoID capture:', result);
    }}
/>
```
