OpenCV  4.8.0
Open Source Computer Vision
Features2D + Homography to find a known object

Prev Tutorial: Feature Matching with FLANN

Next Tutorial: Detection of planar objects

Original author Ana Huamán
Compatibility OpenCV >= 3.0

Goal

In this tutorial you will learn how to:

Warning
You need the OpenCV contrib modules to be able to use the SURF features (alternatives are ORB, KAZE, ... features).

Theory

Code

Explanation

Result