WASD to move Resolution might improve fps
It now doesn't randomly go in positions to detect the sprite but accurately reads the positions from the position the sprite is according to scale of the sprite. Tried making color detection but it didn't work.