Nodes/ComfyUI-BucketCrop/Bucket Ratio Crop
ComfyUI Node

Bucket Ratio Crop

A ComfyUI node in image/crop with 9 inputs and 4 outputs.

By malcolmamal·Created about 14 hours ago·Updated about 14 hours ago· 0
Bucket Ratio Crop
  • image
  • mask
  • data
  • image
  • width
  • height
  • bucket_label
◄bucket_group512►
◄margin0.25►
◄bbox_x0►
◄bbox_y0►
◄bbox_width0►
◄bbox_height0►
Categoryimage/crop

Inputs (9)

NameTypeDefaultDescription
imageIMAGE—
bucket_groupCOMBO5123 options: 512, 768, 1024
marginFLOAT0.250–2Expand detected region by this fraction on each side (0.25 = 25%)
maskoptMASK—
dataoptJSONConnect Florence2Run 'data' output for per-person cropping
bbox_xoptINT00–16384—
bbox_yoptINT00–16384—
bbox_widthoptINT00–16384—
bbox_heightoptINT00–16384—

Outputs (4)

NameTypeDescription
imageIMAGE—
widthINT—
heightINT—
bucket_labelSTRING—