body_detection 0.0.3 body_detection: ^0.0.3 copied to clipboard
A flutter plugin that uses MLKit on iOS/Android platforms to enable body pose and mask detection using Pose Detection and Selfie Segmentation APIs for both static images and live camera stream.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add body_detection
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
body_detection: ^0.0.3
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:body_detection/body_detection.dart';