Glenn Jocher 96349afb2a
Update URLs to follow 301 redirects to final destinations (#24462)
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
2026-05-12 01:47:17 +08:00

21 lines
868 B
Markdown

---
description: Custom NMS implementation for Ultralytics YOLO with TorchNMS class for torchvision-free inference and fast-nms for oriented bounding boxes. Optimized for speed and accuracy.
keywords: NMS, non-maximum suppression, TorchNMS, YOLO, torchvision-free, rotated NMS, object detection, bounding boxes, IoU threshold, custom implementation
---
# Reference for `ultralytics/utils/nms.py`
!!! success "Improvements"
This page is sourced from [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/nms.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/nms.py). Have an improvement or example to add? Open a [Pull Request](https://docs.ultralytics.com/help/contributing) — thank you! 🙏
<br>
## ::: ultralytics.utils.nms.TorchNMS
<br><br><hr><br>
## ::: ultralytics.utils.nms.non_max_suppression
<br><br>