README / README.md
Aneesh2030's picture
Deploy Canny pipeline demo
03593fc
|
Raw
History Blame Contribute Delete
754 Bytes

A newer version of the Gradio SDK is available: 6.26.0

Upgrade
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