OpenCV  4.3.0-dev
Open Source Computer Vision
Features2D + Homography to find a known object

Prev Tutorial: Feature Matching with FLANN

Next Tutorial: Detection of planar objects

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