Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It's most likely because mario leaves the frame entirely.

Try using template matching, and just keep track of when he goes off screen and ignore results not at the top of the screen. Or use a _NORMED method and check the value of the maximum.