Richard8Yang / mediapipe_ios_test

0 stars 1 forks source link

HandTracker

Original : https://github.com/noppefoxwolf/HandTracker

Usage

import HandTracker in bridgingHeader

#import <HandTracker/HandTracker.h>

setup handtracker

let tracker: HandTracker = HandTracker()!

tracker.startGraph()
tracker.delegate = self

handle landmark and rendered example pixelBuffer

func handTracker(_ handTracker: HandTracker!, didOutputLandmarks landmarks: [Landmark]!) {
    print(landmarks.count)
}

func handTracker(_ handTracker: HandTracker!, didOutputPixelBuffer pixelBuffer: CVPixelBuffer!) {

}

Links

google/mediapipe