Execute the steps listed to implement your simple search engine:
- First, download a set of images to build your search database (for example, from https://www.open-tour.org/en/dataset.html with ~250 images or http://www.robots.ox.ac.uk/~vgg/data/oxbuildings/ with ~5,000 images).
- Implement the SimpleSearchEngine class, which has the following members (initialize them in the constructor or the __init_() method):
- search_dir (where you save the search images)
- save_dir (where you save search image descriptors)
- search_ds (the data structure in which the search images are stored for fast retrieval of the search image descriptors most similar with the query descriptor)
class SimpleSearchEngine: