In this sample, you'll learn how to use Chroma to store images and their embeddings and later retrieve images based on similarity search on a keyword.
You can see the full sample in main.py.
First, add the images in images folder to ChromaDB:
python main.py --folder_path=../images
Now, retrieve an image with a keyword:
python main.py --keyword="stadium"
You should now see the picture of Colosseum.