I am developing a game to find the difference between two images. Like these two images: There are 4 differences. So, an image comparison algorithm is worth to use. At the primary test, I got the following result: Hoping to enhance it.