FaceAISDK/FaceRecognition_ReactNative

ReactNative on-device face verification, liveness detection, and face enrollment for Android and iOS.

What it solves

This project provides a React Native wrapper for the FaceAISDK, allowing developers to implement offline face enrollment, verification, and liveness detection on iOS and Android devices without requiring a cloud backend.

How it works

It integrates the @faceaisdk/react-native-face-sdk package, which provides a set of native APIs for face-related tasks. The SDK handles the camera interface and processing on-device. Key functions include:

  • Enrollment: Capturing a face via the camera or importing a Base64 image to create a face feature.
  • Verification: Comparing a live face against a stored face feature to verify identity, combined with liveness detection to prevent spoofing.
  • Liveness Detection: Checking if the person in front of the camera is a real person rather than a photo or video.
  • Feature Management: Querying, inserting, or deleting face features associated with a specific face ID.

Who it’s for

Mobile app developers using React Native who need to integrate secure, offline biometric authentication and identity verification into their applications.

Highlights

  • Offline Processing: All face recognition and liveness checks are performed locally on the device.
  • Cross-Platform: Supports both iOS (15.5+) and Android (API 24+).
  • Liveness Detection: Includes configurable motion types and steps to ensure the user is a real person.
  • Customizable Verification: Allows setting similarity thresholds for face verification.
  • Native Integration: Provides a detailed guide for integrating the SDK into existing React Native projects via CocoaPods and Android SDK.

Related

  • Project
  • Project
  • Project
  • Project
  • Project