nicetoolbox.evaluation.metrics.joints.bone_length.BoneLengthMetric¶
- class nicetoolbox.evaluation.metrics.joints.bone_length.BoneLengthMetric(metrics_config: BaseMetricConfig, config_handler: ConfigHandler)[source]¶
Bases:
BaseMetricCompute L2 bone lengths per frame from joint positions.
Single-input metric (no ground truth). Uses
human_pose.bone_dictto map semantic joint names to bone endpoint pairs.- Parameters:
metrics_config – Metric-specific configuration.
config_handler – Shared config handler with project and evaluation configs.
Methods
Execute the metric end-to-end: load data, compute, return results.
Attributes
metric_configbonesmetric_nameconfig_handler- compute() MetricResult[source]¶
Execute the metric end-to-end: load data, compute, return results.
- Returns:
MetricResult containing summary tables, per-frame arrays, and plots.