Skip to content
LexDataLexData
PlatformIndustriesCustomers
DocsThe Field GuideBlogWhy models drift
AboutCareersSecurityContact
Log inStart now

// MANUFACTURING

PCB Defect Detection

PCB Defect Detection. What it takes to run it.

Opens, shorts and mouse bites boxed on the bare panel, each class carrying the severity that routes the board to reject, rework or pass.

Start with your footageBook a demo →All of manufacturing →

// 01 · The question

“Is that mark on the bare panel an open or a short, or a mouse bite still within spec?”

// 02 · Why it is hard

A trace is a fraction of a millimetre wide, so the camera that can resolve a gap that size has to be the one actually mounted over the outfeed conveyor, at that resolution and that light, rather than a lab microscope; a model trained on microscope frames has weak evidence for the conveyor camera it will run on, and a hairline crack, a mould mark or a stray fibre on the laminate can sit on the same bright pixels as a true defect until the frame is built to tell them apart.

// 03 · What the labels have to be

Bounding box

Decided before the first frame

An open, a short, a mouse bite and a spur are each a yes-or-no call at a known place on the panel, the position the rework technician walks to and the one the reject log records. A box gives that position directly; the defect's exact outline past its class is not what the routing rule reads.

This is the decision that is expensive to reverse. The geometry has to match what the answer contains, and finding out it does not means labelling the set a second time.

// 03a · What it finds

An open or a short

boxed on the bare panel at the outfeed conveyor's own resolution, the two defect classes that kill a board on their own

A mouse bite, a spur or a pinhole

boxed and classed in the fab's own defect codes, each carrying the severity that decides whether the board is reworked or passed

A missing hole or spurious copper

boxed against the panel's own layout, so a drill that did not happen is a class rather than a shape left for a person to name

A mark the model doubts

a trace thinned to where open and intact both look plausible, or a mark on the laminate that could be copper or a fibre, held for the bench technician before anything trains

// 03b · What it checks

  1. 01

    The class against the fab's own defect codes from the rework sheet, not a generic defect label, since the class is what carries the severity.

  2. 02

    The severity against the rule that routes the board: any open or short rejected, a mouse bite outside the customer's acceptance class to rework with the frame, a spur or pinhole inside it passed with the box kept in the record.

  3. 03

    A customer's tightened acceptance class against one line of the rule, so the model keeps finding the same defects across customers while only the threshold differs.

  4. 04

    A doubted frame held for the bench technician with the box drawn on it, her call recorded against the frame rather than scored either way.

// 03c · What the line provides

  • The camera already over the outfeed conveyor, at the resolution that already resolves a hairline trace; no microscope frames and no new station.
  • The fab's own defect codes from the rework sheet, since the class list is what the routing rule reads.
  • A labeled window of the first panels from a new board revision, before the run, since the model has strong evidence for the old layout and almost none for the new one.
  • The rework queue's own history by shift, read daily, since a rising queue is the first sign of a changed defect rate, before any dashboard shows it.

// 04 · How we run it

Three parts of one loop, on this job.

LexAnnotate

Defect Annotation

Pixel-level defect annotation for surface scratches, cracks, dents, weld faults, and assembly misalignments. Multi-sensor alignment for multi-camera inspection systems.

LexInsight

Line Performance

Ask which shift or which line is producing the most of one defect class, and get an answer with the frames behind it, graded against the plant's own written standard.

LexAlert

Quality Alerts

Monitor defect detection accuracy across changing production conditions. Detect when lighting shifts, new materials, or equipment aging degrades model performance. Auto-retrain to maintain 99%+ accuracy.

How the loop fits together →

// 05 · What breaks it after launch

Prior shift

The defect rate changed

→Prior shift →

A fab replaces an etch bath and the rate of mouse bites across every panel rises while the model is still right on each individual box. What breaks is the rework queue, filling with boards a review limit tuned to a quieter quarter now sends on; the fix is retuning the rule against the current rate, not retraining the model.

