Get the latest tech news
Show HN: Sisi – Semantic Image Search CLI tool, locally without third party APIs
Semantic Image Search CLI tool. Contribute to frost-beta/sisi development by creating an account on GitHub.
The index is built by computing the embeddings of images using the CLIP model, and then stored in a binary JSON file. Searching the images is computing cosine similarities between the query string and the indexed embeddings. There is no database involved here, everytime you do a search the computation is done for all the embeddings stored, which is very fast even when you have tens of thousands of pictures.
Or read this on Hacker News