Model Description
Ultralytics: YOLOv8 in PyTorch > ONNX > CoreML > TFLite]
Installation
pip install ultralytics
Yolov8 Inference
from ultralytics import YOLO
model = YOLO('turhancan97/yolov8-segment-trash-detection')
prediction = model.predict(image, imgsz=image_size, show=False, save=False)