from ultralytics import YOLO # بارگذاری مدل YOLOv8 از پیش آموزش‌دیده model = YOLO("yolo11x.pt") # مدل‌های مختلف: yolov8n.pt, yolov8s.pt, yolov8m.pt