Skip to content


How to install the Regula Face SDK.


  • The latest stable version of Flutter.

  • For iOS, the minimum target is iOS 11.0.

  • For Android, the minimum Android API level is 21.


The Face SDK is available on

Add flutter_face_api as a dependency in your pubspec.yaml file:

  flutter_face_api: ^3.0.0

Alternatively, run this command:

flutter pub add flutter_face_api

Then install the packages using the following command:

flutter pub get

Huawei Vision

Huawei Vision is used for face detection in video stream using Huawei services.

Devices that do not have Google Mobile Services (GMS) such as Huawei need to include the Huawei Vision library. This means that to run the Face SDK on a Huawei device or any other device that has GMS disabled, it is necessary to integrate the Huawei Vision library. In this case, the Huawei or Honor device is automatically identified, and Huawei Vision is used.

Add the dependency, if needed:

  flutter_face_huawei_vision: ^0.0.1

Import the Face SDK

You should now be able to import face_api:

import 'package:flutter_face_api/face_api.dart';