Hugging Face - Here
Documentation- Here
Explore face recognition SDK from Faceplugin Top-ranked on NIST FRVT , coupled with an advanced iBeta level 2 liveness detection engine that effectively safeguards against printed photos, video replay, 3D masks, and deepfake threats, ensuring top-tier security.
This is on-premise face recognition SDK which means everything is processed in your phone and NO data leaves the device.

The code below shows how to use the license:
Please contact us to get the license.
Details
Copy the SDK (libfacesdk folder) to the root folder in your project.Add SDK to the project in settings.gradle
rootProject.name = "YourProjectName"
include ':app'
include ':libfacesdk'
Add dependency to your build.gradle
implementation project(path: ':libfacesdk')
publicstaticnativeintsetActivation(java.lang.Strings);publicstaticnativeintinit(AssetManagervar0);publicstaticnativeBitmapyuv2Bitmap(byte[] var0, intvar1, intvar2, intvar3);publicstaticnativeList<FaceBox> faceDetection(Bitmapvar0, FaceDetectionParamvar1);publicstaticnativebyte[] templateExtraction(Bitmapvar0, FaceBoxvar1);publicstaticnativefloatsimilarityCalculation(byte[] var0, byte[] var1);| Code | Status |
|---|---|
| 0 | Activate SDK successfully |
| -1 | Invalid License Key |
| -2 | Invalid AppID |
| -3 | Expired License Key |
| -4 | Activation Failed |
| -5 | SDK Failed |
| Type | Name | Description |
|---|---|---|
| Rect | rect | Bounding box for face |
| int | liveness | Liveness status: 0 for spoof, 1 for real, less than 0 for unknown |
| int | gender | Gender classification result |
| int | mask | Mask presence: 0 for no mask, 1 for mask |
| int | age | Age estimation result |
| float | yaw | Yaw angle: -45 to 45 degrees |
| float | roll | Roll angle: -45 to 45 degrees |
| float | pitch | Pitch angle: -45 to 45 degrees |
| byte[] | feature | 2056-byte facial feature data |
| byte[] | faceData | Encrypted facial data |
| int | orient | Face orientation: 1 for no rotation, 2 for 90° rotation, 3 for 270° rotation, 4 for 180° rotation |
| int | faceId | Face ID in the tracking face mode |
publicclassFaceResult {
publicRectrect;
publicintliveness;
publicintgender;
publicintmask;
publicintage;
publicfloatyaw;
publicfloatroll;
publicfloatpitch;
publicbyte[] feature;
publicbyte[] faceData;
publicintorient;
publicintfaceId;
publicFaceResult() {
}
}Here's our official document
- Face Recognition with Liveness Detection-Android (Java, Kotlin)
- Face Recognition with Liveness Detection-iOS (Objective C, Swift)
- Face Recognition with Liveness Detection-React Native
- Face Recognition with Liveness Detection-Flutter
- Face Recognition with Liveness Detection-Ionic Cordova
- Face Recognition with Liveness Detection-.Net MAUI
- Face Recognition with Liveness Detection-.Net WPF
- Face Recognition with Liveness Detection-Javascript
- Face Recognition with LivenessDetection-React
- Face Recognition with LivenessDetection-Vue
- Face Liveness Detection-Android (Java, Kotlin)
- Face Liveness Detection-iOS (Objective C, Swift)
- Face Liveness Detection-Linux
- Face Liveness Detection-Docker
- Open Source Face Recognition SDK
- Face Recognition SDK
- Liveness Detection SDK
- Palm Recognition SDK
- ID Card Recognition
- ID Document Liveness Detection





