thinksys_mediapipe_plugin 0.0.4 thinksys_mediapipe_plugin: ^0.0.4 copied to clipboard
The Thinksys Pose Detection Plugin is a Flutter package that integrates with MediaPipe to provide real-time pose detection capabilities specifically for iOS applications. This plugin allows developers [...]
Thinksys Mediapipe Plugin #
The Thinksys Pose Detection Plugin is a Flutter package that integrates with MediaPipe to provide real-time pose detection capabilities specifically for iOS applications. This plugin allows developers to easily track and analyze human poses, enabling features such as fitness tracking, gesture recognition, and more. With seamless integration and high-performance detection, it's an ideal tool for building interactive and motion-based iOS applications.
Setup #
-
First add the dependency in
pubspec.yaml
file & do runflutter pub get
in terminaldependencies: thinksys_mediapipe_plugin: 0.0.4
-
Add camera usage permission in Info.plist in example/ios
<key>NSCameraUsageDescription</key> <string>This app uses camera to get pose landmarks that appear in the camera feed.</string>
-
Run
cd ios && pod install
-
Run
flutter pub get
Usage #
import 'package:thinksys_mediapipe_plugin/pose_detection.dart';
PoseLandmarks(
key: UniqueKey(),
poseLandmarks: (value) {
print("Received Landmarks : $value");
},
)
You can also provide the options to enable/disable the landmarks on different parts of body :
PoseLandmarks(
key: UniqueKey(),
options: PoseLandmarkOptions(
face: true,
leftLeg: false,
rightLeg: false,
leftArm: true,
rightArm: true,
torso: true),
poseLandmarks: (value) {
print("Received Landmarks : $value");
},
)
🔗 Links #
License #
This project is licensed under a custom MIT License with restrictions - see the LICENSE file for details.