Last active
July 6, 2022 05:08
-
-
Save alkozin/720f5a48a27e5dd84ba99ab70c572cab to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Recognize 4 hands on input | |
let pipe = |{ (hands: [VNHumanHandPoseObservation]) in | |
} | |
let request: VNDetectHumanHandPoseRequest = pipe.get() | |
request.maximumHandCount = 4 | |
let preview: AVCaptureVideoPreviewLayer? = pipe.get() | |
view.layer.addSublayer(preview!) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment