1
Creating yor own corner detector {#tutorial_generic_corner_detector}
2
================================
7
In this tutorial you will learn how to:
9
- Use the OpenCV function @ref cv::cornerEigenValsAndVecs to find the eigenvalues and eigenvectors
10
to determine if a pixel is a corner.
11
- Use the OpenCV function @ref cv::cornerMinEigenVal to find the minimum eigenvalues for corner
13
- To implement our own version of the Harris detector as well as the Shi-Tomasi detector, by using
14
the two functions above.
22
This tutorial code's is shown lines below. You can also download it from
23
[here](https://github.com/Itseez/opencv/tree/master/samples/cpp/tutorial_code/TrackingMotion/cornerDetector_Demo.cpp)
25
@include cpp/tutorial_code/TrackingMotion/cornerDetector_Demo.cpp
33
![](images/My_Harris_corner_detector_Result.jpg)
35
![](images/My_Shi_Tomasi_corner_detector_Result.jpg)