Ask Your Question

Revision history [back]

finding icon on taskbar

hello I'm trying to find the position of my icon on the taskbar. I am able to grab the taskbar image and I have my icon image but can't seem to get a match. This seems like it would be easy but does have to be scale tolerable since the taskbar could be a different size.

I've tried every feature matching to no avail (seems icons are too small). I think the way would be to do a template match in a loop while increasing the size of the template?

not sure but has anyone tried this? seems opencv should have a way. (I've print screened the taskbar and created a template from the windows taskbar icon and saved them to disk for testing but can't get a match).