--- description: Explore Ultralytics' annotator script for automatic image annotation using YOLO and SAM models. Contribute to improve it on GitHub!. keywords: Ultralytics, image annotation, YOLO, SAM, Python script, GitHub, object detection, segmentation --- # Reference for `ultralytics/data/annotator.py` !!! success "Improvements" This page is sourced from [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/data/annotator.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/data/annotator.py). Have an improvement or example to add? Open a [Pull Request](https://docs.ultralytics.com/help/contributing/) — thank you! 🙏
## ::: ultralytics.data.annotator.auto_annotate