Get Started
Pose Estimation
On this page
  1. Commands
  2. Settings
  3. Output Variables
  4. JSON Output

Pose Estimation

Estimates a person's pose in real time from the camera video and provides the coordinates of 17 key points (joints). Distances between key points and joint angles can be computed directly.

Commands

CommandDescription
Person Detected?Checks whether a person is detected.
Get KeypointWrites the coordinates and confidence of the specified key point (e.g. wrist, knee).
Distance Between KeypointsWrites the pixel distance between two key points.
Joint AngleComputes and writes the angle of a joint formed by three key points (e.g. the elbow angle).
Keypoint Exists in ZoneChecks whether the specified key point lies inside the Detection Zone.
Get All KeypointsWrites the coordinates of all 17 key points as JSON.

Settings

SettingDescription
Key PointThe key point whose coordinates are read or whose presence in the zone is checked. One of 17.
Key Point 1 / Key Point 2The two key points whose distance is computed.
JointThe joint whose angle is computed: Left Elbow, Right Elbow, Left Shoulder, Right Shoulder, Left Knee, Right Knee, Left Hip, Right Hip, Spine Tilt, or Neck Tilt.
Detection ZoneSee Common Items.

Output Variables

FieldTypeValue
DetectedDigitalResult of Person Detected?, Get Keypoint, and Keypoint Exists in Zone.
Key Point X / Key Point YNumberPixel coordinates of the specified key point.
Confidence (%)NumberConfidence of the specified key point, 0 to 100.
DetectedDigitalFor Distance Between Keypoints and Joint Angle: true when both key points (the joint) were detected and the value was computed.
Joint Angle (°)NumberAngle of the specified joint.
Distance (pixels)NumberDistance between the two key points.
Output (JSON Text)TextArray of the 17 key points.

JSON Output

An array with, per key point, id, name, x, y, and confidence (0 to 100). The sample shows only a few entries.

[
  { "id": 0, "name": "nose", "x": 320, "y": 180, "confidence": 95 },
  { "id": 5, "name": "left_shoulder", "x": 280, "y": 260, "confidence": 91 },
  { "id": 6, "name": "right_shoulder", "x": 360, "y": 258, "confidence": 93 },
  { "id": 15, "name": "left_ankle", "x": 270, "y": 470, "confidence": 78 }
]
The 17 key points
IDJSON nameShown as
0noseNose
1left_eyeLeft Eye
2right_eyeRight Eye
3left_earLeft Ear
4right_earRight Ear
5left_shoulderLeft Shoulder
6right_shoulderRight Shoulder
7left_elbowLeft Elbow
8right_elbowRight Elbow
9left_wristLeft Wrist
10right_wristRight Wrist
11left_hipLeft Hip
12right_hipRight Hip
13left_kneeLeft Knee
14right_kneeRight Knee
15left_ankleLeft Ankle
16right_ankleRight Ankle