Nodes/comfyui_cv/cv2.getRotationMatrix2D
ComfyUI Node

cv2.getRotationMatrix2D

Raw wrapper of cv2.getRotationMatrix2D(center, angle, scale). 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.getRotationMatrix2D
  • center
  • nparray
angle0.0000
scale0.0000
Categoryimage/CV/low-level/cv2 G

Inputs (3)

NameTypeDefaultDescription
centerCV_TUPLE0,0Center of the rotation in the source image. One value with 2 components (x, y) - it travels as a whole, so it cannot arrive half-connected. Wire it from 'CV Tuple' or type the components in place.
angleFLOAT0.0000-1e+38–1e+38Rotation angle in degrees. Positive values mean counter-clockwise rotation (the coordinate origin is assumed to be the top-left corner).
scaleFLOAT0.0000-1e+38–1e+38Isotropic scale factor.

Outputs (1)

NameTypeDescription
nparrayNPARRAY