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.
cv2.getRotationMatrix2D
- center
- nparray
◄angle0.0000►
◄scale0.0000►
Categoryimage/CV/low-level/cv2 G
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| center | CV_TUPLE | 0,0 | Center 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. |
| angle | FLOAT | 0.0000-1e+38–1e+38 | Rotation angle in degrees. Positive values mean counter-clockwise rotation (the coordinate origin is assumed to be the top-left corner). |
| scale | FLOAT | 0.0000-1e+38–1e+38 | Isotropic scale factor. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| nparray | NPARRAY | — |