Intermediate · 30 min
Computer Vision Pipeline: Object Detection, Classification, and Search
Build optimized computer vision workflows with Pixeltable. Run YOLOX, CLIP, and custom models as computed columns with automatic batching, stored results, and incremental processing.
The Challenge
Computer vision pipelines require managing image preprocessing, running multiple models (detection, classification, embedding), storing results, and keeping everything in sync. Adding a new model or changing thresholds means reprocessing millions of images manually.
The Solution
Pixeltable makes CV pipelines declarative. Define models as computed columns, and Pixeltable handles execution, batching, stored results, and incremental updates. After a threshold change, you recompute that column and the ones that depend on it, not the whole pipeline.
Implementation Guide
Step-by-step walkthrough with code examples
Image Table
Create a table for images with metadata tracking.
1import pixeltable as pxt23# Create image processing pipeline4images = pxt.create_table('app.images', {5 'image': pxt.Image,6 'source': pxt.String,7 'timestamp': pxt.Timestamp,8 'camera_id': pxt.String,9})1011# Insert images: local, S3, or URL12images.insert([13 {'image': 's3://bucket/cam01/frame_001.jpg',14 'source': 'warehouse', 'camera_id': 'cam-01'},15 {'image': '/data/inspection/part_42.png',16 'source': 'qc-station', 'camera_id': 'cam-02'},17])
Key Benefits
Real Applications
Prerequisites
How-to guides
Learn More
Related Guides
- Video Intelligence Pipeline: Extract, Enrich, and Search Video at Scale
Modality: Video
Computed column: frame_iterator view, then model columns on each frame
Docs - Build a Video Search Engine in Python
Modality: Video
Computed column: frame_iterator, CLIP EmbeddingIndex, FastAPIRouter /search
Docs - Production RAG: From Documents to Answers in One System
Modality: Document
Computed column: Chunk view plus an embedding index, then an LLM column for the answer
Docs
Ready to get started?
Install Pixeltable and start building in minutes. One Python file for tables, indexes, and HTTP.