E-commerce Catalog Enrichment
Automatically enrich product listings with visual attributes, descriptions, and tags extracted from product images. Fill in missing catalog data at scale.
from mixpeek import Mixpeekclient = Mixpeek(api_key="YOUR_API_KEY")namespace = client.namespaces.create(name="catalog")collection = client.collections.create(namespace_id=namespace.id,name="products",extractors=["image-captioning","color-extraction","object-detection","text-extraction"])# Upload product imagesclient.buckets.upload(collection_id=collection.id,url="s3://your-bucket/product-images/")# Get enriched product datadocs = client.documents.search(namespace_id=namespace.id,collection_ids=[collection.id],page_size=50)for doc in docs:print(f"Caption: {doc.metadata.get('caption')}")print(f"Colors: {doc.metadata.get('dominant_colors')}")print(f"Objects: {doc.metadata.get('detected_objects')}")
Feature Extractors
Image Captioning
Generate descriptive captions for images automatically
Object Detection
Identify and locate objects within images with bounding boxes
