Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

some fixes with face_detection docs (#1475)

Edgar Riba5fdbe2f08696
diff --git a/docs/source/applications/face_detection.rst b/docs/source/applications/face_detection.rst
index 471625f90..8974e8856 100644
--- a/docs/source/applications/face_detection.rst
+++ b/docs/source/applications/face_detection.rst
@@ -7,7 +7,7 @@ Face Detection
Face detection is the task of detecting faces in a photo or video (and distinguishing them from other objects).
We provide the :py:class:`kornia.contrib.FaceDetector` to perform multi-face detection in real-time uding the
-`YuNet` model.
+:ref:`yunet_model` model.
Learn more: `https://paperswithcode.com/task/face-detection <https://paperswithcode.com/task/face-detection>`_
@@ -17,8 +17,20 @@ Using our API you easily detect faces in images as shown below:
.. literalinclude:: ../../../examples/face_detection/main.py
:language: python
- :lines: 36-53
+ :lines: 36-54
+
+Check the full example `here <https://github.com/kornia/kornia/tree/master/examples/face_detection/main.py>`_
+or run a real-time application using the camera with this `example <https://github.com/kornia/kornia/tree/master/examples/face_detection/main_video.py>`_.
+
+The Kornia AI Game
+------------------
+
+ .. image:: https://kornia-tutorials.readthedocs.io/en/latest/_images/face_detection_7_1.png
+ :width: 49 %
+ .. image:: https://kornia-tutorials.readthedocs.io/en/latest/_images/face_detection_13_1.png
+ :width: 49 %
+
+.. tip::
+ Play yourself with the detector and generate new images with this `tutorial <https://kornia-tutorials.readthedocs.io/en/latest/face_detection.html>`_.
-Check the full examples `here <https://github.com/kornia/kornia/tree/master/examples/face_detection/main.py>`_
-For a real-time example using the camera check this other `example <https://github.com/kornia/kornia/tree/master/examples/face_detection/main_video.py>`_
diff --git a/docs/source/models/yunet.rst b/docs/source/models/yunet.rst
index b8092436e..c74b81c01 100644
--- a/docs/source/models/yunet.rst
+++ b/docs/source/models/yunet.rst
@@ -1,5 +1,7 @@
-YuNet (face_detection)
-......................
+.. _yunet_model:
+
+YuNet
+.....
.. card::
:link: https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=9429909