Skip to main content

2D Keypoint Tracker

The 2D Keypoint Tracker component is designed to attach items to selected body parts, making it ideal for interactive experiences like virtual accessories. Optimized for mobile, this component offers reliable tracking without the processing demands of 3D tracking.

By integrating the Human Action Detection and Human Pose Estimation nodes, this object also supports pose estimation and movement recognition, allowing for interactive effects that respond dynamically to body movements, such as dance effects and gesture-based experiences.

Add the 2D Keypoint Tracker Component

To add a 2D Keypoint Tracker component:

  1. Go to the Inspector panel
  2. Click the + Add Component button
  3. Go to AR Capability
  4. Select 2D Keypoint Tracker

Properties

PropertyDescription
Body Part to TrackSelect the body part, or tracking point, to bind to:
  • Nose
  • Left Eye
  • Right Eye
  • Left Ear
  • Right Ear
  • Neck
  • Left Shoulder
  • Right Shoulder
  • Left Elbow
  • Right Elbow
  • Left Wrist
  • Right Wrist
  • Left Hip
  • Right Hip
  • Left Knee
  • Right Knee
  • Left Ankle
  • Right Ankle

For example, selecting Left Wrist allows you to attach virtual accessories, like a wristband, that will move with the user's hand.

Person to TrackTrack the person closest (Body 1) or second closest (Body 2) to the camera. Only one person can be tracked at once.