ComfyUI Node
YOLOv8 Object Detection
A ComfyUI node in image/object_detection with 12 inputs and 4 outputs.
YOLOv8 Object Detection
- image
- detected_objects
- object_count
- class_names
- detection_info
◄model_nameyolov8n.pt►
◄confidence_threshold0.25►
◄iou_threshold0.45►
◄padding10►
◄custom_model_path►
◄max_size512►
◄preserve_aspect_ratiotrue►
◄exclude_persontrue►
◄exclude_animalsfalse►
◄exclude_vehiclesfalse►
◄min_confidence0.30►
Categoryimage/object_detection
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| model_name | COMBO | yolov8n.pt | 5 options: yolov8n.pt, yolov8s.pt, yolov8m.pt, yolov8l.pt, yolov8x.pt |
| confidence_threshold | FLOAT | 0.250–1 | — |
| iou_threshold | FLOAT | 0.450–1 | — |
| padding | INT | 100–100 | — |
| custom_model_pathopt | STRING | — | |
| max_sizeopt | INT | 512128–1024 | — |
| preserve_aspect_ratioopt | BOOLEAN | true | — |
| exclude_personopt | BOOLEAN | true | — |
| exclude_animalsopt | BOOLEAN | false | — |
| exclude_vehiclesopt | BOOLEAN | false | — |
| min_confidenceopt | FLOAT | 0.300.1–0.9 | — |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| detected_objects | IMAGE | — |
| object_count | INT | — |
| class_names | STRING | — |
| detection_info | STRING | — |