Views
No views yet
1from ultralytics import YOLO
2from huggingface_hub import hf_hub_download
3
4model_path = hf_hub_download(repo_id="emreyoleridev/smart-traffic-vision-yolov8", filename="best.pt")
5model = YOLO(model_path)
6
7results = model("path/to/image.jpg")