Nodes/ComfyUI-ArchiGraph/Canny πŸ¦β€πŸ”₯
ComfyUI Node

Canny πŸ¦β€πŸ”₯

OpenCV Canny Edge Detection. Usually requires Gaussian blur before running. Runs on CPU, different from ComfyUI Kornia version which runs on GPU. Return Shape [B,H,W].

By vincentfsΒ·Created 2 years agoΒ·Updated 8 months agoΒ· 3
Canny πŸ¦β€πŸ”₯
  • nparrays
  • Np_grays
β—„threshold10.40β–Ί
β—„threshold20.80β–Ί
β—„apertureSize3β–Ί
β—„L2gradienttrueβ–Ί
CategoryπŸ¦β€πŸ”₯ ArchiGraph/πŸ“€ OpenCV

Inputs (5)

NameTypeDefaultDescription
nparraysNPARRAYβ€”
threshold1FLOAT0.400.01–0.99First threshold for the hysteresis procedure.
threshold2FLOAT0.800.01–0.99Second threshold for the hysteresis procedure.
apertureSizeINT33–7Aperture size for the Sobel operator.
L2gradientBOOLEANtrueA flag, indicating whether a more accurate L2 norm should be used to calculate the image gradient magnitude.

Outputs (1)

NameTypeDescription
Np_graysNPARRAYβ€”