自己实现一个以图搜图

Tags
ml
Created
Apr 20, 2024 12:50 AM

https://harper.blog/2024/04/12/i-accidentally-built-a-meme-search-engine/

  • Vector Embeddings - Vector embeddings convert your text of images into numerical representations, allowing you to find similar pics and search your library effectively.
  • Vector Database - A vector database is a way to store and search through encoded items, enabling you to find similar items.
  1. 用 CLIP 将图片(包含元数据、描述?) vector encoding
  2. 存到向量数据库 ChromaDB 中
  3. 获取搜索图片/文本的 embeddings
  4. 使用 ChromaDB 的内置功能来查询
SuperMade with Super