- Notifications
You must be signed in to change notification settings - Fork16
Quickly add MediaPipe Pose Estimation and Detection to your iOS app. Enable powerful features in your app powered by the body or hand.
License
quickpose/quickpose-ios-sdk
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
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 Example | Leg Raises Counter Example |
|---|---|
![]() | ![]() |
- Register an SDK Key
- How it works
- Features
- Meta Features
- Supported Platforms
- Requirements
- Installing the SDK
- Getting Started
- Documentation
- Troubleshooting
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.
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 |+----------++-------------++-----------------+
| Feature | Example | Supported |
|---|---|---|
| Stacked Feature Styling | ![]() Bike Side View Video by Tariq Ali | v0.4 |
| Conditional Styling | ![]() | v0.4 |
Fitness - Feedback Body Position Named Leg or Arm not visible | ![]() | v0.8 |
| Orientation Switching | ![]() | v1.0.0 |
| iOS Device | Silicon Mac (M1, M2, etc) | iOS Simulator x86_64 | iOS Simulator arm64 |
|---|---|---|---|
| ✅ Runs | ✅ Runs | ⚙ Compiles | ⚙ Compiles |
- iOS 14.0+
- Xcode 10.0+
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
Step 4: Choose all modules and click add package.
| Module | Description |
|---|---|
| QuickPoseCore | Core SDK (required) |
| QuickPoseMP | Mediapipe Library with all models (one QuickPoseMP variant is required) |
| QuickPoseMP-lite | Mediapipe Lite Library |
| QuickPoseMP-full | Mediapipe Full Library |
| QuickPoseMP-heavy | Mediapipe Heavy Library |
| QuickPoseCamera | Utility Class for Integration (optional, recommended) |
| QuickPoseSwiftUI | Utility Classes for SwiftUI Integration (optional, recommended) |
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'| Module | Description |
|---|---|
| QuickPoseCore | Includes Core SDK and Mediapipe Library (required) |
| QuickPoseCamera | Utility Class for Integration (optional, recommended) |
| QuickPoseSwiftUI | Utility Classes for SwiftUI Integration (optional, recommended) |
Step 3: Runpod update from the command line
See code examples below or download ourSample Apps.
Step 1: Download/Clone Repo
Step 2: Open Basic Demo
Step 3: Choose Build Target "My Mac (Designed For iPad/iPhone)"
Step 4: Run
Step 5: Explore the features and returned results
quickPose.start(features:[.overlay(.upperBody)], onFrame:{ status, image, features, feedback, landmarksinif case.success(_)= status{ overlayImage= image}})
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}})
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()}}}}
Checkout our full documentation athttps://docs.quickpose.ai/docs/MobileSDK including more SwiftUI and UIKit examples.
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.
About
Quickly add MediaPipe Pose Estimation and Detection to your iOS app. Enable powerful features in your app powered by the body or hand.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Contributors3
Uh oh!
There was an error while loading.Please reload this page.













