Automated optical inspection: how do you detect defects before they become scrap?
An unreadable code on the vial. A hairline crack in the glass. A label that has slipped by two millimetres. Such defects are small – their consequences are not. If checks only happen at the end of the line or by sampling, the scrap has already been produced. In the worst case, the product is already on its way to market.
Automated optical inspection (AOI) steps in earlier: it checks every product during the running process, objectively and reproducibly. INTREX develops inline inspection systems for pharma, life science and food production – tailored to your product, your line and your documentation requirements.

What does automated optical inspection achieve – and what does it not?
In automated optical inspection, cameras or code readers capture the product and software evaluates the images against defined inspection criteria. The result: pass or fail, for every single part. Defective products are rejected and the result is logged. Typical inspection tasks are presence and completeness checks, code and plain-text reading, position checks and the detection of surface defects.
- CaptureCameras or code readers
- EvaluateSoftware, defined inspection criteria
- Reject and logpass or fail, for every part
It is well known that manual visual inspection has its limits. Inspectors tire, judge differently and struggle to detect the finest structures. At high cycle rates, a 100% check by hand is hardly feasible. AOI, by contrast, works with consistent criteria – in the first shift just as in the third.
AOI originated in electronics manufacturing, in the inspection of printed circuit boards and solder joints. Today the term stands more generally for image-based quality assurance in production. That is exactly where INTREX comes in: not with circuit boards, but with products, containers and markings on critical lines.
How does AOI work in a running production process?
In principle, two approaches can be distinguished. Stand-alone systems inspect samples away from the line, for example in the quality lab. Inline systems inspect directly in production – every part, at the pace of the line. INTREX focuses on inline inspection.
Samples away from the line, for example in the quality lab.
Directly in production: every part, at the pace of the line.
A reliable inspection system consists of more than a camera. For the evaluation to work stably, several elements have to interact:
- Product handlingThe product has to pass the camera in a defined position.
- Optics and lightingRound or reflective surfaces in particular require suitable illumination.
- Camera positionMultiple perspectives enable 360-degree capture.
- Evaluation logicRule-based image processing, supplemented by AI for varying features.
- DocumentationEvery inspection result is logged in a traceable way.
Inspection architecture instead of buying a camera – that is the difference between a camera on the conveyor and an inspection you can rely on.
Which inspection tasks do we solve with automated optical inspection?
INTREX implements vision systems for tasks where standard technology reaches its limits:
- Code reading and verification
2D codes, barcodes and plain text – including the smallest codes on curved surfaces such as vials, ampoules and prefilled syringes.
- 360-degree inspection
Several camera perspectives are merged in software. The product is captured all around, even with damaged or reflective codes.
- Glass breakage inspection
The GBD 650 uses AI-supported evaluation to detect the finest cracks in glass containers – inline and fully documented.
- Label and print inspection
Position, completeness and legibility of labels and printing, for example in combination with our labelling systems.
Everything is controlled by our in-house developed software KUPvision. It bundles cameras and readers, evaluates image data in real time and logs every result. If required, it can be connected to MES and ERP systems. For code reading we rely, among others, on scanners from Cognex.
Why AOI from INTREX – especially in regulated industries?
In the pharmaceutical industry, a pass/fail signal is not enough. What matters is that every inspection result can be proven in an audit. That is why we consider validation from the very beginning:
- Software according to GAMP 5, based on EU GMP
- Support with qualification (IQ/OQ)
- AI models versioned, with separate training and test data – aligned with the draft of Annex 22
- Audit-ready documentation of every inspection result
On top of that come more than 30 years of experience in marking and quality assurance. Mechanics, camera technology and software come from a single source. The system is integrated into your existing line – without a black box and without rigid platform logic. And you talk directly to the specialists who design your system.
The result for your production: less scrap, less downtime and documentation that answers audit questions before they are asked. Defects are spotted where they occur – and not only at the customer.
For an international pharma customer, for example, we implemented 360-degree detection of the smallest QR codes on vials – inline, under real line conditions and with audit-ready documentation.
View pharma caseFrequently asked questions about automated optical inspection
What does AOI mean?
AOI stands for automated optical inspection: cameras capture the product, software evaluates the images against defined criteria and rejects defective parts.
Can AOI be integrated into an existing line?
Yes. INTREX designs product handling, camera technology and software so that the inspection system is integrated into running production.
Which products are suitable for INTREX inline inspection?
Typical examples are pharma vials, ampoules, prefilled syringes, bottles and other glass containers, as well as labelled and printed packaging. What matters is not the product type alone, but the feature that has to be detected reliably.
When is AI used in optical inspection?
Where rule-based image processing reaches its limits – for example with varying surfaces or fine cracks in glass. The AI works reproducibly and is embedded in the validated process.
Does INTREX offer AOI for printed circuit boards?
No. Classic inspection of printed circuit boards and solder joints is not part of our portfolio. Our focus is on products, containers and markings on critical production lines – above all in pharma, life science and food production.
How do you start your AOI project with INTREX?
Every inspection task begins with a question: which feature has to be detected reliably – and under which conditions? Tell us about your product, your line and your requirements. We assess how the task can be solved technically and show you a realistic path to inline inspection.