FAQ
Last updated
Last updated
Answer:
Document Detector allows users to capture authentic, high-quality photos of user-submitted documents for analysis using our API. It supports document capture and reading through both camera and upload modes. The tool can process various types of documents, from national IDs to international passports.
Answer:
The SDK supports Android API 26 and above, ensuring compatibility with modern Android devices. Your Android project should use a minimum SDK version of 26.
For more requirement details, such as Kotlin and Gradle version, please refer to the .
Answer:
The SDK requires the following permissions:
CAMERA
To capture photos of the documents.
Only for capture feature.
READ_EXTERNAL_STORAGE
To access the device external storage and select documents in the upload flow.
Only for upload feature.
Ensure these are added to your AndroidManifest.xml
and handle permission requests in your app appropriately for Android versions that require runtime permission requests.
Answer:
To integrate the SDK:
Add the SDK dependencies to your build.gradle
file.
Configure necessary permissions for the camera and internet access in your app’s AndroidManifest.xml
.
Initialize the SDK in your application’s lifecycle, typically within onCreate()
of your main activity.
Answer:
Answer:
To start the document capture process, follow these steps:
Build a capture session using the SDK’s builder.
Start the document capture activity.
Capture the result in the activity’s callback.
Answer:
Answer:
Some common errors include:
SDK initialization failure: Check your Gradle setup and ensure the SDK is properly initialized in the app lifecycle.
Network errors: Ensure the device has an active internet connection for document processing.
For detailed instructions, please refer to the .
The current version of the SDK is regularly updated. You can find the latest version information, including changelogs and version-specific details, .
For more details on how to initiate the process, refer to the .
Yes, Document Detector supports document capture through both camera and upload modes. To learn more about enabling and using the upload mode, please refer to the .
Security Failure: It usually happens when the user is with developer mode, debug mode or ADB enabled. Check the sections for more information.
For more troubleshooting details, refer to the .