title: opecv template matching -> get exact location?
body: <p>I have opencv installed and working on my iphone (big thanks to this community). I'm doing template matching with it. It does find the object in the captured image. However, the exact location seems to be hard to tell.</p>
  
  <p>Please take a look at the following video (18 seconds):
  <a href="http://www.youtube.com/watch?v=PQnXNZMqpsU" rel="nofollow">http://www.youtube.com/watch?v=PQnXNZMqpsU</a></p>
  
  <p>As you can see in the video, it does find the template in the image. But when i move the camera a bit further away, then the found template is positioned somewhere inside that square. That way it's hard to tell the exact location of the found object.</p>
  
  <p>The square that you see is basically the found x,y location of the template plus the width,height of the actual template image.</p>
  
  <p>So basically my question is, is there a way to find the exact location of the found template image? Because currently it can be at any locastion inside that square. No real way to tell the exact location...?</p>