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!

Était-ce utile?

La 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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top