OpenCV template matching and transparency
It doesn’t seem like OpenCV handles alpha the way you want it to. You have two options: Write your own cross-correlation method that will use the alpha channel Transform your images so your alpha channel becomes irrelevant Since the first option is straightforward, I will explore the second option here. I’m going to re-use the … Read more