Visual Annotation Toolkit for Ultralytics YOLO
Overview
The Ultralytcis ecosystem ships with a lightweight Annotator utility that can overlay detection masks, bounding boxes, oriented boxes, and keypoints on any image or video stream. The snippets below demonstrate typical use-cases.
Interactive sweep counter on a video
The following example tracks every object that crosses a user-draggable ...
Posted on Wed, 24 Jun 2026 16:42:36 +0000 by neex1233
Computer Vision Bounding Box Operations
When resizing images in computer vision applications, bounding box coordinates must be scaled proportionally to maintain accurate object detection.
import cv2
import numpy as np
from ultralytics.utils.ops import scale_boxes
# Load the original image
original_image = cv2.imread("sample_images/vehicle.jpg")
original_height, original_w ...
Posted on Fri, 12 Jun 2026 16:37:48 +0000 by chancho