# Biometria Facial

<table data-header-hidden><thead><tr><th width="230">Contexto</th><th>Valor</th></tr></thead><tbody><tr><td><strong>Código</strong></td><td><mark style="color:blue;">cpf-facial-biometric</mark></td></tr><tr><td><strong>Assíncrono</strong></td><td>Sim</td></tr></tbody></table>

#### Parâmetros&#x20;

<table><thead><tr><th width="234">Campo</th><th>Descrição</th></tr></thead><tbody><tr><td><strong>report_id</strong></td><td>Código do relatório</td></tr><tr><td><strong>document</strong></td><td>CPF da pessoa a ser consultada</td></tr><tr><td><strong>selfie</strong></td><td>Selfie (Em base 64) da pessoa a ser consultada</td></tr><tr><td><strong>trial</strong></td><td><mark style="color:red;">Enviar este campo apenas durante integração</mark></td></tr></tbody></table>

```json
{
    "report_id":"cpf-facial-biometric",
    "document":"00000000000",
    "selfie":"IMAGE_BASE64",
    "trial":true
}
```

{% hint style="info" %} <mark style="color:blue;">**INFO**</mark>

Os parâmetros deste relatório devem ser enviar no formato **body raw** da requisição
{% endhint %}

{% hint style="warning" %} <mark style="color:orange;">**INFO**</mark>

A imagem da selfie enviada deve estar entre um limite mínimo e máximo de tamanho, gerando um equilíbrio entre qualidade da análise e tempo de resposta.

Imagens mais próximas do limite máximo, possui maior assertividade, com maior tempo de retorno e proporcionalmente, ao contrário.

A imagem deve possuir a extensão **JPG, JPEG ou PNG**.

A imagem dever possuir o tamanho **máximo de 2MB.**
{% endhint %}

### Campos de retorno

<table><thead><tr><th width="250">Campo</th><th>Descrição</th></tr></thead><tbody><tr><td>score</td><td>Valor em percentual de similaridade da selfie enviada contra a base de conhecimento.<br>O score possui o range entre <strong>0 e 100</strong> (%).</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fastflow360.com.br/pessoa-fisica/cpf/biometria-facial.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
