Use Cases
Image Understanding
Image Retrieval based on natural language is typically done in the following manner -
Embedding Based Retreieval
- Embed images with CLIP
- Embed the query using the same model and do KNN search to retrieve semantically similar images.
Visual LLM Based Retrieval
- Describe an image using a Visual LLM such as LLava and GPT-V.
- Index the description and retrieve images by searching the descriptions.
SQL Based Retrieval
Semantic search on descriptions or CLIP based algorithms retrieve semantically similar images so they can be less accurate. Structured Extraction by object detection enables querying by object name classes using SQL.
- Run object detection models like YoloV9 or Grounding Dino on the images to extract objects.
- Write the object names, bounding boxes and other image metadata to a structured table.
- Query the structured table using SQL to retrieve images.
Examples
Visual Search Engine for E-commerce
Was this page helpful?