nicetoolbox.evaluation.metrics.joints.distance_error.DistanceErrorMetric¶
- class nicetoolbox.evaluation.metrics.joints.distance_error.DistanceErrorMetric(metrics_config: BaseMetricConfig, config_handler: ConfigHandler)[source]¶
Bases:
BaseMetricPer-frame, per-joint distance error between predictions and ground truth.
Supports L1 and L2 norms. Works with both 2D and 3D keypoints. The last coordinate dimension is assumed to be confidence and is dropped.
- 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_configmetric_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.