Edge computing · AI in manufacturing

Edge AI on the factory floor: measure the complete inspection loop.

Evaluate local inference through camera timing, calibration data, decision handling and model updates, rather than a single advertised speed figure.

Share on LinkedIn
An operator touchscreen and controls mounted on industrial manufacturing equipment.

Start with the decision deadline

An inspection system has a deadline set by the process, not by a model benchmark. A component may need to be identified, inspected and routed before it reaches a physical decision point. Define when an image is available, when the decision is needed and what the system should do when it cannot decide in time.

Edge AI runs inference on equipment close to the process. That can support local operation and a bounded data path, but it does not automatically make an application fast, private or dependable. Camera exposure, image transfer, preprocessing, inference, postprocessing and communication all contribute to the actual loop. The important result is a correctly handled inspection decision under relevant operating conditions.

Measure latency where the component moves

Record timestamps around the stages that matter to the production event. A model-only timing excludes the work of receiving an image and turning a prediction into a recorded or actionable result. Examine variation as well as a typical timing: an occasional delay may matter more to a moving line than a favourable average.

Test with the image sizes, batch settings and hardware configuration intended for the installation. Include ordinary competing activity such as logging, network communication or another permitted application. Describe warm-up behaviour and what happens after a restart. Keep a definition of a missed deadline that the quality and production teams can understand. Avoid translating a laboratory throughput number directly into a claim about the number of accepted parts a line can inspect.

Technology in context

Follow one component through the inspection loop

Follow one component through the inspection loopCapture event: Associate the frame with the actual component. Local inference: Measure preprocessing and model computation. Decision gate: Handle pass, fail, uncertainty and timeout. Evidence record: Keep the model version and resulting action. This is an editorial reference workflow, not measured factory performance.Capture eventLocal inferenceDecision gateEvidence record
Capture event

Associate the frame with the actual component.

Local inference

Measure preprocessing and model computation.

Decision gate

Handle pass, fail, uncertainty and timeout.

Evidence record

Keep the model version and resulting action.

Reference workflow. Adapt the stages to the actual engineering task and its approved operating process.

Know which quantisation parameters are fixed

In the static approach described by ONNX Runtime, activation quantisation parameters are derived from calibration data. In dynamic quantisation, relevant activation parameters are calculated during inference, which introduces additional computation. The appropriate choice depends on the model, available operators, execution provider and target hardware.

Quantisation is lossy, and a smaller representation does not guarantee a faster application. Verify support and complete-loop performance on the intended device. Keep calibration examples representative of the real input distribution and compare the converted model with the original on the task's important error categories. Record the conversion and hardware configuration so another team can reproduce the trade-off rather than relying on a generic claim about lower precision.

Treat quantisation as a model change

Quantisation uses lower-precision representations in parts of a model's computation. ONNX Runtime's documentation distinguishes static approaches that use calibration data from dynamic approaches and describes important model and execution-provider considerations. A smaller or lower-precision model is therefore a candidate to evaluate, not a universal performance upgrade.

Use calibration inputs that represent the intended imaging conditions when the chosen method requires them. Recheck task performance after conversion, including difficult defect classes, reflections and borderline examples. An overall accuracy figure can conceal a change in the particular misses that matter to a customer. Preserve the original model, conversion settings and evaluation results so the team can decide whether the deployment trade-off is acceptable.

Make the uncertain case an ordinary workflow

Imagine an illustrative inspection station checking the presence of a feature on an industrial component. The station needs an agreed outcome for a clear pass, a clear failure, an unreadable image and an uncertain result. Those outcomes may require different handling and different records.

Do not assume every score can be converted into a reliable accept-or-reject decision by choosing an arbitrary threshold. Establish the reference judgement with the quality team and examine the consequences of false accepts and false rejects. Include the manual review workload in the trial. If an uncertain component is physically routed elsewhere, verify the association between the image, component identity and resulting action. A prediction attached to the wrong part is an inspection failure even when the model's classification was correct.

Plan local records and cloud transfer deliberately

Local inference can reduce the need to send every image to an external service, but an edge device may still synchronise logs, upload selected frames or connect to a remote management system. Map those transfers explicitly. Record what leaves the factory, who can access it and how customer information is handled.

Consider whether an image reveals a drawing, serial number, customer label or proprietary process. Retain only the evidence required for the agreed task and review access to exported examples. An inspection system should not silently turn a customer's production images into a general training collection. Define the retention and approval process for any future dataset separately from the records needed to investigate the current inspection.

Questions that make the review useful

Evidence for an edge inspection proposal

Evidence for an edge inspection proposal
Review areaEvidence to examinePeople to involve
TimingComplete-loop measurements and missed deadlinesControls and production teams
Model conversionRepresentative calibration and task evaluationVision engineer
UncertaintyReference labels and manual review outcomesQuality owner
UpdatesVersion history, approval and recovery testSystem maintainer
An editorial discussion aid. Roles and acceptance requirements depend on the project.

Make updates reversible and observable

A deployed model needs an identity that appears in its inspection records. Track the model version, configuration, camera setup and relevant software dependencies. If results change after an update, those records help distinguish a model effect from a lighting, process or installation change.

Test the proposed update on an agreed evaluation set and, where appropriate, in a controlled observation period before it affects disposition. Define the person who may approve rollout and the conditions for returning to the previous version. Verify that a device can recover after a power or network interruption. A manageable update process matters especially for smaller factories that cannot maintain an experimental software environment at every inspection station.

Ask for evidence in the supplier discussion

A useful enquiry states the feature to inspect, the part presentation, the decision deadline and the required traceability. Ask prospective suppliers to separate model timing from complete system timing, identify uncertainty handling and explain which hardware and imaging assumptions support their claims.

Include integration, sample preparation, acceptance testing, software support and data handling in the scope. Bharat Sourgen's requirement workspace provides a place to organise the brief; this article does not claim an existing edge inspection product. The objective is a proposal whose evidence can be reviewed by the people responsible for quality and production, with a clear understanding of the work needed beyond the AI model.

Sources & further reading

Technical context from the organisations below. Practical recommendations are Bharat Sourgen’s editorial guidance.

Have a manufacturing requirement?

Bring your drawing, material, quantities and quality expectations into one brief.

Open the manufacturer workspace