nicetoolbox.evaluation.metrics.joints.bone_length

Classes

BoneLengthMetric

Compute L2 bone lengths per frame from joint positions.

class nicetoolbox.evaluation.metrics.joints.bone_length.BoneLengthMetric(metrics_config: BaseMetricConfig, config_handler: ConfigHandler)[source]

Compute L2 bone lengths per frame from joint positions.

Single-input metric (no ground truth). Uses human_pose.bone_dict to map semantic joint names to bone endpoint pairs.

Parameters:
  • metrics_config – Metric-specific configuration.

  • config_handler – Shared config handler with project and evaluation configs.

compute() MetricResult[source]

Execute the metric end-to-end: load data, compute, return results.

Returns:

MetricResult containing summary tables, per-frame arrays, and plots.