SkeletonDefinition

Models & Types · AiDotNet.Augmentation.Image

Represents a skeleton definition for pose estimation.

How It Works

A skeleton defines the structure of keypoints and their connections.

Constructors

Constructor Summary
SkeletonDefinition()

Properties

Property Summary
IList<ValueTuple<int, int>> Connections { get; set; } Gets or sets the skeleton connections as pairs of keypoint indices.
IList<ValueTuple<int, int>> SymmetricPairs { get; set; } Gets or sets the left-right symmetric keypoint pairs for horizontal flip.
IList<double> KeypointOKSConstants { get; set; } Gets or sets the per-keypoint OKS constants (for COCO-style evaluation).
IList<string> KeypointNames { get; set; } Gets or sets the keypoint names in order.

Methods

Method Summary
SkeletonDefinition CreateCOCO() Creates a standard COCO human pose skeleton with 17 keypoints.
SkeletonDefinition CreateMPII() Creates a MPII human pose skeleton with 16 keypoints.