> 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/flutter/standalone-modules/documentdetector.md).

# Document Detector (DEPRECATED)

The Document Detector SDK allows seamless document capture and verification, enabling you to integrate advanced document detection capabilities into your applications.

{% hint style="warning" %}
This standalone package is deprecated. For new integrations, use **caf\_sdk 2.4.0+** (Certta DevX). See the [Installation Guide](https://docs.caf.io/caf-sdk/flutter/installation-guide.md).
{% endhint %}

{% hint style="info" %}
This library provides a Flutter bridge for our native SDKs. The versions currently in use are as follows:

* Android: `io.caf.sdk:document-detector:9.15.5`
* iOS: `DocumentDetector, 16.0.2`
  {% endhint %}

The Document Detector SDK utilizes cutting-edge artificial intelligence to capture and verify document images reliably, ensuring fraud prevention and compliance. It is ideal for onboarding processes that require document authentication.

## Repository

You can access the Caf's Document Detector Flutter Repository [here](https://github.com/combateafraude/DocumentDetectorFlutter/).

## Terms & Policies

When using our SDKs, please make sure that you agree with our [Privacy Policy](https://en.caf.io/politicas/politicas-de-privacidade) and our [Terms and Conditions of Use](https://en.caf.io/politicas/termos-e-condicoes-de-uso).

### Runtime Permissions

#### Android

| Permission | Reason                                                      | Required |
| ---------- | ----------------------------------------------------------- | :------: |
| `CAMERA`   | Capturing images of the document for verification purposes. |     ✅    |

#### iOS

| Permission                           | Reason                                                      | Required |
| ------------------------------------ | ----------------------------------------------------------- | :------: |
| `Privacy - Camera Usage Description` | Capturing images of the document for verification purposes. |     ✅    |

***

## Useful Links

{% content-ref url="/pages/t972GJ43VBWohivOXVtB" %}
[Requirements](https://docs.caf.io/caf-sdk/flutter/standalone-modules/documentdetector/requirements.md)
{% endcontent-ref %}

{% content-ref url="/pages/BtK8LEPy2d6WcGeXak3o" %}
[Installating the SDK](https://docs.caf.io/caf-sdk/flutter/standalone-modules/documentdetector/installation.md)
{% endcontent-ref %}

{% content-ref url="/pages/BEdZxwNJDV5TB8AMB6oS" %}
[Android Configuration](https://docs.caf.io/caf-sdk/flutter/standalone-modules/documentdetector/android_config.md)
{% endcontent-ref %}

{% content-ref url="/pages/hmaVrqde2KSIChIzWSNj" %}
[iOS Configuration](https://docs.caf.io/caf-sdk/flutter/standalone-modules/documentdetector/ios_config.md)
{% endcontent-ref %}

{% content-ref url="/pages/Mj38ToDLIcZYBmOp5vbS" %}
[SDK Lifecycle](https://docs.caf.io/caf-sdk/flutter/standalone-modules/documentdetector/lifecycle.md)
{% endcontent-ref %}

{% content-ref url="/pages/QlBIZESLXb8yadpwtPWn" %}
[Building the SDK](https://docs.caf.io/caf-sdk/flutter/standalone-modules/documentdetector/builder.md)
{% endcontent-ref %}

{% content-ref url="/pages/h1nvekCRj1ZiB9CBZOmc" %}
[Start Liveness Verification](https://docs.caf.io/caf-sdk/flutter/standalone-modules/documentdetector/start-sdk.md)
{% endcontent-ref %}

{% content-ref url="/pages/N3zLM2pwrp4JePu8liCF" %}
[Source Code](https://docs.caf.io/caf-sdk/flutter/standalone-modules/documentdetector/source-code.md)
{% endcontent-ref %}

{% content-ref url="/pages/XspyJcqharicAG1MBEf0" %}
[Release Notes](https://docs.caf.io/caf-sdk/flutter/standalone-modules/documentdetector/release-notes.md)
{% endcontent-ref %}


---

# 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/flutter/standalone-modules/documentdetector.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.
