OpenCV  4.1.1-pre
Open Source Computer Vision
Looking for a C++ dev who knows OpenCV?
I'm looking for work. Hire me!
Detecting corners location in subpixels

Goal

In this tutorial you will learn how to:

  • Use the OpenCV function cv::cornerSubPix to find more exact corner positions (more exact than integer pixels).

Theory

Code

Explanation

Result

Corner_Subpixels_Original_Image.jpg

Here is the result:

Corner_Subpixels_Result.jpg