Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

edge detection demo (#1876)

p-mishra11e5e3f6e45d2
diff --git a/docs/source/filters.rst b/docs/source/filters.rst
index 40297b578..5f73a4a74 100644
--- a/docs/source/filters.rst
+++ b/docs/source/filters.rst
@@ -19,12 +19,15 @@ Blurring
Edge detection
--------------
+* `Interactive Demo`_
+
.. autofunction:: canny
.. autofunction:: laplacian
.. autofunction:: sobel
.. autofunction:: spatial_gradient
.. autofunction:: spatial_gradient3d
+
Filtering API
-------------
@@ -60,3 +63,10 @@ Module
.. autoclass:: SpatialGradient3d
.. autoclass:: MotionBlur
.. autoclass:: UnsharpMask
+
+
+Interactive Demo
+----------------
+
+.. raw:: html
+ :file: gradio/edge_filter_gradio.html
diff --git a/docs/source/gradio/edge_filter_gradio.html b/docs/source/gradio/edge_filter_gradio.html
new file mode 100644
index 000000000..6b4a8d2e3
--- /dev/null
+++ b/docs/source/gradio/edge_filter_gradio.html
@@ -0,0 +1,3 @@
+<script type="module" src="https://gradio.s3-us-west-2.amazonaws.com/3.2/gradio.js">
+</script>
+<gradio-app space="kornia/kornia-edge-detection"></gradio-app>