AIToday
Image GenerationAI Coding AssistantsAmazon AI BlogPublished: Oct 27, 2026, 04:00 JST

AWS ships per-camera vision pipeline with SageMaker Neo

Send on LINE
AWS ships per-camera vision pipeline with SageMaker Neo

3 Key Points

  1. What happened

    AWS released a sample SageMaker SDK v3 pipeline that trains an anomaly detector and defect classifier per camera, gates each on balanced accuracy and defect recall, then compiles with SageMaker Neo before registering. A full 13-step run costs about $0.07.

  2. Why it matters

    Per-camera models are needed because pooled footage underperforms individual cameras, so plants face thousands of models to version and ship. This sample automates that work with quality gates that block underperforming models and a semaphore that caps concurrency at five.

WHO IT HITSManufacturing and quality-inspection teams running camera fleets will get a deployable blueprint for per-camera model lifecycle management without requesting quota increases. The pattern targets the fleet-scale constraint that managed options like Amazon Lookout for Vision do not cover.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

Context & Analysis

The post is an update to a 2023 series on MLOps for visual quality inspection at the edge, now ported to the SageMaker Python SDK v3 and replacing the since-deprecated SageMaker Edge Manager with SageMaker Neo for edge optimization. The sample deploys via the AWS CDK; the orchestration layer admits at most five pipeline executions at a time by default, which keeps concurrent SageMaker training jobs inside the standard account quota and means no service quota increase is needed.

A design choice worth noting is that every quality gate scores the exported ONNX artifact rather than the in-memory PyTorch model, so the artifact that is gated is the artifact that ships. The classifier branch uses balanced accuracy plus defect recall because roughly 90 percent of images are good, which makes plain accuracy misleading. The Model Registry keeps packages from all cameras in shared groups and recovers per-camera history by filtering on camera metadata, because ListModelPackages cannot filter on customer metadata server-side. On a camera's first run the fetch finds nothing and training falls back to cold-start initialization; later runs resume from that camera's own prior model.

The sample also documents two SDK v3 behaviors that are not listed as breaking changes. The SDK validates the pipeline execution role against live IAM at synthesis time, so a CDK app cannot create the role and the pipeline in one deployment; the sample's two-phase deploy handles this with a context flag. The role validator also simulates ECR pull permissions without a resource ARN, so a role scoped to a single ECR repository fails validation even though it would work at runtime. Compilation itself incurs no charge; you pay for the processing instance that drives it and the S3 storage of the outputs.

FAQ
How much does a full pipeline run cost?
A full run executes all 13 steps, including both Neo compilations, in about 15 minutes and costs roughly $0.07 in billed ml.m5.xlarge time in US East (Ohio).
What quality thresholds must models pass?
The anomaly branch gates on AUROC of at least 0.8. The classifier branch requires balanced accuracy of at least 0.6 and defect recall of at least 0.5 together.
Can I test it without my own camera footage?
Yes. By default the pipeline generates synthetic production line images. The repository also includes a downloader for the BCCD dataset of 364 annotated blood smear images to exercise the pipeline on real images.
Amazon AI BlogRead Original Article
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleGoogle, Stanford launch Polar Peaks AI literacy quest