6 lines
189 B
Python
6 lines
189 B
Python
|
from ultralytics import YOLO
|
||
|
|
||
|
# Configure the tracking parameters and run the tracker
|
||
|
model = YOLO('best.pt')
|
||
|
results = model.track(source="./videos/123.mp4", conf=0.3, iou=0.5, show=True)
|