Use new algo to compare the image