OpenCV template matching and transparency

What's the way OpenCV handles transparency in image during template matching?

The problem is that the template image needs to have transparent parts, because in the original image there could be anything at those places.

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

30
задан Stephen Kennedy 7 October 2018 в 19:23
поделиться