This guide shows how to build and run Composable Pops using EyePopβs Python SDK. Composable Pops let you chain models and post-processing steps (e.g., object detection β crop β OCR) into reusable pipelinesβall defined in Python.
π§ What is a Composable Pop?
A Composable Pop is a flexible visual processing pipeline. Each Pop is made up of components, where each component can:
β’ Run inference with a specific model
β’ Crop output and pass it to another component
β’ Trace objects over time
β’ Find contours or keypoints
All without needing to train your own model or write any machine learning code.
from eyepop import EyePopSdk
with EyePopSdk.workerEndpoint() as endpoint:
endpoint.set_pop(pop_examples["2d-body-points"]) # choose a pop
job = endpoint.upload("my-image.jpg") # or use endpoint.load_from(url)
for result in job.predict():
print(json.dumps(result, indent=2))