702 B
702 B
ComfyUI-Rect
Interactive rectangle tools for ComfyUI.
Includes an interactive Rect / Select (marching-ants popup) plus Rect / Crop, Rect / Mask, and Rect / Fill.
Outputs a reusable RECT object ({x,y,w,h}) and the four scalar values for compatibility with existing nodes.
Features
- 🖱️ Interactive selector: draw/refine a box over your input image
- 🧱 RECT type +
x/y/w/hints for easy wiring - ✂️ Crop, 🧪 Mask (feather/invert/combine), 🟩 Fill/Outline (color + opacity)
- 🚫 Bounds-safe, batch-safe, GPU/CPU friendly
- 🧩 Modular pack layout (easy to extend)
Install
- Copy the folder
ComfyUI-Rectinto: