What one keypoint label holds
- A fixed list of named points and the edges between them, shared by every instance of the class.
- A visibility flag per point. In COCO it is 0 for not labeled, 1 for labeled but hidden, 2 for labeled and visible.
- Usually a bounding box around the instance, which top-down pose models crop before predicting points.
How pose predictions are scored
Box IoU has no meaning for points, so COCO compares a predicted skeleton with the true one through object keypoint similarity (OKS), then computes average precision over OKS thresholds the way mAP does over IoU.
OKS = Σᵢ exp(−dᵢ² / (2 · s² · kᵢ²)) · δ(vᵢ > 0) / Σᵢ δ(vᵢ > 0)Mistakes to plan for
- Left and right swapped on people seen from behind. State the convention in the annotation guidelines.
- Guessing hidden points on some images and leaving them out on others.
- Horizontal flips during training without swapping left and right point names.
Keypoints in Supervisely
In the image labeling tool a skeleton of named points is defined once and placed on every person, animal or part, and points out of sight can be disabled. The YOLO apps train pose models; the README of the earlier YOLOv8 training app asks for each object to be labeled with both a keypoint graph and a box, matched by object binding or by the distance between their centres. ViTPose predicts skeletons inside boxes from a detector, and CoTracker tracks a keypoint graph through video. Guides: human pose estimation and animal pose estimation.