Downloads · 30 days
25
21% of all-time downloads
Aniket2003333333/fruit-veg-yolo11l-detector
fruit-veg-yolo11l-detector is a object detection model from Aniket2003333333. Use it when you need objects located in an image. It is set up for ultralytics. The card lists the license as apache-2.0.
Fine-tuned YOLO11-large for detecting and counting fruits and vegetables in images.
Downloads · 30 days
25
21% of all-time downloads
All-time downloads
119
Public
Repo size
51.2 MB
Likes
0
Public
Click a slice to open those files.
.pt51.2 MB · 100%
From the Hugging Face model README
Fine-tuned YOLO11-large for detecting and counting fruits and vegetables in images.
from ultralytics import YOLO
model = YOLO("best.pt")
results = model.predict("your_image.jpg", conf=0.25)
for box in results[0].boxes:
cls_name = model.names[int(box.cls[0])]
conf = float(box.conf[0])
print(f"{cls_name}: {conf:.2f}")