apopt.com

Data / formats / pose-keypoints

Pose keypoints (COCO-17)

The apps and the book's pose files use the 17 COCO keypoints, in this order:

#name#name
0nose9left wrist
1left eye10right wrist
2right eye11left hip
3left ear12right hip
4right ear13left knee
5left shoulder14right knee
6right shoulder15left ankle
7left elbow16right ankle
8right elbow

"Left" means the athlete's left, not the left of the image.

Pose CSV layout

One row per video frame:

Point names are shortened: l_ and r_ for left and right, for example l_ankle_x.

To turn frames into seconds, divide by the capture frame rate (not the file's frame rate if the clip was slow motion). To turn pixels into metres, use a known length in the image (the athlete's height or a marked distance) and remember the scale only holds in the plane facing the camera.

Example files: book/ch08-pose/ (the same clip through five model sizes), book/ch09-gait/.

Plain text: pose-keypoints.md