Skip to content

anchals3333/flutter_mediapipe

 
 

Repository files navigation

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.

Thinksys

Setup

  1. First add the dependency in pubspec.yaml file & do run flutter pub get in terminal

    dependencies:
       thinksys_mediapipe_plugin: 0.0.1
    
    
  2. 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>
    
  3. Run cd ios && pod install

  4. 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

thinksys

linkedin

License

This project is licensed under a custom MIT License with restrictions - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 43.8%
  • C++ 21.0%
  • CMake 17.6%
  • Dart 10.0%
  • Ruby 3.2%
  • C 2.0%
  • Other 2.4%