Nodes/comfyui_cv/CV Image Corners
ComfyUI Node

CV Image Corners

Outputs the 4 corner coordinates of the image as a 4x1x2 float32 array (top-left, top-right, bottom-right, bottom-left). Send through cv2.perspectiveTransform with a homography to project an object's outline into another view.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
CV Image Corners
  • nparray
  • corners
Categoryimage/CV/features

Inputs (1)

NameTypeDefaultDescription
nparrayNPARRAY,IMAGE,MASKImage whose corners to emit (only the shape is used). 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 (1)

NameTypeDescription
cornersNPARRAY