Downloads · 30 days
0
ditoow/trashscan8m
trashscan8m is a object detection model from ditoow. Use it when you need objects located in an image. It is set up for onnx. The card lists the license as mit.
YOLOv8 mobilemodelpackageyolov8mv2 ONNX model for waste classification.
Downloads · 30 days
0
Access
Public
Updated Jun 18, 2026
Repo size
104 MB
Likes
0
Public
Click a slice to open those files.
.onnx104 MB · 100%
From the Hugging Face model README
YOLOv8 mobile_model_package_yolov8m_v2 ONNX model for waste classification.
| Index | Class |
|---|---|
| 0 | paper |
| 1 | plastic |
| 2 | metal |
| 3 | organic |
| 4 | other |
import onnxruntime
import numpy as np
from PIL import Image
session = onnxruntime.InferenceSession("best.onnx")
input_name = session.get_inputs()[0].name
# Input: [1, 3, 640, 640] normalized float32
# Output: [1, 9, 8400] = [cx, cy, w, h, p0, p1, p2, p3, p4]