ComfyUI Node
Yolov5 Face Detect
A ComfyUI node in ComfyUI-yolov5-face with 5 inputs and 2 outputs.
Yolov5 Face Detect
- image
- marked_image
- face_crop
◄weights_nameyolov5s-face.pt►
◄expand_ratio1.0►
◄offset_x0.00►
◄offset_y0.00►
CategoryComfyUI-yolov5-face
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Input image to detect faces from. | |
| weights_name | COMBO | yolov5s-face.pt | Select the YOLOv5 face detection model to use. |
| expand_ratio | FLOAT | 1.01–3 | Expansion ratio for face cropping. 1.0 = original face box, 2.0 = double the size. |
| offset_x | FLOAT | 0.00-1–1 | Horizontal offset for face cropping. Positive = right, negative = left. Range is relative to face size. |
| offset_y | FLOAT | 0.00-1–1 | Vertical offset for face cropping. Positive = down, negative = up. Range is relative to face size. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| marked_image | IMAGE | — |
| face_crop | IMAGE | — |