Instance Property

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.

See Also

Tracking Human Bodies in 2D

class ARBody2D

The screen-space representation of a person ARKit recognizes in the camera feed.