Nodes/comfyui_cv/cv2.drawFrameAxes
ComfyUI Node

cv2.drawFrameAxes

Raw wrapper of cv2.drawFrameAxes(source, cameraMatrix, distCoeffs, rvec, tvec, length, thickness?). 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.drawFrameAxes
  • source
  • cameraMatrix
  • distCoeffs
  • rvec
  • tvec
  • result
length0.0000
thickness1
Categoryimage/CV/low-level/cv2 D

Inputs (7)

NameTypeDefaultDescription
sourceCOMFY_MATCHTYPE_V3 The image output(s) echo this input's format. Accepts a ComfyUI IMAGE/MASK directly (frame 0 of a batch) or an NPARRAY. Arithmetic ops (add, multiply, etc.) process the full IMAGE batch when both inputs have the same batch size.
cameraMatrixNPARRAY - - - A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here.
distCoeffsNPARRAY - - - A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here.
rvecNPARRAY - - - A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here.
tvecNPARRAY - - - A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here.
lengthFLOAT0.0000-1e+38–1e+38 - - -
thicknessoptINT1-2147483648–2147483647 - - - Preset to the OpenCV default (1).

Outputs (1)

NameTypeDescription
resultCOMFY_MATCHTYPE_V3Echoes the 'source' input's format: an IMAGE link comes back as IMAGE, MASK as MASK, NPARRAY stays NPARRAY.