Detecting human body poses in 3D with Vision sample working?

Hi,

Has anyone gotten the human body pose in 3D sample provided at the following working?

https://developer.apple.com/documentation/vision/detecting_human_body_poses_in_3d_with_vision

I installed iPadOS 17 on a 9th Gen iPad. The sample load up on Mac and iPad. However after selecting an image, it goes into the spinning wheel without anything returned. I hope to play and learn more about the sample. Any pointers or help is greatly appreciated.

Similarly, the Detecting animal body poses with Vision is showing up as blank for me.

https://developer.apple.com/documentation/vision/detecting_animal_body_poses_with_vision

Or does the samples require a device with Lidar? Thank you in advance.

Answered by Yongqi Xu in 757712022

@jamesboo I have found a fix. On line 53 of CameraViewController.swift, you can try to change the device type to something else like .builtInDualWideCamera.

After updating iPad to iOS 17 beta 2 I am able to run the detecting human body pose.

but animal pose example is still showing blank. anyone facing the same problem?

I am having the same issue when trying it on an iPhone 13 mini. Not sure if it's hardware restrictions.

Accepted Answer

@jamesboo I have found a fix. On line 53 of CameraViewController.swift, you can try to change the device type to something else like .builtInDualWideCamera.

@Yongqi Xu

Thanks for the tip. It works like a charm! :)

Detecting human body poses in 3D with Vision sample working?
 
 
Q