---
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). Help us fix any issues you see by submitting a [Pull Request](https://docs.ultralytics.com/help/contributing/) 🛠️. Thank you 🙏!

---
## ::: ultralytics.trackers.utils.matching.merge_matches
<br><br>

---
## ::: ultralytics.trackers.utils.matching._indices_to_matches
<br><br>

---
## ::: ultralytics.trackers.utils.matching.linear_assignment
<br><br>

---
## ::: ultralytics.trackers.utils.matching.ious
<br><br>

---
## ::: ultralytics.trackers.utils.matching.iou_distance
<br><br>

---
## ::: ultralytics.trackers.utils.matching.v_iou_distance
<br><br>

---
## ::: ultralytics.trackers.utils.matching.embedding_distance
<br><br>

---
## ::: ultralytics.trackers.utils.matching.gate_cost_matrix
<br><br>

---
## ::: ultralytics.trackers.utils.matching.fuse_motion
<br><br>

---
## ::: ultralytics.trackers.utils.matching.fuse_iou
<br><br>

---
## ::: ultralytics.trackers.utils.matching.fuse_score
<br><br>

---
## ::: ultralytics.trackers.utils.matching.bbox_ious
<br><br>
