<aside> 🛠

Classical Canny Edge Maps - Ready for ControlNet-Canny


Turn any image into a clean white-edges-on-black edge map using OpenCV's classical Canny algorithm. CPU-only, no neural network, fully deterministic. The output is exactly the format ControlNet-Canny expects, so this is the standard preprocessor for any image-generation flow that uses edges as structural guidance. Two intuitive sliders (min / max edge strength) control how aggressively edges are detected..

</aside>


What it does

Canny Edge Annotator runs OpenCV's classical Canny edge detector on the input image and outputs a binary edge map - white edges on a black background. Internally the algorithm computes image gradients, suppresses non-maxima, and applies double-threshold hysteresis: pixels above the Maximum edge strength are accepted as "strong" edges; pixels between the two thresholds are kept only if they're connected to a strong edge; pixels below the Minimum edge strength are discarded. The result is the canonical input format for ControlNet-Canny.

Problem it solves

Input/Output

<aside>

<aside>

</aside>

Configuration Options