detectedBody
The screen position information of a body that ARKit recognizes in the camera image.
Declaration
var detectedBody: ARBody2D? { get }Discussion
To enable 2D body detection, you add the bodyDetection frame semantic to your configuration’s frameSemantics property, or run your session with an ARBodyTrackingConfiguration, in which body detection is enabled by default.