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.
cv2.motempl.calcGlobalOrientation
- orientation
- mask
- mhi
- float
◄timestamp0.0000►
◄duration0.0000►
Categoryimage/CV/low-level/motempl
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| orientation | NPARRAY,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. | |
| mask | NPARRAY,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. | |
| mhi | NPARRAY,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. | |
| timestamp | FLOAT | 0.0000-1e+38–1e+38 | - - - |
| duration | FLOAT | 0.0000-1e+38–1e+38 | - - - |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| float | FLOAT | — |