E-commerce Product Image Analytics
Analyze product images across your catalog to extract visual attributes, identify trends, detect quality issues, and benchmark against competitors.
from mixpeek import Mixpeekclient = Mixpeek(api_key="YOUR_API_KEY", namespace="product-analytics")# 1. A bucket for catalog photos, and a collection whose Gemini step returns# category, colors and visible quality issues for every photobucket = client.buckets.create(bucket_name="catalog",bucket_schema={"properties": {"photo": {"type": "image"}}},)collection = client.collections.create(collection_name="catalog",source={"type": "bucket", "bucket_ids": [bucket["bucket_id"]]},feature_extractor={"feature_extractor_name": "multimodal_extractor","version": "v1","parameters": {"run_video_description": True,"description_prompt": "Audit this product photo.","response_shape": {"type": "object","properties": {"category": {"type": "string"},"colors": {"type": "array", "items": {"type": "string"}},"quality_issues": {"type": "array", "items": {"type": "string"}},},},},},)# 2. Upload and processclient.buckets.upload(bucket["bucket_id"],blobs=[{"property": "photo", "type": "image", "data": "s3://your-bucket/product-images/IMG_0001.jpg"}],)client.collections.trigger(collection["collection_id"])# 3. Find photos with quality issuesdocs = client.documents.list(collection["collection_id"], page_size=500)for doc in docs["results"]:issues = (doc.get("json_output") or {}).get("quality_issues") or []if issues:print(doc["document_id"], issues)
Feature Extractors
Multimodal Extractor
Unified embeddings for video, audio, image, and text: scene/silence chunking, Whisper transcription, thumbnails, and Gemini vision.
Retriever Stages
Related Recipes & Resources
Explore these related resources to deepen your understanding and discover more powerful features
Multimodal Extractor
Unified embeddings for video, audio, image, and text: scene/silence chunking, Whisper transcription, thumbnails, and Gemini vision.
Image Embedding
Generate visual embeddings for similarity search and clustering
Object Detection
Identify and locate objects within images with bounding boxes
Image Captioning
Generate descriptive captions for images automatically
Facial Recognition
Detect and identify faces in images with high accuracy
Image Segmentation
Partition images into multiple segments for detailed analysis