You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Glenn Jocher 177a68b39f
`ultralytics 8.0.52` reduced TAL CUDA usage and AMP check fix (#1333)
2 years ago
..
cfg `ultralytics 8.0.42` DDP fix and Docs updates (#1065) 2 years ago
trackers `ultralytics 8.0.49` task, exports and metadata updates (#1197) 2 years ago
utils `ultralytics 8.0.52` reduced TAL CUDA usage and AMP check fix (#1333) 2 years ago
README.md `ultralytics 8.0.42` DDP fix and Docs updates (#1065) 2 years ago
__init__.py `ultralytics 8.0.47` Docker and reformat updates (#1153) 2 years ago
track.py `ultralytics 8.0.49` task, exports and metadata updates (#1197) 2 years ago

README.md

Tracker

Trackers

  • ByteTracker
  • BoT-SORT

Usage

python interface:

from ultralytics import YOLO

model = YOLO("yolov8n.pt")  # or a segmentation model .i.e yolov8n-seg.pt
model.track(
    source="video/streams",
    stream=True,
    tracker="botsort.yaml",  # or 'bytetrack.yaml'
    ...,
)

cli:

yolo detect track source=... tracker=...
yolo segment track source=... tracker=...

By default, trackers will use the configuration in ultralytics/tracker/cfg. We also support using a modified tracker config file. Please refer to the tracker config files in ultralytics/tracker/cfg.