Skip to content

Latest commit

 

History

History

search-within-images-with-sam-and-clip

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

🔍Search engine using SAM & CLIP

Open In Colab Ghost “A Dog”

🚀Create a Search Engine within an Image use SAM(Segment Anything) and CLIP (Constrastive Language Image Pretraining) model.

Follow the Colab Notebook for full code.

Interface 🌟

  1. Load the model.
  2. Create the Segmentation mask of any Image.
  3. Get the Embeddings of each extracted Segmentation masks as an seperate image.
  4. Embed the User Query.
  5. Index the Image embeddings into LanceDB.
  6. Use Search method to find the closest match of Image Embedding (particular Segmentation Mask) and User Query.
  7. Output the Highlighted closest object present.

“A Dog” Read the Full blog post