Skip to content
Projects

FaceAISDK/FaceAISDK_Android

View on GitHub

About

An Android on-device Face Recognition, Liveness Detection, and 1:N and M:N Face Search SDK. It supports offline face recognition and liveness detection on the device.

AI & Machine Learning

How these counts are measured

Measured star growth

in 24h
+1
in 7 days
+15
in 15 days
+28
in 1 month
+33

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original
FaceAI SDK · Fast Face Recognition

English | 中文

Get FaceAI on Google Play

FaceAISDK for Android

An on-device SDK for offline face detection, recognition, liveness anti-spoofing, and 1:N / M:N face search.

Face recognition, face search, and related features are implemented entirely on the edge. The SDK supports Android 8–17.

Privacy first: All SDK features work offline. No face data is uploaded or stored.

The SDK supports silent liveness detection and action-based liveness detection, including mouth opening, smiling, blinking, head shaking, and nodding. It also supports UVC-compatible USB cameras (clear imaging and WDR > 105 dB are recommended).

🚀 Efficient Integration 🔑 Data Security 📡 Offline Use 💰 Cost Saving
Simple SDK APIs enable quick integration and reduce development and maintenance costs. Inference runs locally on the device, so user data is never sent to the cloud. No network connection or cloud service is required; a single device can handle small-scale scenarios. On-device machine learning reduces cloud infrastructure costs.

What's New · v2026.11.01

  • Added support for Android 17.
  • New face search SDK: FaceSDKPro
  • Note: Face features from FaceAISDK and HelloFace are not interchangeable.

See the SDK update history for earlier releases.

How to Use

FaceAISDK is hosted on Maven Central. Make sure mavenCentral() is included in your repositories configuration, then add the dependency:

api 'io.github.FaceAISDK:Android:Version' // UVC cameras also require the UVCAndroid dependency

Project Structure

Module Description
FaceSDKLib Submodule demonstrating all FaceAISDK features.
verify 1:1 face detection and recognition, liveness detection, and static face comparison.
search 1:N face search and recognition, plus face library management (CRUD).
addFace Shared component for 1:1 and 1:N workflows; adds faces and obtains feature vectors through the SDK camera.
SysCamera System camera support for phones and tablets; generally works immediately after opening.
UVCCamera Face recognition and search using UVC-compatible USB cameras, typically for custom hardware.

Use Cases

  • 1:1 — Mobile attendance, passwordless app login, face authorization, face unlock, and patrol check-in verification.
  • 1:N — Residential and company access control, smart locks, smart campuses, robots, smart homes, communities, hotels, and more.

SDK Demos

Platform Repository
iOS FaceAISDK_iOS
Android FaceAISDK_Android
Flutter FaceRecognition_Flutter
uniApp UTS FaceAISDK_uniapp_UTS
React Native FaceRecognition_ReactNative

If FaceAISDK helps you, please consider giving the project a ⭐. Thank you!

Demo APK

Scan the QR code to download the FaceAISDK demo APK

For more information, see the FaceAISDK product description and API documentation.

Explore related projects

Loading…