template matching documentation

asked 2013-07-04 09:57:14 -0600

Sjoerd gravatar image

I have tried to reproduce the results as shown in the Template Matching tutorial. That is, I literally copied the code example and used the images with the 2 guys in the plane. The problem is that none of the algorithms correctly match the template in the original image, except for the last one - the TM_COEFF_NORM. In the tutorial, only the 2nd image is totally off, in my case the first four are totally off, the 5th is close, and the 6th is ok. I am wondering about these differences: why are the first four totally off and how come this differs from the result in the tutorial? Could it be related to my configuration, installation, etc., or something else? Any ideas? I am using opencv 2.4.6 on Mac OS X.

Thanks.

edit retag flag offensive close merge delete

Comments

Sjoerd gravatar imageSjoerd ( 2013-07-04 09:59:25 -0600 )edit