Views
No views yet
1from ultralytics import YOLO 2from huggingface_hub import hf_hub_download 3 4model = YOLO(hf_hub_download("baskarmother/yolov8-ppe-construction", "best.pt")) 5results = model("your_image.jpg") 6results[0].plot()