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

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