Nodes/comfyui_cv/cv2.rotatedRectangleIntersection
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.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
cv2.rotatedRectangleIntersection
  • rect1
  • rect2
  • int
  • nparray
Categoryimage/CV/low-level/cv2 R

Inputs (2)

NameTypeDefaultDescription
rect1CV_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).
rect2CV_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)

NameTypeDescription
intINT
nparrayNPARRAY