Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

Add Image Matching with LoFTR to the apps (#1274)

Dmytro Mishkin0328a82bb02b
diff --git a/docs/source/applications/image_matching.rst b/docs/source/applications/image_matching.rst
index 5d9eb4a60..8a59d4398 100644
--- a/docs/source/applications/image_matching.rst
+++ b/docs/source/applications/image_matching.rst
@@ -1,8 +1,23 @@
Image Matching
==============
-High level API for Image Matching is **COMING SOON** !!
+Image matching is a process of finding pixel and region correspondences between two images of the same scene.
+Such correspondences are useful for 3D reconstruction of the scene and relative camera pose estimation.
+It is also known as "Wide baseline stereo" and you can read more about it at `Wide Baseline Stereo Blog <https://ducha-aiki.github.io/wide-baseline-stereo-blog/2021/01/09/wxbs-in-simple-terms.html>`
-.. hint::
+We provide many modules and functions for the image matching: from building blocks like `local feature detectors <https://kornia.readthedocs.io/en/latest/feature.html#detectors>`, `descriptors <https://kornia.readthedocs.io/en/latest/feature.html#descriptors>`,
+`descriptor matching <https://kornia.readthedocs.io/en/latest/feature.html#matching>`, `geometric model estimation <https://kornia.readthedocs.io/en/latest/geometry.epipolar.html#fundamental>`
- In the meantime explore this: kornia.feature.DeFMO
+However we recommend to start with high-level API, such as :py:class:`~kornia.feature.LoFTR` you can use to find correspondence between two images.
+
+.. code:: python
+
+ from kornia.feature import LoFTR
+
+ matcher = LoFTR(pretrained="outdoor")
+ input = {"image0": img1, "image1": img2}
+ correspondences_dict = matcher(input)
+
+
+.. image:: https://raw.githubusercontent.com/kornia/data/main/matching/matching_loftr.jpg
+You also can go through or full tutorial using Colab found `here <https://kornia-tutorials.readthedocs.io/en/latest/image_matching.html>`_ .