Nodes/comfyui_cv/cv2.goodFeaturesToTrackWithQuality
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.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
cv2.goodFeaturesToTrackWithQuality
  • image
  • mask
  • corners
  • cornersQuality
maxCorners0
qualityLevel0.0000
minDistance0.0000
blockSize3
gradientSize3
useHarrisDetectorfalse
k0.0400
Categoryimage/CV/low-level/cv2 G

Inputs (9)

NameTypeDefaultDescription
imageNPARRAY,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.
maxCornersINT0-2147483648–2147483647 - - -
qualityLevelFLOAT0.0000-1e+38–1e+38 - - -
minDistanceFLOAT0.0000-1e+38–1e+38 - - -
maskNPARRAY,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.
blockSizeoptINT3-2147483648–2147483647 - - - Preset to the OpenCV default (3).
gradientSizeoptINT3-2147483648–2147483647 - - - Preset to the OpenCV default (3).
useHarrisDetectoroptBOOLEANfalse - - - Preset to the OpenCV default (False).
koptFLOAT0.0400-1e+38–1e+38 - - - Preset to the OpenCV default (0.04).

Outputs (2)

NameTypeDescription
cornersNPARRAY
cornersQualityNPARRAY