Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/noppefoxwolf/UpperBodyPoseTracker


https://github.com/noppefoxwolf/UpperBodyPoseTracker

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

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)