FaceAISDK/FaceAISDK_Android

Android on_device Face Recognition 、 Liveness detection and 1:N & M:N Face Search SDK 端侧可离线人脸识别 活体检测 以及1:N M:N 人脸搜索SDK

What it solves

Face recognition traditionally requires cloud servers or internet connectivity, raising privacy concerns and adding latency. This SDK lets Android apps perform face detection, recognition, and liveness checks entirely on the device, so no biometric data ever leaves the phone or tablet. It handles both 1:1 verification (is this person who they say they are?) and 1:N search (who is this person among many?), enabling secure, private identity checks for access control, attendance, and user authentication.

How it works

All processing happens locally in real time using the device camera. The SDK provides separate modules for different tasks: a verify module for 1:1 face detection, recognition, and liveness checking; a search module for 1:N face search and managing a face library; and an addFace component for enrolling new faces and extracting feature vectors. It works with the built-in system camera or with UVC USB cameras (typically for custom hardware), and includes anti-spoofing measures like silent liveness and action liveness (blinking, smiling, head movements). Integration is done via Maven Central with a simple Gradle dependency.

Who it’s for

Developers building Android applications that need face-based authentication, attendance tracking, or access control—such as password-less login, face unlock, or entry systems—especially when privacy and offline operation are critical. It also suits hardware integrators using USB cameras for kiosks, smart locks, or robotics applications.

Highlights

  • Completely offline: no data uploaded or stored—privacy by design.
  • Supports both silent liveness and action liveness (eye blink, smile, head movements) to prevent spoofing.
  • Offers 1:1 verification and 1:N face search with face library management (add, remove, update).
  • Works with Android 8 through Android 17.
  • Supports both built-in cameras and UVC USB cameras for custom hardware.
  • Simple SDK APIs keep integration cost low and save R&D time.

Related

  • Project
  • Project
  • Project
  • Project