I am basically running this tutorial Features2D + Homography to find a known object.
I run cv::findHomography
and visualize only the inliers. It works well and finds a nice rectangle in 99% of the cases so I doubt it is an implementation error. But sometimes the homography is apparently wrong. Is there a chance there is a bug in cv::findHomography
?
I would like to refer to this question c++ - opencv's findHomography produces nonsense results. It seems I am not the only one with such problem.
Here is an example how it look like: