I've done many similar projects of this nature. It will be a GUI or a command line app that takes as arguments the big picture and the small and it will return a list of coordinates of all the occurences of the small picture within the big one.
In case of a GUI app, it will highlight the small images, it will be extremely fast.
BTW, I made many bots for skill games, so I know what I'm saying.