supervision Tracker + Click-to-Zoom #1989
kennedy-kitoko
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Title:Feature Request: YOLOSpotlight Interactive Object Tracker Integration
Description:
Hello Supervision Team,
I would like to propose you to integrating an interactive YOLO-based object tracker into the Supervision library, similar to the YOLOSpotlight approach:
This could complement the existing detection and tracking pipelines in Supervision and provide a useful tool for interactive workflows, such as smart traffic monitoring, security, and real-time object tracking applications.
I can provide a working Python implementation and example notebooks to demonstrate the functionality.
Thank you for considering this feature! video : https://www.youtube.com/watch?v=leOPZhE0ckg&lc=UgyAP0_g5iptQaPFOix4AaABAg.AO6OxTEYYMdAOB-PwDO7Dg
import cv2
import numpy as np
from ultralytics import YOLO
from ultralytics.utils.plotting import Annotator, colors
class YOLOSpotlight:
"""
YOLO Interactive Object Tracker with Live Crop Display. Click on any detected object to track
it and view a real-time cropped view in the corner while maintaining full scene visibility.
"""
if name == "main":
# Initialize and run tracker
tracker = YOLOSpotlight(
model="yolo11n.pt",
source="path/to/video.mp4"
)
tracker.run()
crop_and_display_objects.py
Beta Was this translation helpful? Give feedback.
All reactions