Leica pitches offline microscope AI trained on 5–10 images
Leica Microsystems' Aivaro AI Feature Detection, a licensed add-on to its Enersight microscope software, runs without internet access. Many samples need only five to 10 labeled images per class. The harder work is keeping lighting, focus and magnification consistent across workstations and leaving final quality calls with trained operators.
This story was produced through MarketScale. See how Industrial IoT teams put it to work with AI Visibility (GEO).
Key takeaways
When many sample types need only five to 10 labeled images per class, model building gets cheap, and consistent lighting, focus and magnification become the main thing a quality lab has to control.
Fully offline AI inspection now appears in products as different as Leica's microscope module and preML's inline camera kit, which gives buyers solid ground to ask for it on lines that handle proprietary work.
Any AI inspection pilot should count false rejects and defect escapes separately; a single accuracy figure can hide a shift from one to the other.
Free workspace
Turn your Industrial IoT expertise into content.
Record interviews, organize footage, and write with AI on a free trial of the MarketScale platform for qualifying companies. No demo required, no credit card.
On a densely populated printed circuit board, a scratch can disappear into the traces, pads and surface texture around it. Leica Microsystems, a Danaher company, has built a module for the microscopes that hunt for such scratches: Aivaro AI Feature Detection, a separately licensed add-on to its Enersight software platform for digital microscopes and cameras. In a Nov. 23 article in Laser Focus World, Leica senior commercial product manager Marjus Seubert described software that finds, classifies, counts and measures defects, inclusions and particles in live or captured images, then saves the results with the image so they can go straight into a report.
Two of Leica's claims matter most to a quality lab manager. For many sample types, a model needs only five to 10 labeled images per class. And the software runs on standard hardware with no cloud connection or internet access. Put those together and the effort in an AI inspection project lands somewhere new.
Cheap models mean the discipline around the microscope carries the project.
From a handful of images to a model
Leica starts each task from pre-trained models and fine-tunes them where the images are captured, an approach it calls edge learning. Users mark the features that matter with a magic wand tool, a Quick Selection brush or freehand drawing. Once trained, the model can count what it finds and report minimum, maximum and average measurements. One example image in Leica's article shows the minimum Feret diameter calculated for each feature detected in a cross-section.
The catch comes from Leica itself. Reliable results depend on suitable input images and steady acquisition conditions, and the company names lighting, focus and magnification. Those conditions are what let the model tell acceptable variation from a real defect. Five to 10 labeled images make the model cheap to build, so the hard part of the project becomes the microscope: the same lighting, focus and magnification every time.
Munich-based elunic makes the same point about its AI.SEE microstructure software. On its product page, it says results only become comparable from sample to sample when magnification and scale are calibrated, etching is even and measuring fields are chosen by a fixed rule. Two vendors working on different microscope tasks describe the same dependency, which suggests it belongs to the method and is not a quirk of one product.
The five-to-10 figure also carries a qualifier: "many sample types," not all of them. elunic declines to give a flat number, saying the image count depends on the task and how varied the materials are, and that it works this out from a customer's own micrographs in a feasibility check. Leica's article gives no accuracy, false-reject or escape rates for small training sets, so the figure is a starting point to test. It is not a measured result.
A useful first test: label 10 images per class captured at production settings, then run the model on a few images taken with focus or lighting deliberately off. How quickly results degrade shows how tightly acquisition has to be locked down before go-live.
Recipes that move between workstations
Leica's answer to the acquisition problem sits in Assist, the Enersight workflow environment where Aivaro runs. There, quality teams can bundle an AI model with predefined task instructions and system settings in a single package.
This would matter most for labs running the same inspection on several microscopes or across shifts, where each station drifting a little would erode the consistency a small training set relies on. Leica also pitches the bundle as a way to bring new users onto a defined procedure faster. Buyers should check which workstations count as compatible before assuming a recipe will carry across a mixed fleet.
Inspection images that never leave the plant
Leica frames local processing as a data question. Inspection images can reveal a lot about products, materials, processes and quality performance. Aivaro processes and stores everything on the user's system, so images and models stay on site and under the manufacturer's control.
The same design choice turns up in a very different product. A May supplier-submitted piece in Laser Focus World described preML's inline inspection kit, which ships with an IDS uEye XC industrial camera, lighting, a compact edge computing unit and preML Vision Lab software already installed. The unit runs fully on its own with no internet connection, which preML positions for isolated production environments, and its no-code software lets staff without image processing training build and adapt inspection models in minutes. TOP GmbH & Co. KG uses it to check hand-assembled circuit boards.
Inside the preML and IDS inline kit
Laser Focus World; IDS Imaging Development Systems; preML
A bench microscope module and a camera kit on the line have little else in common, yet both treat offline operation as standard. For plants whose IT teams keep production networks closed, that suggests offline operation is a fair requirement to put in a specification. preML founder David Fehrenbach adds a second reason buyers want it: manufacturers want systems they can reconfigure without leaning heavily on outside integrators.
Who makes the final quality call
Leica is explicit that Aivaro supports an operator's assessment and does not replace it. The software runs the defined analysis. The operator weighs the findings against the sample, the production process and the applicable quality requirements, then decides what they mean for the product.
Behavioral scientist Gleb Tsipursky, writing in Vision Systems Design in October, sets out what that division of labor needs in order to work. Between a false reject (good material fails) and a defect escape (bad material passes) sits a third outcome: cases where the image data cannot settle the question. In those cases, he argues, neither the system's output nor the operator's opinion counts as ground truth, and the final disposition should follow documented criteria and independent review. Operators flag doubtful results, preserve the evidence and start the approved review. Changing inspection settings belongs to engineering and quality staff.
His proposed exception log records part and lot, station and camera, timestamp, recipe or software version, the original result, the image with its region of interest, and any confidence score along with what that score actually means. He recommends piloting at a single station or on one defect category, and counting false rejects and escapes separately, because one aggregate accuracy number can hide a shift between them.
Aivaro's design covers part of that record already. Results are saved with the image, and the Assist recipe is a natural candidate for the locked setting operators leave alone. What the plant still has to supply is the escalation path and a person who owns the inconclusive pile.
Questions for a first-station pilot
- Do our sample types behave like the 'many' Leica describes? Train on five to 10 images per class from our own parts and watch false rejects and escapes as separate counts.
- Can Assist lock lighting, focus and magnification on every microscope that will run the model, and are all of those microscopes compatible workstations?
- Where do the saved measurements end up, and who reviews the cases the model and the operator cannot settle?
Tsipursky's own test for progress is a human one: an operator who can tell when the evidence on screen is not enough and knows the next step. With a five-image model, that operator is doing more of the quality work than the software.
Sources
- AI feature detection designed for routine microscopic inspection ↗ · Laser Focus World
- IDS camera technology powers flexible AI-supported visual inspection system | Laser Focus World ↗ · Laser Focus World
- An Inspection Exception Log Can Teach Judgment Under AI ↗ · Vision Systems Design
- Microstructure analysis with AI | AI.SEE™ ↗
Featured companies
Your experts belong here
Every story in MarketScale Industrial IoT starts with a company putting its controls engineers, plant-floor specialists, and integration partners on the record. Buyers are already reading this topic. The only question is whose experts they find.
Plant and controls buyers research deep before contact, and your engineers get to shape that research.
About the author
The MarketScale Newsroom reports on the companies, technologies, and trends shaping 16 B2B industries. It turns primary sources and expert commentary into clear, useful coverage for the people doing the work.