new_face_liveness 4.0.0 new_face_liveness: ^4.0.0 copied to clipboard
Flutter plugin cross-platform (iOS, Android) for Combate à Fraude's PassiveFaceLiveness (https://github.com/combateafraude).
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add new_face_liveness
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
new_face_liveness: ^4.0.0
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:new_face_liveness/caf_stage.dart';
import 'package:new_face_liveness/caf_time.dart';
import 'package:new_face_liveness/camera_filter.dart';
import 'package:new_face_liveness/face_liveness.dart';
import 'package:new_face_liveness/face_liveness_events.dart';