FAQ


1. What is the CAF Face Liveness SDK and what is its main functionality?

Answer:

The CAF Face Liveness SDK provides a solution for verifying whether the face captured by a mobile device's camera is from a live person and not a photo, video, or other forms of spoofing. It’s widely used in scenarios where identity verification is crucial, such as KYC (Know Your Customer), fraud prevention, and secure access.


2. What are the system requirements for the CAF Face Liveness SDK on Android?

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 Requirements section.


3. What permissions are required to use the SDK?

Answer:

The SDK requires the following permissions:

  • Camera (android.permission.CAMERA)

  • Internet (android.permission.INTERNET)

  • Access to the external storage if you plan to store captured images locally.

Ensure these are added to your AndroidManifest.xml and handle permission requests in your app appropriately for Android versions that require runtime permission requests.

3. How do I integrate the CAF Face Liveness SDK into my Android project?

Answer:

To integrate the SDK:

  1. Add the SDK dependencies to your build.gradle file.

  2. Configure necessary permissions for the camera and internet access in your app’s AndroidManifest.xml.

  3. Initialize the SDK in your application’s lifecycle, typically within onCreate() of your main activity.

For detailed instructions, please refer to the Gradle setup section.


4. What is the current version of the SDK, and where can I find version-specific details?

Answer:

The current version of the SDK is regularly updated. You can find the latest version information, including changelogs and version-specific details, here.


5. How do I start the Face Liveness verification process in my app?

Answer:

To start the liveness check, follow these steps:

  1. Build the liveness session using the SDK’s builder.

  2. Start the liveness activity.

  3. Capture the result in the activity’s callback.

For more details on how to initiate the process, refer to the Start SDK section.


6. Can the SDK be customized to use reverse proxy URLs?

Answer:

Yes, the SDK offers authentication and liveness URL customization options through the builder interface. These advanced features can be explored in the Advanced Features section.


7. What are the typical errors or issues that could occur, and how can I troubleshoot them?

Answer:

Some common errors include:

  • Camera permission not granted: Ensure your app requests the necessary permissions at runtime.

  • 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 the liveness check to succeed.

For more troubleshooting details, refer to the References section.

Last updated

Logo

2023 © Caf. - All rights reserved