--- title: Canny Edge Detection Pipeline emoji: 🔍 colorFrom: gray colorTo: indigo sdk: gradio sdk_version: 5.49.0 app_file: app.py pinned: false license: mit --- # Canny Edge Detection — Step by Step Upload any image to see all seven stages of the Canny edge detector — grayscale, Gaussian blur, Sobel gradients (magnitude + direction), non-maximum suppression, double threshold, and hysteresis. This Space runs the **NumPy reference implementation**. The full project also includes a **custom CUDA pipeline (6 kernels) that runs 5–11× faster** than NumPy on the same workloads, validated to a pixel-for-pixel match (IoU = 1.0000). Source, benchmarks, and the CUDA implementation: **https://github.com/AneeshB20/canny-edge-detection-cuda**