Burhan-Q/ultralytics-snippets

[FEATURE] include examples for track mode

Closed this issue · 0 comments

Snippet Code

Tracking example(s)

from ultralytics import YOLO

source = "..."
model = YOLO("yolov8n.pt")
results = model.track(source)

Relevant Fields/Options

  • stream=True|False
  • persist=True|False
  • tracker="*.yaml"
  • All others from Predict

Matching Docs Pages

Additional Information