Visual word recognition with large-scale image retrieval