Nodes/comfyui_cv/cv2.cornerHarris
ComfyUI Node

cv2.cornerHarris

Raw wrapper of cv2.cornerHarris(src, blockSize, ksize, k, borderType?). Parameters marked '?' are optional; blank means OpenCV default. See the OpenCV documentation for details.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
cv2.cornerHarris
  • src
  • nparray
blockSize0
ksize0
k0.0000
borderTypeBORDER_DEFAULT
Categoryimage/CV/low-level/cv2 C

Inputs (5)

NameTypeDefaultDescription
srcNPARRAY,IMAGE,MASKInput single-channel 8-bit or floating-point image. 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.
blockSizeINT0-2147483648–2147483647Neighborhood size (see the details on #cornerEigenValsAndVecs ).
ksizeINT0-2147483648–2147483647Aperture parameter for the Sobel operator.
kFLOAT0.0000-1e+38–1e+38Harris detector free parameter. See the formula above.
borderTypeoptCOMBOBORDER_DEFAULTPixel extrapolation method. See #BorderTypes. #BORDER_WRAP is not supported.

Outputs (1)

NameTypeDescription
nparrayNPARRAY