Downloads · 30 days
30
7% of all-time downloads
prince4332/yolov26-product-detection-v2
yolov26-product-detection-v2 is a object detection model from prince4332. 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.
Single-class product detector trained on the Retail Product Dataset. All original classes were collapsed into one class: product.
Downloads · 30 days
30
7% of all-time downloads
All-time downloads
420
Public
Repo size
95.5 MB
Likes
0
Public
Click a slice to open those files.
.pt88.1 MB · 92%
From the Hugging Face model README
Single-class product detector trained on the Retail Product Dataset.
All original classes were collapsed into one class: product.
| Metric | Value |
|---|---|
| mAP50 | 0.8070 |
| mAP50-95 | 0.5114 |
| Precision | 0.8334 |
| Recall | 0.8107 |
from ultralytics import YOLO
from huggingface_hub import hf_hub_download
weights = hf_hub_download(repo_id="prince4332/yolov26-product-detection-v2", filename="best.pt")
model = YOLO(weights)
results = model.predict("your_image.jpg", conf=0.25)