CafSDK
Last updated
Last updated
Welcome to the documentation for CafSDK, a unified and modular Android SDK that provides robust solutions for document detection and face liveness validation.
CafSDK is a comprehensive Android SDK that integrates two primary functionalities:
Document Detection: Powered by the framework and TensorFlow Lite.
Face Liveness Validation: Offered via the module, which supports both iProov and FaceTec 2D providers. These providers can be used independently or in combination, giving you the flexibility to tailor the solution to your needs.
This unified approach allows developers to include only the necessary modules, reducing bloat and simplifying integration.
Modularity: Integrate the full SDK or select individual components.
Ease of Integration: Using BoM (bill of material) for version management ensures compatibility between SDKs, avoiding conflicts and speeding up integration and use.
Security and Accuracy: Leverages advanced frameworks (e.g., TensorFlow Lite, iProov, FaceTec) for robust document and face validation.
Minimum Android SDK API version (minSdk)
26
Android SDK API version to compile (compileSDK)
34
Kotlin version
1.9.10
Gradle version
8.4
Android Gradle Plugin (AGP) version
8.3.2
Add these lines to your settings.gradle
.
If Java 8 is not enabled, add support to your build.gradle
:
Include the FaceLiveness SDK in your build.gradle
dependencies:
Documentation:
The unified CafSDK is organized into several modular components:
CafSDK
: The umbrella module for core functionalities.
DocumentDetector
: Provides secure document detection using TensorFlow Lite.
CafFaceLiveness
: Manages face liveness validation.