ComfyUI Node
CV Split Point
Splits a point (x, y) into its two coordinates. Takes the CV_TUPLE a cv2 point output emits (min_loc/max_loc from cv2.minMaxLoc, center from cv2.minEnclosingCircle) as well as the "(30, 12)" literal string those outputs used to be. Select 'int' for pixel indices (truncates floats) or 'float' for subpixel coordinates. 'CV Split Tuple' does the same for any arity.
CV Split Point
- point
- x
- y
◄dtypeint►
Categoryimage/CV/low-level
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| point | CV_TUPLE,STRING | A point - wire it from a cv2 node's point output (min_loc/max_loc, center, ...) or type the "(30, 12)" literal. | |
| dtype | COMBO | int | Output type: 'int' truncates to integer (for pixel indices), 'float' preserves fractional values (for subpixel coordinates). |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| x | * | X coordinate - int or float per dtype selection. |
| y | * | Y coordinate - int or float per dtype selection. |