Ask Your Question

Revision history [back]

Not an easy problem and it's not clear (at least, to me) what is the best approach.

However, having seen some example images, I can suggest detecting shapes in the image according to the shapes of the buttons. Look for shapes in the given image that are of the size and shape you expect.

See here: http://opencv-code.com/tutorials/detecting-simple-shapes-in-an-image/