Reverse Image Search
Build a reverse image search engine that accepts an image as input and returns visually similar results from your indexed collection. Uses multimodal embeddings to match visual features like color, shape, composition, and semantic content.
from mixpeek import Mixpeekclient = Mixpeek(api_key="YOUR_API_KEY")# Create a collection with image embeddingscollection = client.collections.create(namespace_id="ns_your_namespace",name="product_images",extractors=["multimodal-extractor"])# Upload your image catalogclient.buckets.upload(bucket_id="bkt_your_bucket",url="s3://your-bucket/images/")# Reverse image search: query with an image URLresults = client.retrievers.execute(retriever_id="ret_your_retriever",query={"image_url": "https://example.com/query-photo.jpg"})for doc in results["documents"]:print(f"Match: {doc['document_id']} (score: {doc['score']:.3f})")
Feature Extractors
Retriever Stages
mmr
Reorder results using Maximal Marginal Relevance for diversity
Related Recipes & Resources
Explore these related resources to deepen your understanding and discover more powerful features
Face Search Pipeline
Detect, align, and embed faces across your image and video library, then search by face identity. Uses SCRFD for detection and ArcFace for 512-dimensional identity embeddings, enabling large-scale face recognition and matching.
Visual Product Search
Enable camera-based product discovery for e-commerce. Customers snap a photo of a product they like, and the pipeline returns visually similar items from your catalog along with pricing, availability, and product metadata.
Visual Similarity Search
Unified visual similarity search across both images and video frames. Query with a photo, screenshot, or frame to discover visually related content regardless of format, with MMR diversification to ensure variety in results.
AI-Powered Catalog Search
Replace keyword-based catalog search with AI-powered semantic and visual search. Understands natural language queries like "lightweight summer dress under $50" and combines text understanding with visual similarity for comprehensive product discovery.
Image Embedding
Generate visual embeddings for similarity search and clustering
Object Detection
Identify and locate objects within images with bounding boxes