It is not the only one that can get this use case, it is the one that usually gets it first. All ten conditions.

// 06 · In manufacturing

Defect Detection at Scale

Full write-up ↓Every case study →

The Challenge

Vision models performed well in pilots but lost accuracy as factory conditions shifted.

Our Execution

Built pixel-level annotated datasets and multi-sensor alignment for reliable defect detection.

The Result

Maintained 99%+ defect detection accuracy across changing production environments. Reduced unplanned downtime.

99%+

Accuracy maintained in production

// 06a · Questions we get asked

Does this replace the operator with the loupe?

No. It watches every panel at the same resolution all night, where an operator finds fewer at the end of a shift than at the start. The borderline board, where open and intact both look plausible, still goes to a person with the box on the frame.

How does it tell a mouse bite from an open?

By class, not by severity. Both are boxed at the mark's own location; the fab's defect codes decide which class each is, and the rule reads the class to route the board. A trace thinned so far that the class itself is in doubt is held for the bench technician rather than guessed.

What happens when a customer sends a new board revision?

The layout and the trace widths may have changed, so the model's evidence for the old revision does not carry over. The first panels of the new revision are labeled before the run, not after the first rejects, and the old revision's evidence is kept rather than lost.

What if the defect rate itself changes, not the board?

A new etch bath can raise the rate of one defect class across every panel while the model is still right on each box. The rework queue rising against its own history by shift is the tell; the fix is retuning the rule's review limit against the current rate before anyone retrains the model.

Read next

PCB defect detection on the bare panel, the full walk-through →Surface defect detection: a mask and an area, where the question is extent instead of yes or no →What a new etch bath does to the rework queue before it does anything to the model →
Start with your footageBook a demo →

// 07 · Also in manufacturing

Surface Defect Detection→Weld Quality Inspection→Assembly Verification & Error Proofing→Package & Label Inspection→Date & Lot Code Inspection→Predictive Maintenance→Multi-Sensor Monitoring→Tablet Defect Inspection→Syringe Barrel Defect Detection→Foreign Material Detection→Glass Defect Detection→Semiconductor Wafer Inspection→Strip Surface Defect Inspection→Ceramic Defect Detection→Wood Defect Detection→Pipe & Tube Defect Inspection→Body-in-White Inspection→Contact Lens Defect Inspection→Coffee Bean Defect Inspection→Parts Count Verification→Pallet Scanning→IV Bag Fill Level & Leak Detection→All forty-one→
Surface Defect DetectionWeld Quality InspectionAssembly Verification & Error ProofingPackage & Label InspectionDate & Lot Code InspectionPredictive MaintenanceMulti-Sensor MonitoringTablet Defect InspectionSyringe Barrel Defect DetectionForeign Material DetectionGlass Defect DetectionSemiconductor Wafer InspectionStrip Surface Defect InspectionCeramic Defect DetectionWood Defect DetectionPipe & Tube Defect InspectionBody-in-White InspectionContact Lens Defect InspectionCoffee Bean Defect InspectionParts Count VerificationPallet ScanningIV Bag Fill Level & Leak DetectionAll forty-one →

Send us a week of this footage. We’ll show you what comes back.

Start with your footageBook a demo →
LexData
LexData

Product

  • Platform
  • Industries
  • Use cases

Resources

  • Docs
  • The Field Guide
  • Blog
  • Why models drift

Industries

  • Energy & utilities
  • Oil & gas
  • Agriculture
  • Manufacturing
  • Insurance
  • Retail
  • Robotics

Company

  • About
  • Customers
  • Careers
  • Contact

Trust

  • Security
  • Privacy
  • Terms

Stay updated

What we learn running vision models in production.

See everything.
Miss nothing.

Stay updated

What we learn running vision models in production.

Terms of use & Privacy policy

© 2026 LexData Labs · All rights reserved