Nodes/comfyui_cv/CV Split Point
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.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
CV Split Point
  • point
  • x
  • y
dtypeint
Categoryimage/CV/low-level

Inputs (2)

NameTypeDefaultDescription
pointCV_TUPLE,STRINGA point - wire it from a cv2 node's point output (min_loc/max_loc, center, ...) or type the "(30, 12)" literal.
dtypeCOMBOintOutput type: 'int' truncates to integer (for pixel indices), 'float' preserves fractional values (for subpixel coordinates).

Outputs (2)

NameTypeDescription
x*X coordinate - int or float per dtype selection.
y*Y coordinate - int or float per dtype selection.