remove the use of image_differ and use image_simliarity instead