Downloads · 30 days
0
hajin4199/trash2
trash2 is a object detection model from hajin4199. Use it when you need objects located in an image. The card lists the license as agpl-3.0.
This model detects and classifies trash types (plastic, paper, glass, trash) using YOLOv11n. It was trained on the Trash Type Image Dataset from Kaggle.
Downloads · 30 days
0
Access
Public
Updated Dec 23, 2025
Repo size
5.4 MB
Likes
0
Public
Click a slice to open those files.
.pt5.4 MB · 100%
From the Hugging Face model README
This model detects and classifies trash types (plastic, paper, glass, trash) using YOLOv11n.
It was trained on the Trash Type Image Dataset from Kaggle.
plastic, paper, glass, trashtrain and val folders for YOLO format.ultralytics/yolo11n.ptfrom huggingface_hub import hf_hub_download
from ultralytics import YOLO
model_path = hf_hub_download(
repo_id="Alope/trash-detection-yolo11n",
filename="best.pt"
)
model = YOLO(model_path)
results = model.predict(source="test.jpg", show=True)