Situation and problem
Illustrative scenario: a Swiss supplier manufactures metal housings in varying batch sizes. Staff visually check scratches, dents and missing holes. Reflective surfaces, changing illumination and new variants make consistent judgement difficult. A visible difference is not necessarily a defect: machining marks may be acceptable while a small burr matters functionally. During busy periods, items awaiting a second check accumulate. The company and all volumes described here are assumptions. The appropriate starting point is therefore an agreed defect definition supported by reference images, rather than buying a camera or a supposedly universal AI model.
Objectives for AI
You want suspicious parts presented earlier and decisions prepared more consistently. Automatic acceptance of parts is explicitly excluded from the initial pilot. Before starting, define for each defect class which deviations must be detected, who decides uncertain cases and how false alarms are handled. Measure missed defects, unnecessary second checks, processing time and image failures separately. An assumed pilot threshold might require no missed critical defects in the independent test collection. That is an acceptance condition, not statistical proof that no future defect will ever be missed. Production release requires a separate risk assessment.
Possible AI solution
A possible solution combines defined camera positions with image classification or anomaly detection. MVTec AD documents a research benchmark for industrial image anomalies; this does not establish performance on your own parts. [1] In the proposed design, image ID, part variant and inspection version are stored together. Simple rule-based image processing provides a comparison: OpenCV documents thresholding methods, among other techniques. [2] A more complex model is justified only when this baseline cannot adequately pass the agreed test. The interface highlights suspicious image areas; qualified staff provide the inspection decision instead of relying on an automatically generated explanation.
Workflow and practical implementation
Start with one product family and two clearly defined surface defects. Capture accepted and rejected parts across different shifts and permitted lighting conditions. Two specialists resolve inconsistent image labels. Separate training and test images by batch and capture date so that nearly identical pictures do not populate both groups. The solution then operates in shadow mode alongside existing inspection. Quality staff document every disagreement and its cause. Only after joint acceptance may the results influence the order of second checks. If image capture or model evaluation fails, the existing inspection process applies and the incident is logged.
Technical and organisational requirements
You need a stable fixture, reproducible lighting and traceable links between images and parts. The machine interface does not need to permit control commands: one-way transmission of inspection orders and results is enough initially. Name an owner for the defect catalogue, data maintenance and model versions. Define who may export images and how long rejected-part images are needed. Unsuitable imaging cannot reliably be repaired through additional model training. Check the rights for external training material: the published MVTec AD licence does not allow commercial use of the dataset without appropriate clarification. [1]
Potential benefits and value
Potential value comes from consistently prepared second checks and better traceability of recurring anomalies. You may identify variants or capture conditions that cause disproportionate uncertainty. This can lead to improved lighting or a better defect catalogue even if no AI model reaches production. Assess more than the detection rate: a system that rejects almost every part may find defects while creating extra work. The pilot should consequently compare the quality team's total effort with and without assistance. Claims about fewer customer complaints require an appropriate period of operating observation and cannot be inferred from the demonstration alone.
Effort, costs and economics
Own planning estimate, not a quotation: a limited pilot might require six to ten calendar weeks and approximately 18–30 person-days, plus hardware and integration. Assumed calculation: 12,000 inspections per month, four seconds less active viewing per inspection and labour valued at CHF 65 per hour produce CHF 867 of gross monthly capacity. Assumed operating and maintenance costs of CHF 350 leave CHF 517 before additional second checks or outages. With CHF 20,000 initial expenditure, simple calculated payback would be approximately 39 months. This is not a savings forecast and excludes financing and downstream quality costs.
Privacy, risks and limitations
Restrict camera framing to the workpiece so that staff are not captured unintentionally. Drawings and defect images may reveal trade secrets; clarify cloud processing, subcontractors and export permissions before uploading. An image inspection does not automatically detect internal material defects or properties outside its field of view. New surface treatments, camera changes and rare faults can alter results. Incorrect acceptance, excessive alarms and manipulated inspection images must be treated as risks. Safety-critical parts require their own specialist and regulatory assessment. The system must neither bypass existing protective functions nor quietly replace them with an unvalidated model.
Success factors and recommendations
A narrow defect catalogue with images of acceptable borderline examples provides a good start. Reserve data that remain unseen until acceptance, and do not let the project team alone evaluate success. Record the training collection, settings, known limitations and return to the previous process for every model version. Stop the trial when part identity is unclear, image failures recur or critical misses remain unexplained. A small, controlled application is usually easier to evaluate than many simultaneous variants. After any equipment change, reconsider whether the existing test collection still represents the actual production environment.
Sources and further reading
- MVTec – Industrial anomaly detection benchmark dataset (MVTec AD), einschliesslich LizenzhinweisAccessed on: 2026-11-23
- OpenCV – Image Thresholding, Version 4.13.0Accessed on: 2026-11-23
Support from aresa
aresa can work with you to map the inspection process, assess its business potential and formulate a limited pilot brief. Support can include a usable defect catalogue, responsibilities, selection of suitable technical partners and acceptance tests with realistic borderline cases. Training, operational handover and a measurable comparison with the existing process can also be prepared. These are possible services, not a claim that an existing customer project has been delivered. A useful first discussion clarifies the part family, defect costs and available images. You can then decide whether imaging improvements, simpler rules or an AI approach is the appropriate next step.