ComfyUI Node
cv2.rapid.rapid
Raw wrapper of cv2.rapid.rapid(img, num, len, pts3d, tris, K, rvec, tvec). Parameters marked '?' are optional; blank means OpenCV default. From the opencv-contrib 'rapid' module. See the OpenCV documentation for details.
cv2.rapid.rapid
- img
- pts3d
- tris
- K
- rvec
- tvec
- ratio
- rvec
- tvec
- rmsd
◄num0►
◄len0►
Categoryimage/CV/low-level/rapid
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| img | 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. | |
| num | INT | 0-2147483648–2147483647 | - - - |
| len | INT | 0-2147483648–2147483647 | - - - |
| pts3d | 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. | |
| tris | 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. | |
| K | 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. | |
| rvec | 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. | |
| tvec | 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. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| ratio | FLOAT | — |
| rvec | NPARRAY | — |
| tvec | NPARRAY | — |
| rmsd | FLOAT | — |