Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Quickly add MediaPipe Pose Estimation and Detection to your iOS app. Enable powerful features in your app powered by the body or hand.

License

NotificationsYou must be signed in to change notification settings

quickpose/quickpose-ios-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swift Package Manager

QuickPose provides developer-oriented cutting edge ML features of MediaPipe and BlazePose, with easy integration and production ready code, which dramatically improves the speed of implementation of pose estimation, skeleton tracking and fitness counting features into mobile applications.

See ourFeatures below orcheckout our full documentation on our websitedocs.quickpose.ai/docs/MobileSDK

Range Of Motion ExampleLeg Raises Counter Example
health-shoulder-right-romfitness-leg-raises

Register an SDK Key

Get your free SDK key onhttps://dev.quickpose.ai, usage limits may apply.SDK Keys are linked to your bundle ID, please check Key before distributing to the App Store.

How it works

QuickPose process a video frame and makes it easy for developers to perform complex AI features to the image, such as overlaying markings to the output image to highlight the user's pose.

+----------++-------------++-----------------+|          |          |             |          |  Overlay Image  ||  Camera|--------->|  QuickPose|--------->|+        ||          |          |             |          |     Results     |+----------++-------------++-----------------+

Features

FeatureExampleSupported
Joint PositionsMediaPipe Landmarksv0.1

Overlays

Whole Body

Upper Body

Lower Body

Shoulder

Left Arm

Right Arm

Left Leg

Right Leg

Whole Body Overlayv0.1

Health - Range Of Motion

Left Shoulder

Right Shoulder

Left Hip

Right Hip

Left Knee

Right Knee

Back

Neck

health-shoulder-right-romv0.3

Distance Independent Measuring Linebeta

Measurement relative to body height

Measurement in CM (using body height as input)

feature-scale-independent-rulerv1.1.0

Fitness - Exercise Detection & Counter

Squat

Sumo Squat

Jumping Jack

Push Up

Plank

Cobra Wings

Left Leg Lunge

Right Leg Lunge

SitUps

CobraWings

Plank

Leg Raises

Glute Bridge

Overhead Dumbbell Press

vUps

Lateral Raises

Front Raises

Hip Abduction Standing Left

Hip Abduction Standing Right

Side Lunges Left

Side Lunges Right

Biceps Curls

fitness-pushupv0.8 - v1.1.0

Input

Raised Finger Detection & Count

finger-counter-leftv0.5

Input

Thumbs Up Detection, Thumbs up and down detection

thumbs-upv0.6

Meta Features

FeatureExampleSupported
Stacked Feature Stylingshoulder-conditional-image
Bike Side View Video by Tariq Ali
v0.4
Conditional Stylingknee-conditional-imagev0.4

Fitness - Feedback

Body Position

Named Leg or Arm not visible

fitness-body-feedbackv0.8
Orientation Switchinglandscapev1.0.0

Supported Platforms

iOS DeviceSilicon Mac (M1, M2, etc)iOS Simulator x86_64iOS Simulator arm64
✅ Runs✅ Runs⚙ Compiles⚙ Compiles

Requirements

  • iOS 14.0+
  • Xcode 10.0+

Installing the SDK

Swift Package Manager

Step 1: Click on Xcode project file

Step 2: Click on Swift Packages and click on the plus to add a package

Step 3: Enter the following repository urlhttps://github.com/quickpose/quickpose-ios-sdk.git and click next

Import Package

Step 4: Choose all modules and click add package.

ModuleDescription
QuickPoseCoreCore SDK (required)
QuickPoseMPMediapipe Library with all models (one QuickPoseMP variant is required)
QuickPoseMP-liteMediapipe Lite Library
QuickPoseMP-fullMediapipe Full Library
QuickPoseMP-heavyMediapipe Heavy Library
QuickPoseCameraUtility Class for Integration (optional, recommended)
QuickPoseSwiftUIUtility Classes for SwiftUI Integration (optional, recommended)

CocoaPods

Step 1: Open your project's Podfile

Step 2: Add your pod file dependencies:

pod 'QuickPoseCore', :git => 'https://github.com/quickpose/quickpose-ios-sdk.git'pod 'QuickPoseCamera', :git => 'https://github.com/quickpose/quickpose-ios-sdk.git'pod 'QuickPoseSwiftUI', :git => 'https://github.com/quickpose/quickpose-ios-sdk.git'
ModuleDescription
QuickPoseCoreIncludes Core SDK and Mediapipe Library (required)
QuickPoseCameraUtility Class for Integration (optional, recommended)
QuickPoseSwiftUIUtility Classes for SwiftUI Integration (optional, recommended)

Step 3: Runpod update from the command line

Getting Started

See code examples below or download ourSample Apps.

Getting Started with Newer Macs M1/M2

Step 1: Download/Clone Repo

Step 2: Open Basic Demo

Step 3: Choose Build Target "My Mac (Designed For iPad/iPhone)"

Step 4: Run

Getting Started With Mac Picture

Step 5: Explore the features and returned results

quickPose.start(features:[.overlay(.upperBody)], onFrame:{ status, image, features, feedback, landmarksinif case.success(_)= status{        overlayImage= image}})

Getting Started with Older Intel Macs

Step 1: Download/Clone Repo

Step 2: Open Basic Demo

Step 3: Choose Build Target as your physical device

Step 5: You will need to change the bundleid and register with apple if you haven't already.

Step 5: Run

Step 6: Explore the features and returned results

quickPose.start(features:[.overlay(.upperBody)], onFrame:{ status, image, features,  feedback, landmarksinif case.success(_)= status{        overlayImage= image}})

SwiftUI Example

import SwiftUIimport QuickPoseCoreimport QuickPoseSwiftUI....structQuickPoseBasicView:View{privatevarquickPose=QuickPose(sdkKey:"YOUR SDK KEY HERE") // register for your free key at https://dev.quickpose.ai@StateprivatevaroverlayImage:UIImage?varbody:someView{GeometryReader{ geometryinZStack(alignment:.top){QuickPoseCameraView(useFrontCamera:true, delegate: quickPose)QuickPoseOverlayView(overlayImage: $overlayImage)}.frame(width: geometry.size.width).edgesIgnoringSafeArea(.all).onAppear{                quickPose.start(features:[.overlay(.userLeftArm)], onFrame:{ status, image, features,  feedback, landmarksinif case.success(_)= status{                        overlayImage= image}})}.onDisappear{                quickPose.stop()}}}}

Documentation

Checkout our full documentation athttps://docs.quickpose.ai/docs/MobileSDK including more SwiftUI and UIKit examples.

Troubleshooting

No Such Module

Xcode reports error no such moduleQuickPoseCore or no such moduleQuickPoseSwiftUI

This happens when the linker cannot find the provided XCFrameworks. These needs to be added to your build Target.

xcode troubleshooting no such module error

xcode troubleshooting no such module guide


[8]ページ先頭

©2009-2025 Movatter.jp