---
description: Explore detailed documentation on utility operations in Ultralytics including non-max suppression, bounding box transformations, and more.
keywords: Ultralytics, utility operations, non-max suppression, bounding box transformations, YOLOv8, machine learning
---
# Reference for `ultralytics/utils/ops.py`
!!! note
This file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/ops.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/ops.py). If you spot a problem please help fix it by [contributing](https://docs.ultralytics.com/help/contributing/) a [Pull Request](https://github.com/ultralytics/ultralytics/edit/main/ultralytics/utils/ops.py) 🛠️. Thank you 🙏!
## ::: ultralytics.utils.ops.Profile
## ::: ultralytics.utils.ops.segment2box
## ::: ultralytics.utils.ops.scale_boxes
## ::: ultralytics.utils.ops.make_divisible
## ::: ultralytics.utils.ops.nms_rotated
## ::: ultralytics.utils.ops.non_max_suppression
## ::: ultralytics.utils.ops.clip_boxes
## ::: ultralytics.utils.ops.clip_coords
## ::: ultralytics.utils.ops.scale_image
## ::: ultralytics.utils.ops.xyxy2xywh
## ::: ultralytics.utils.ops.xywh2xyxy
## ::: ultralytics.utils.ops.xywhn2xyxy
## ::: ultralytics.utils.ops.xyxy2xywhn
## ::: ultralytics.utils.ops.xywh2ltwh
## ::: ultralytics.utils.ops.xyxy2ltwh
## ::: ultralytics.utils.ops.ltwh2xywh
## ::: ultralytics.utils.ops.xyxyxyxy2xywhr
## ::: ultralytics.utils.ops.xywhr2xyxyxyxy
## ::: ultralytics.utils.ops.ltwh2xyxy
## ::: ultralytics.utils.ops.segments2boxes
## ::: ultralytics.utils.ops.resample_segments
## ::: ultralytics.utils.ops.crop_mask
## ::: ultralytics.utils.ops.process_mask
## ::: ultralytics.utils.ops.process_mask_native
## ::: ultralytics.utils.ops.scale_masks
## ::: ultralytics.utils.ops.scale_coords
## ::: ultralytics.utils.ops.regularize_rboxes
## ::: ultralytics.utils.ops.masks2segments
## ::: ultralytics.utils.ops.convert_torch2numpy_batch
## ::: ultralytics.utils.ops.clean_str