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...
refs/pr/2
Trashdetection
/
app.py
Hkronboch
Update app.py
9f24354
over 1 year ago
raw
Copy download link
history
blame
Safe
137 Bytes
from
ultralytics
import
YOLO
model = YOLO(
'yolov8m-seg.pt'
)
prediction = model.predict(image, imgsz=image_size, show=
False
, save=
False
)