Original : https://github.com/noppefoxwolf/HandTracker
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!) {
}