Show HN: In Browser semantic wallpaper search over 16k+ wallpapers

rdksu2 pts0 comments

I indexed around 16k+ most-viewed wallpapers from wallhaven.cc using a CLIP-based model to generate image embeddings, and then hacked together a cool demo showing the vector search working client-side using sqlite-wasm compiled with the new and upcoming sqlite-vec extension, which allows me to do the vector search over the image index client-side! The inference over the actual text-encoder of CLIP also happens client-side using transformers.js :)

search using client side wallpapers clip

Related Articles