ComfyUI Node
cv2.rotatedRectangleIntersection
Raw wrapper of cv2.rotatedRectangleIntersection(rect1, rect2). Parameters marked '?' are optional; blank means OpenCV default. See the OpenCV documentation for details.
cv2.rotatedRectangleIntersection
- rect1
- rect2
- int
- nparray
Categoryimage/CV/low-level/cv2 R
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| rect1 | CV_ROTATED_RECT,STRING | - - - A rotated rectangle: ((center_x, center_y), (width, height), angle in degrees). Wire it from cv2.fitEllipse / cv2.minAreaRect / cv2.CamShift, or type the literal (the flat (cx, cy, w, h, angle) spelling is accepted too). | |
| rect2 | CV_ROTATED_RECT,STRING | - - - A rotated rectangle: ((center_x, center_y), (width, height), angle in degrees). Wire it from cv2.fitEllipse / cv2.minAreaRect / cv2.CamShift, or type the literal (the flat (cx, cy, w, h, angle) spelling is accepted too). |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| int | INT | — |
| nparray | NPARRAY | — |