Flutter
How to install the Regula Face SDK.
Requirements
-
The latest stable version of Flutter.
-
For iOS, the minimum target is iOS 11.0.
-
For Android, the minimum Android API level is 21.
Installation
The Face SDK is available on pub.dev. Note that the SDK includes the essential Core framework that should be added to all projects.
Add flutter_face_api
as a dependency in your pubspec.yaml
file:
dependencies:
flutter_face_api: ^5.1.2371
flutter_face_core: ^5.1.165
Alternatively, run this command:
flutter pub add flutter_face_api
flutter pub add flutter_face_core
Then install the packages using the following command:
flutter pub get
Import the Face SDK
You should now be able to import face_api
:
import 'package:flutter_face_api/face_api.dart';
Info
You can always use our demo application: https://github.com/regulaforensics/flutter_face_api