Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Hkronboch
/
Trashdetection
like
0
Sleeping
App
Files
Files
Community
5
Fetching metadata from the HF Docker repository...
318543e
Trashdetection
/
app.py
Hkronboch
Update app.py
318543e
over 1 year ago
raw
Copy download link
history
blame
Safe
145 Bytes
from
ultralytics
import
YOLO
model = YOLO(
'yolov8m-seg.pt'
)
prediction = model.predict(
'trash_01.jpg'
, imgsz=(
1000
,
1333
), show=
True
, save=
True
)