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.
// 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
- 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.
- 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.
- 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.
- 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.
// 05 · What breaks it after launch
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
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.
// 07 · Also in manufacturing