Nodes/comfyui_cv/cv2.HoughLinesWithAccumulator
ComfyUI Node

cv2.HoughLinesWithAccumulator

Raw wrapper of cv2.HoughLinesWithAccumulator(image, rho, theta, threshold, srn?, stn?, min_theta?, max_theta?, use_edgeval?). 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.HoughLinesWithAccumulator
  • image
  • nparray
rho0.0000
theta0.0000
threshold0
srn0.0000
stn0.0000
min_theta0.0000
max_theta3.1416
use_edgevalfalse
Categoryimage/CV/low-level/cv2 H

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.
rhoFLOAT0.0000-1e+38–1e+38 - - -
thetaFLOAT0.0000-1e+38–1e+38 - - -
thresholdINT0-2147483648–2147483647 - - -
srnoptFLOAT0.0000-1e+38–1e+38 - - - Preset to the OpenCV default (0.0).
stnoptFLOAT0.0000-1e+38–1e+38 - - - Preset to the OpenCV default (0.0).
min_thetaoptFLOAT0.0000-1e+38–1e+38 - - - Preset to the OpenCV default (0.0).
max_thetaoptFLOAT3.1416-1e+38–1e+38 - - - Preset to the OpenCV default (3.141592653589793).
use_edgevaloptBOOLEANfalse - - - Preset to the OpenCV default (False).

Outputs (1)

NameTypeDescription
nparrayNPARRAY