When usign motmetrics.utils.compare_to_groundtruth() function with dist='euc', the distance metric is configured to the squared euclidean distance (norm2squared_matrix).
As a consequence, the distance threshold (distth) should be the maximum squared distance. Also, the MOTP metric returns the mean squared distance.
When usign motmetrics.utils.compare_to_groundtruth() function with dist='euc', the distance metric is configured to the squared euclidean distance (norm2squared_matrix). As a consequence, the distance threshold (distth) should be the maximum squared distance. Also, the MOTP metric returns the mean squared distance.
The compute_euc() function can be modified to obtain the desired/expected units. https://github.com/cheind/py-motmetrics/blob/1ad168c1f194e2ae06102d368d561b2f4f82fda3/motmetrics/utils.py#L54
I don't think this will have much impact on the computation time.