Finds the duplicate images