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...
bc6944c
Trashdetection
/
app.py
Hkronboch
Update app.py
bc6944c
over 1 year ago
raw
Copy download link
history
blame
Safe
165 Bytes
from
ultralytics
import
YOLO
model = YOLO(
'turhancan97/yolov8-segment-trash-detection'
)
prediction = model.predict(image, imgsz=image_size, show=
False
, save=
False
)