---
description: Detailed documentation for the ObjectCropper class, part of the Ultralytics solutions package, enabling real-time cropping of detected objects from images and video streams.
keywords: Ultralytics, ObjectCropper, object detection, cropping, real-time processing, Python, computer vision
---

# Reference for `ultralytics/solutions/object_cropper.py`

!!! success "Improvements"

    This page is sourced from [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/solutions/object_cropper.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/solutions/object_cropper.py). Have an improvement or example to add? Open a [Pull Request](https://docs.ultralytics.com/help/contributing/) — thank you! 🙏

<br>

## ::: ultralytics.solutions.object_cropper.ObjectCropper

<br><br>
