Face Recognition Flutter SDK

Face recognition Flutter SDK with liveness detection

Code

How to Run

1. Set Up Flutter Development Environment

You can refer to Flutter official documentarrow-up-right to setup enviroment.

2. How to Run the App

If you are going to run the iOS app, please refer to this documentationarrow-up-right for detailed instructions.

APIs

1. Usage of FacesdkPlugin

Activate the FacesdkPlugin

To activate the FacesdkPlugin, use the setActivation method with your activation key:


Initialize FacesdkPlugin

Before using the SDK, initialize it with the init method:


Set Parameters

Configure the SDK settings using setParam:


Extract Face Features

Use the extractFaces method to detect and extract face features from an image:


Calculate Face Similarity

Compare two face templates and calculate their similarity score:


2. Working with camera stream

Native Camera Integration & Face Detection

To integrate the native camera and implement real-time face detection and processing, refer to this filearrow-up-right in the GitHub repository:

Last updated