Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/noppefoxwolf/UpperBodyPoseTracker
https://github.com/noppefoxwolf/UpperBodyPoseTracker
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/noppefoxwolf/UpperBodyPoseTracker
- Owner: noppefoxwolf
- Created: 2020-08-14T14:12:21.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-14T15:48:31.000Z (about 4 years ago)
- Last Synced: 2024-05-02T05:46:17.438Z (6 months ago)
- Language: Swift
- Size: 2.74 MB
- Stars: 22
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-mediapipe - Prebuilt framework for upper body pose tracking
README
# UpperBodyPoseTracker
![](https://github.com/noppefoxwolf/UpperBodyPoseTracker/blob/master/.github/sample.gif)
## Carthage
```
binary "https://raw.githubusercontent.com/noppefoxwolf/UpperBodyPoseTracker/master/UpperBodyPoseTracker.json"
```## Usage
import UpperBodyPoseTracker in bridgingHeader
```objc
#import
```setup pose tracker
```swift
let tracker: UpperBodyPoseTracker = UpperBodyPoseTracker()!tracker.startGraph()
tracker.delegate = self
```handle landmark and rendered example pixelBuffer
```
func upperBodyPoseTracker(_ tracker: UpperBodyPoseTracker!, didOutputLandmarks landmarks: [Landmark]!) {
print(landmarks.count)
}
func upperBodyPoseTracker(_ tracker: UpperBodyPoseTracker!, didOutputPixelBuffer pixelBuffer: CVPixelBuffer!) {
}
```## TODO
- [ ] bitcode
- [ ] x86_64 / i386## Links
[google/mediapipe](https://github.com/google/mediapipe)