> For the complete documentation index, see [llms.txt](https://docs.caf.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.caf.io/caf-sdk/caf-sdk-pt-br/android/standalone-modules/document-detector.md).

# Document Detector (DESCONTINUADO)

Capture fotos autênticas e de alta qualidade de documentos enviados pelo usuário, permitindo que você as envie depois para análise em nossa API.

### Termos e Políticas

Ao usar nossos SDKs, certifique-se de que você concorda com nossa [Política de Privacidade](https://en.caf.io/politicas/politicas-de-privacidade) e nossos [Termos e Condições de Uso](https://en.caf.io/politicas/termos-e-condicoes-de-uso).

### Dependências do SDK

DocumentDetector utiliza os seguintes SDKs externos:

* [Rudderstack](https://www.rudderstack.com/docs/): Fornece métricas de usuários para entregar dados confiáveis em tempo real.

**Importante:** Se você planeja publicar seu app na *Google Play Store*, você deve preencher um formulário de segurança de dados. Siga as etapas na [seção do formulário de segurança do Google](https://docs.caf.io/caf-sdk/caf-sdk-pt-br/android/standalone-modules/document-detector/google-security-form.md).

#### **Tamanho do SDK**

O tamanho do SDK é de aproximadamente 3,3 MB, o que pode diminuir devido a [estes elementos](https://docs.caf.io/caf-sdk/caf-sdk-pt-br/android/standalone-modules/document-detector/reduce-sdks-size.md).

#### **Permissões em tempo de execução**

| Permissão                   | Motivo                                                                                          |             Obrigatório            |
| --------------------------- | ----------------------------------------------------------------------------------------------- | :--------------------------------: |
| **`CAMERA`**                | Para capturar fotos dos documentos.                                                             | Somente para o recurso de captura. |
| **`READ_EXTERNAL_STORAGE`** | Para acessar o armazenamento externo do dispositivo e selecionar documentos no fluxo de upload. |  Somente para o recurso de upload. |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.caf.io/caf-sdk/caf-sdk-pt-br/android/standalone-modules/document-detector.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
