22 |
This really primitive web-app picks a random image indexed in ElasticSearch,
23 | queries for its nearest neighbors, and shows them.
24 |
The image outlined in red is the "query" image. The remaining are its nine
25 | nearest neighbors.
26 |
There are about 6000 images total indexed in Elasticsearch, all taken from
27 | the imagenet test set, downloaded from Kaggle.
28 |
Below the images you can see the query response. Note how each image is
29 | represented by the "text" field, which is a string of tokens corresponding to
30 | the document's approximate location in the vector space of images.
31 |
32 |
33 |
34 |