Please give me some answer...
On arkit, I put these codes...
func session(_ session: ARSession, didUpdate frame: ARFrame) {
let handler = VNImageRequestHandler(cvPixelBuffer: frame.capturedImage, orientation: .up, options: [:])
do {
try? handler.perform([handPoseRequest])
guard let observation = handPoseRequest.results?.first as?VNRecognizedPointsObservation else {return}
let thumb = try! observation.recognizedPoints(forGroupKey: .handLandmarkRegionKeyThumb)
} catch {}
}
At last part with let thumb.. segmentation fault 11 comes up.
I saw a twit of video running this, but I tried this for week in any possible ways, I couldn't figure this out.
Please, please give me some answer 😭
On arkit, I put these codes...
func session(_ session: ARSession, didUpdate frame: ARFrame) {
let handler = VNImageRequestHandler(cvPixelBuffer: frame.capturedImage, orientation: .up, options: [:])
do {
try? handler.perform([handPoseRequest])
guard let observation = handPoseRequest.results?.first as?VNRecognizedPointsObservation else {return}
let thumb = try! observation.recognizedPoints(forGroupKey: .handLandmarkRegionKeyThumb)
} catch {}
}
At last part with let thumb.. segmentation fault 11 comes up.
I saw a twit of video running this, but I tried this for week in any possible ways, I couldn't figure this out.
Please, please give me some answer 😭