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

// MANUFACTURING

Diabetes Device Inspection

Diabetes Device Inspection. What it takes to run it.

One detector's class list across a pen, a meter, a vial and an applicator, a question for the smear nobody wrote a class for.

Start with your footageBook a demo →All of manufacturing →

// 01 · The question

“Is the cap seated, the port clear, the device whole, on whichever of four device shapes is running this changeover?”

// 02 · Why it is hard

The line changes device four times a week, and the obvious design, one model per device, means every changeover doubles as a model swap. The part is the same question on every shape, cap or no cap, door or no door, so one detector with one class list is correct, but a new device generation moves the part the class was trained to find, and the first shift on it looks like a wave of failures before anyone has checked whether the devices or the model is wrong.

// 03 · What the labels have to be

Bounding box

Decided before the first frame

A pen's cap, a meter's battery door, a vial's desiccant lid and an applicator's release tab are each a part either present or not, and a box drawn once per part across all four shapes gives the completeness check a region to score without a model per device. The faults that cannot be boxed consistently, a smear, a crack, a scuff, go to a question instead; a box trained to call those would spend a week arguing with itself about where a scuff ends.

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

The part that belongs on this device

boxed with one class list across all four shapes, cap, cartridge window, battery door, strip port, desiccant lid, release tab, on the camera already at the end of line 2

The part that is missing

the box for that part absent on a frame where the changeover's device should have it, held before the checklist for that device calls it a pass

The fault nobody wrote a class for

a smear on the cartridge window, a cap seated but tilted, a crack on the vial lid, answered in plain words by a question to the same frame rather than boxed

A device the system doubts

a cap at an angle, a door half in the inspector's shadow, held for a person with the frame rather than scored either way

// 03b · What it checks

  1. 01

    The part against the checklist for whichever device is running this changeover, one detector, one class list, the checklist applied downstream of the boxes.

  2. 02

    A frame the detector is unsure of, a cap at an angle or a door half closed, held for a person before anything ships or trains on it.

  3. 03

    The question's answers on a new device generation's first run, held for a person until enough have been read to trust them.

  4. 04

    The rule's severity and cooldown, a missing cap on line 2 critical with no cooldown, approved before it goes live.

// 03c · What the line provides

  • The camera already at the end of line 2, no new camera, no new hardware per device.
  • Frames from this line's own four device shapes, not a catalogue photograph of any of them.
  • The inspector's own laminated checklist per device, the source the class list is written from one binder page at a time.
  • The inspector herself, to check the detector's doubted frames and to read the question's answers on a new device's first shift.

// 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

Covariate shift

The equipment changed

→Covariate shift →

The second-year meter replaces a straight-topped housing with a rounder one and moves the strip port from the top to the side. The detector's strip-port class is still looking where the old housing put it, so the count of meters with no strip port jumps toward all of them on the first unit of the new run, not because the meters changed but because the model has never seen the housing it is now watching.

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 one model really cover a pen, a meter, a vial and an applicator?

One detector does, because the part it is looking for is the same question on every shape: is the cap on, is the door shut, is the tab there. The checklist that differs by device is a rule applied downstream of the boxes, not a separate model. What does not transfer across shapes is the descriptive faults, the smear and the crack, which go to a question instead of a class.

What can the question answer that the detector cannot?

Anything that is hard to box the same way twice: a smear on the cartridge window, anything on the applicator that should not be there, the fault that shows up once a month with no class list written for it yet. A question answers in plain words with the frame behind it. What it cannot do is count a thousand devices into a number anyone can compare with last Tuesday's, which is why the part that stops the line stays with the detector.

What happens when a device generation changes shape?

The detector's class for the part that moved, a strip port shifted from the meter's top to its side, is looking in the wrong place from the first unit, and the count of failures on that part jumps toward all of them within minutes, which is itself the signal that the devices did not suddenly break. Frames from the first shift of the new generation, labeled and folded in, close the gap; the old generation's frames stay in the set for plants still running it.

What does the inspector actually receive?

A rule written as a sentence, with its own severity and cooldown, approved before it goes live: a missing part on this device, critical, to the channel the line reads, with the frame attached. On a changeover morning she also gets the question's first answers on the new device, until enough have been read to trust them without her.

Read next

Diabetes device inspection with a VLM and one detector, the full walk-through →The same completeness check, one part missing from a cluttered assembly instead of a device →What a new device generation does to a detector trained on the old one →
Start with your footageBook a demo →

// 07 · Also in manufacturing

Surface Defect Detection→Weld Quality Inspection→Assembly Verification & Error Proofing→Package & Label Inspection→Package Damage Detection→FDA Food Label Compliance→Juice Box Quality 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→PCB Defect Detection→IV Bag Fill Level & Leak Detection→Bottle Cap Inspection→Paint Defect Detection→Fall Detection→Orthopedic Implant Inspection→All forty-one→
Surface Defect DetectionWeld Quality InspectionAssembly Verification & Error ProofingPackage & Label InspectionPackage Damage DetectionFDA Food Label ComplianceJuice Box Quality 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 ScanningPCB Defect DetectionIV Bag Fill Level & Leak DetectionBottle Cap InspectionPaint Defect DetectionFall DetectionOrthopedic Implant InspectionAll 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