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.
cv2.cornerHarris
- src
- nparray
◄blockSize0►
◄ksize0►
◄k0.0000►
◄borderTypeBORDER_DEFAULT►
Categoryimage/CV/low-level/cv2 C
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| src | NPARRAY,IMAGE,MASK | Input 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. | |
| blockSize | INT | 0-2147483648–2147483647 | Neighborhood size (see the details on #cornerEigenValsAndVecs ). |
| ksize | INT | 0-2147483648–2147483647 | Aperture parameter for the Sobel operator. |
| k | FLOAT | 0.0000-1e+38–1e+38 | Harris detector free parameter. See the formula above. |
| borderTypeopt | COMBO | BORDER_DEFAULT | Pixel extrapolation method. See #BorderTypes. #BORDER_WRAP is not supported. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| nparray | NPARRAY | — |