Brand Safety & Ad Verification Pipeline
GARM-compliant brand safety pipeline for ad networks. Analyze video and image creatives for brand safety violations before serving.
from mixpeek import Mixpeekclient = Mixpeek(api_key="YOUR_API_KEY")namespace = client.namespaces.create(name="brand-safety")collection = client.collections.create(namespace_id=namespace.id,name="ad-creatives",extractors=["brand-safety-violence","brand-safety-adult","brand-safety-hate","brand-safety-drugs"])# Real-time creative checkasync def check_creative(creative_url):result = client.buckets.upload(collection_id=collection.id,url=creative_url)# Check safety scores in the processed documentdoc = client.documents.get(document_id=result.document_id)return {"safe": all(s > 0.85 for s in doc.safety_scores.values()),"scores": doc.safety_scores}
Feature Extractors
Retriever Stages
Related Recipes & Resources
Explore these related resources to deepen your understanding and discover more powerful features
Hierarchical Classification
Assign content to multi-level category hierarchies using embedding-based classification. Define your taxonomy once, then classify new content automatically with confidence scores.
Automated Video Tagging
Automatically generate descriptive tags for video content using scene analysis, object detection, and taxonomy classification. Each video receives structured labels for scenes, objects, actions, and custom business categories without manual annotation.
Video Scene Search
Find specific scenes within videos using natural language descriptions. The pipeline detects scene boundaries, generates embeddings for each scene, and enables precise timestamp-level search across an entire video library. Query for visual content, actions, or spoken dialogue.
Semantic Multimodal Search
Unified semantic search across all content types. Query by natural language and retrieve relevant video clips, images, audio segments, and documents based on meaning-not keywords or manual tags.
Feature Extraction
Multi-tier feature extraction that decomposes content into searchable components: embeddings, transcripts, detected objects, OCR text, scene boundaries, and more. The foundation for all downstream retrieval and analysis.
Clustering & Theme Discovery
Unsupervised clustering that groups content into semantic themes using HDBSCAN. Surfaces hidden patterns, content variants, and outliers without requiring predefined labels.