A newer version of the Gradio SDK is available: 6.26.0
metadata
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