--- description: Explore in-depth guidance for using Ultralytics trackers utils matching, including merge_matches, linear_assignment, iou_distance, embedding_distance, fuse_motion, and fuse_score. keywords: Ultralytics, Trackers Utils, Matching, merge_matches, linear_assignment, iou_distance, embedding_distance, fuse_motion, fuse_score, documentation --- # Reference for `ultralytics/trackers/utils/matching.py` !!! note Full source code for this file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/trackers/utils/matching.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/trackers/utils/matching.py). --- ## ::: ultralytics.trackers.utils.matching.merge_matches

--- ## ::: ultralytics.trackers.utils.matching._indices_to_matches

--- ## ::: ultralytics.trackers.utils.matching.linear_assignment

--- ## ::: ultralytics.trackers.utils.matching.ious

--- ## ::: ultralytics.trackers.utils.matching.iou_distance

--- ## ::: ultralytics.trackers.utils.matching.v_iou_distance

--- ## ::: ultralytics.trackers.utils.matching.embedding_distance

--- ## ::: ultralytics.trackers.utils.matching.gate_cost_matrix

--- ## ::: ultralytics.trackers.utils.matching.fuse_motion

--- ## ::: ultralytics.trackers.utils.matching.fuse_iou

--- ## ::: ultralytics.trackers.utils.matching.fuse_score

--- ## ::: ultralytics.trackers.utils.matching.bbox_ious