ThinkSys Mediapipe Plugin

The ThinkSys Mediapipe Plugin brings pose detection to Flutter apps, filling a gap for iOS developers. It offers real-time tracking, easy integration, and customizable options for fitness and healthcare apps. By connecting MediaPipe's capabilities with Flutter's framework, we're enabling developers to build engaging, motion-based iOS apps easily.

Thinksys

Setup

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

    dependencies:
       thinksys_mediapipe_plugin: ^0.0.12
    
    
  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");
    },
)

thinksys

linkedin

License

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