VNDetectHumanBodyPose3DRequest failing on Vision Pro

Hi!

I attempted running a sample project for detecting human pose in 3D with vision framework, that can be found here: https://developer.apple.com/documentation/vision/detecting-human-body-poses-in-3d-with-vision.

It works perfectly on my Macbook Pro M1, but fails on Apple Vision Pro. After selecting a photo, an endless loading screen is displayed and the following message is produced in the console:

Failed to initialize 2D Detection Algorithm.
Failed to initialize 2D Pose Estimation Algorithm.
Failed to initialize algorithm modules
Network path is nil: (null)
Failed to initialize 2D Detection Algorithm.
Failed to initialize 2D Pose Estimation Algorithm.
Failed to initialize algorithm modules
Unable to perform the request: Error Domain=com.apple.Vision Code=9 "Async status object reported as failed but without an error" UserInfo={NSLocalizedDescription=Async status object reported as failed but without an error}.
de-activating session 70138 after timeout

Is human pose detection expected to work on VisionOS? Is there any special configuration required, that I might be missing?

The sample you referenced lists iOS 17.0+, iPadOS 17.0+, and Xcode 15.0+ as the requirements for success. And, while the Mac maybe able to access the API available to iPadOS, it looks like an iPad app in visionOS or even this project with a native visionOS target may not. I’d file a feedback that this is broken.

VNDetectHumanBodyPose3DRequest failing on Vision Pro
 
 
Q