Duplicate Image Detection and Ranking