OpenCV  5.0.0-pre
Open Source Computer Vision
Loading...
Searching...
No Matches
Creating your own corner detector

Table of Contents

Prev Tutorial: Shi-Tomasi corner detector
Next Tutorial: Detecting corners location in subpixels

Original author Ana Huamán
Compatibility OpenCV >= 3.0

Goal

In this tutorial you will learn how to:

  • Use the OpenCV function cv::cornerEigenValsAndVecs to find the eigenvalues and eigenvectors to determine if a pixel is a corner.
  • Use the OpenCV function cv::cornerMinEigenVal to find the minimum eigenvalues for corner detection.
  • Implement our own version of the Harris detector as well as the Shi-Tomasi detector, by using the two functions above.

Theory

Code

Explanation

Result