import os from ultralytics import YOLO model = YOLO(os.path.join(os.getcwd(), "models", "yolo.pt")) model.conf = 0.5