ComfyUI Node
cv2.rectangleIntersectionArea
Raw wrapper of cv2.rectangleIntersectionArea(a, b). Parameters marked '?' are optional; blank means OpenCV default. See the OpenCV documentation for details.
cv2.rectangleIntersectionArea
- float
◄a_x0►
◄a_y0►
◄a_w0►
◄a_h0►
◄b_x0►
◄b_y0►
◄b_w0►
◄b_h0►
Categoryimage/CV/low-level/cv2 R
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| a_x | INT | 0-2147483648–2147483647 | Rectangle top-left corner X in pixels. |
| a_y | INT | 0-2147483648–2147483647 | Rectangle top-left corner Y in pixels. |
| a_w | INT | 00–2147483647 | Rectangle width in pixels (>= 0). |
| a_h | INT | 00–2147483647 | Rectangle height in pixels (>= 0). |
| b_x | INT | 0-2147483648–2147483647 | Rectangle top-left corner X in pixels. |
| b_y | INT | 0-2147483648–2147483647 | Rectangle top-left corner Y in pixels. |
| b_w | INT | 00–2147483647 | Rectangle width in pixels (>= 0). |
| b_h | INT | 00–2147483647 | Rectangle height in pixels (>= 0). |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| float | FLOAT | — |