ComfyUI Node
cv2.goodFeaturesToTrackWithQuality
Raw wrapper of cv2.goodFeaturesToTrackWithQuality(image, maxCorners, qualityLevel, minDistance, mask, blockSize?, gradientSize?, useHarrisDetector?, k?). Parameters marked '?' are optional; blank means OpenCV default. See the OpenCV documentation for details.
cv2.goodFeaturesToTrackWithQuality
- image
- mask
- corners
- cornersQuality
◄maxCorners0►
◄qualityLevel0.0000►
◄minDistance0.0000►
◄blockSize3►
◄gradientSize3►
◄useHarrisDetectorfalse►
◄k0.0400►
Categoryimage/CV/low-level/cv2 G
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| image | NPARRAY,IMAGE,MASK | - - - 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. | |
| maxCorners | INT | 0-2147483648–2147483647 | - - - |
| qualityLevel | FLOAT | 0.0000-1e+38–1e+38 | - - - |
| minDistance | FLOAT | 0.0000-1e+38–1e+38 | - - - |
| mask | NPARRAY,IMAGE,MASK | - - - 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. | |
| blockSizeopt | INT | 3-2147483648–2147483647 | - - - Preset to the OpenCV default (3). |
| gradientSizeopt | INT | 3-2147483648–2147483647 | - - - Preset to the OpenCV default (3). |
| useHarrisDetectoropt | BOOLEAN | false | - - - Preset to the OpenCV default (False). |
| kopt | FLOAT | 0.0400-1e+38–1e+38 | - - - Preset to the OpenCV default (0.04). |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| corners | NPARRAY | — |
| cornersQuality | NPARRAY | — |