Skip to main content
Version: v3.9.0

Edge AI wafer defect

This example is the fab inspection story. It is complete on its own. You do not need the plant example.

frame-generator on site-a publishes wafer frames. object-detector on edge-c runs wafer-defect. snapshot-service on ops-b keeps the latest inspection for an HTTP gallery. Subjects are vision.wafers.> and vision.inspections.>.

You can change agent.name if your Edgelet nodes use other names.

Container images are ghcr.io/datasance/pot-edge-patterns/<service>:1.2.0. The model repo is datasance/pot-edge-patterns/models/wafer-defect, tag 1.2.0.

Source files: deploy/steps/13a-model-wafer-defect.yaml and deploy/steps/13b-application-vision-inspection.yaml in pot-edge-patterns.

Flow​

PageReader doesAlready in place
OCI registryRegistry row, type: oci, for GHCRAn Edgelet node you will call edge-c
Wafer-defect modelkind: Model in the catalogThat registry row
Vision user rulesThree NatsUserRule objectsNothing from the plant
Vision accountOne in-account NatsAccountRuleThe user rules can exist before or with it. The Application must come after both.
Vision inspectionApplication vision-inspectionModel catalog row, user rules, account rule. Nodes site-a, edge-c, ops-b (names are overridable).
Snapshot servicekind: Service for the galleryThe snapshot-service microservice is deployed
VerifyModel is on edge-c, inspections arrive, gallery opensThe service

On vision inspection, spec.models names wafer-defect. Deploying that microservice makes the Controller attach the model to that Edgelet node and pull it. You do not run attach model, and you do not pull the file by hand.

attach model for a node with no workload is documented on AI Model Catalog. This example does not use that command.

Topology​

Weights land at /models/wafer-defect/wafer-defect.onnx inside object-detector.

The plant floor is a separate example: Acme Smart Plant.

Group 3See anything wrong with the document? Help us improve it!