Extensions/comfyui-yolov8-simple
ComfyUI Extension

comfyui-yolov8-simple

Simple yolov8 comfyui plugin. This plugin adds Yolov8DetectionSegmentation node and ImageCompositeBlurred node.

By dskjal·Created 9 months ago·Updated 9 months ago· 0
dskjal/comfyui-yolov8-simple
Nodes2
On cloudLocal install
Categoryyolov8
Stars0
Updated9 months ago
Readme

Simple yolov8 comfyui plugin. This plugin adds Yolov8DetectionSegmentation node and ImageCompositeBlurred node.

Yolov8DetectionSegmentation detects and crops an input image.

ImageCompositeBlurred blurs image borders and overlaps the image at the target location.

Install

  1. Install from the manager
  2. put detect or seg models in comfyui models/yolov8 dir

How to use

If your yolov8 model has "seg" or "Seg" or "SEG" in the name, the node outputs segmentation mask.

Node name is Yolov8DetectionSegmentation and ImageCompositeBlurred.

Sample workflow

Segmentation workflow

Mask

Mask output size equals imput image size.

Cropped mask size equals cropped image size.

Why stop when nothing is detected?

To skip detailer when nothing is detected, it requires gate node.

It would be OOM if it returns an input image when nothing is detected.

If you want to handle these, use comfyui-yolov8-dsuksampler.