Exported the _hash_image function at top level, changed duplicate image threshold to 16% from 25%.