This repository contains the code of a simple image similarity search engine built around the vector database Weaviate. Together with the index and search servers, users are able to index zipped directories of images and search the created index for similar images. Aside from the server code, the same functionality to index a folder of images and search based on a reference image is also provided as a script in the corresponding server directory.
Before you get started, make sure you have Docker and Docker Compose installed.
To build the containers, from the project directory execute
docker-compose build .
If you wish to run the database without the additional helper servers, for example if you wish to index via a script instead of the server, run
docker-compose -f docker-compose.headless.yml build .
To run the code, either headless or not, execute
docker-compose -f docker-compose.headless.yml up
or
docker-compose -f docker-compose.yml up
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.