ComfyUI Node
cv2.rapid.extractControlPoints
Raw wrapper of cv2.rapid.extractControlPoints(num, len, pts3d, rvec, tvec, K, imsize, tris). Parameters marked '?' are optional; blank means OpenCV default. From the opencv-contrib 'rapid' module. See the OpenCV documentation for details.
cv2.rapid.extractControlPoints
- pts3d
- rvec
- tvec
- K
- imsize
- tris
- ctl2d
- ctl3d
◄num0►
◄len0►
Categoryimage/CV/low-level/rapid
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| 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. | |
| 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. | |
| 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. | |
| imsize | CV_TUPLE | 0,0 | One value with 2 components (w, h) - it travels as a whole, so it cannot arrive half-connected. Wire it from 'CV Tuple' or type the components in place. |
| 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. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| ctl2d | NPARRAY | — |
| ctl3d | NPARRAY | — |