Question

I am using OpenCV for some project. I want to use part of a planar appearance to track this planar with template matching. Is there some method to choose stabler patches for template matching? Any tips would be appreciated. Thanks in advance!

Was it helpful?

Solution

One standard method is to detect strong keypoints and extract regions around them. If the keypoints are stable, these regions will also be stable. In fact, you may be better off extracting keypoints and then their descriptors for matching, because these will be invariant to scale and rotation (assuming you use SURF or SIFT). Take a look at this example in OpenCV.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top