ComfyUI Node
cv2.preCornerDetect
Raw wrapper of cv2.preCornerDetect(src, ksize, borderType?). Parameters marked '?' are optional; blank means OpenCV default. See the OpenCV documentation for details.
cv2.preCornerDetect
- src
- nparray
◄ksize0►
◄borderTypeBORDER_DEFAULT►
Categoryimage/CV/low-level/cv2 P
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| src | NPARRAY,IMAGE,MASK | Source single-channel 8-bit of 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. | |
| ksize | INT | 0-2147483648–2147483647 | %Aperture size of the Sobel . |
| borderTypeopt | COMBO | BORDER_DEFAULT | Pixel extrapolation method. See #BorderTypes. #BORDER_WRAP is not supported. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| nparray | NPARRAY | — |