Nodes/comfyui_cv/cv2.motempl.calcGlobalOrientation
ComfyUI Node

cv2.motempl.calcGlobalOrientation

Raw wrapper of cv2.motempl.calcGlobalOrientation(orientation, mask, mhi, timestamp, duration). Parameters marked '?' are optional; blank means OpenCV default. From the opencv-contrib 'motempl' module. See the OpenCV documentation for details.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
cv2.motempl.calcGlobalOrientation
  • orientation
  • mask
  • mhi
  • float
timestamp0.0000
duration0.0000
Categoryimage/CV/low-level/motempl

Inputs (5)

NameTypeDefaultDescription
orientationNPARRAY,IMAGE,MASK - - - 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.
maskNPARRAY,IMAGE,MASK - - - 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.
mhiNPARRAY,IMAGE,MASK - - - 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.
timestampFLOAT0.0000-1e+38–1e+38 - - -
durationFLOAT0.0000-1e+38–1e+38 - - -

Outputs (1)

NameTypeDescription
floatFLOAT