title: OpenCV template matching and transparency
body: <p>What's the way OpenCV handles transparency in image during template matching?</p>
  
  <p>The problem is that the template image needs to have transparent parts, because in the original image there could be anything at those places.</p>
  
  <p>I tried all of the methods, and none of them yielded positive results (e.g. position of template in original image wasn't detected correctly).</p>