Can I use ARBodyTrackingConfiguration with the front camera?

Hello,

I am currently trying to build an app that uses ARKit's motion tracking features to track the joint movement in a body. It seems that every tutorial or documentation piece I find defaults to using the rear camera. I want to use the front camera to track motion so that I can see myself on my iPad screen and see my motions being tracked.

https://developer.apple.com/documentation/arkit/arconfiguration

This page of documentation seems to imply that ARBodyTrackingConfiguration is a rear camera feature.

Is there a way to use ARBodyTrackingConfiguration with the front camera? Alternatively, is it possible to configure ARFaceTrackingConfiguration for body tracking?

Hello,

There is no way to use ARBodyTrackingConfiguration with the front camera, nor is it possible to configure ARFaceTrackingConfiguration for body tracking. If you would like to see these features, please file an enhancement request using Feedback Assistant.

Having said that, you may want to look into utilizing a VNDetectHumanBodyPoseRequest, which you could run on either frames from an ARSession, or frames from your own AVCaptureSession. This approach will provide you with body pose information on a front-facing camera feed.

Can I use ARBodyTrackingConfiguration with the front camera?
 
 
Q