---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://mixpeek.com/.well-known/search?q={query}"
  method: GET
  documentation: "https://mixpeek.com/llms.txt"
---

1.  [](/)
2.  [Code examples](/recipes)
3.  E-commerce Product Image Analytics

Back to code examples

Concepts

# E-commerce Product Image Analytics

Analyze product images across your catalog to extract visual attributes, identify trends, detect quality issues, and benchmark against competitors.

image

Multi-Tier

[Run in Builder](/build?recipe=ecommerce-product-analytics)

Python

cURL

from mixpeek import Mixpeek

client \= 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 photo

bucket \= 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 process

client.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 issues

docs \= 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

## Frequently asked questions

### What visual attributes are extracted?

Objects, colors, patterns, textures, backgrounds, image quality score, and custom taxonomy labels.

### Can I define custom product attributes?

Yes. Use Mixpeek taxonomies to create custom classification hierarchies specific to your product catalog.

### How does quality assessment work?

The quality model evaluates resolution, blur, exposure, composition, and background quality to produce a 0-1 quality score.

## Related code examples and resources

Pages on the same stages, extractors and patterns.

[

Extractor

### Multimodal Extractor

Unified embeddings for video, audio, image, and text: scene/silence chunking, Whisper transcription, thumbnails, and Gemini vision.

Learn more





](/extractors/multimodal)[

Extractor

### Image Embedding

Generate visual embeddings for similarity search and clustering

Learn more





](/extractors/image)[

Extractor

### Face Identity Extractor

Detect, align, and embed faces to 512-D ArcFace vectors across image, video and PDF, using SCRFD for detection.

Learn more





](/extractors/face-identity)[

Recipe

### Image Similarity Search Pipeline

Deploy a visual search engine that finds similar images using state-of-the-art embedding models. Perfect for product catalogs, stock photo libraries, and visual discovery.

Learn more





](/recipes/image-similarity-search)[

Recipe

### Automatic Image Tagging Pipeline

Automatically tag images with objects, scenes, colors, and custom labels using computer vision models. Perfect for DAM systems and media libraries.

Learn more





](/recipes/image-tagging-pipeline)[

Recipe

### 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.

Learn more





](/recipes/reverse-image-search)