Search an image in a large database of images