live_photo_detector 1.0.5 live_photo_detector: ^1.0.5 copied to clipboard
A single function package to detect weather the face visible in the camera is a live face or not.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add live_photo_detector
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
live_photo_detector: ^1.0.5
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:live_photo_detector/index.dart';
import 'package:live_photo_detector/m7_livelyness_detection.dart';
import 'package:live_photo_detector/m7_livelyness_detection_method_channel.dart';
import 'package:live_photo_detector/m7_livelyness_detection_platform_interface.dart';