MANUFACTURING
Blister Pack Inspection
Blister Pack Inspection. What it takes to run it.
Every tablet boxed before the packer and the damaged ones classed chipped, cracked or foreign matter, with recall set on the defect side.
// 01 · The question
“Which tablet left the packer chipped, cracked or carrying something that was never in the formula?”
// 02 · Why it is hard
The damaged tablets are rare enough that a model calling every tablet good is right almost every time and catches nothing, so accuracy on the whole frame says nothing about the question the line is asking. The two costs are nowhere near equal either: a good tablet in the reject bin costs a shift's worth of nothing, a chipped one in a blister costs a complaint or a recall months later, and the threshold has to say so.
// 03 · What the labels have to be
Bounding box
Decided before the first frame
The conveyor carries a dozen tablets past the camera at once, so the question is which tablet, not whether the frame as a whole passes. A box on each tablet answers that, with a tag on the damaged ones for the fault, chipped, cracked or foreign matter, read straight off the same crop. Nothing here is scored by how much of the tablet's surface a mark covers, so the box is the whole answer.
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
Every tablet on the belt
boxed from the camera over the conveyor before the blister packer, a dozen tablets to a frame
The damaged tablet
a tag on that tablet's own box, chipped, cracked or foreign matter, read off the same crop the box drew
A tablet the model doubts
a bevel catching the light or a speck that could be coating dust, held for the QA technician before it is scored either way
The rare find kept on purpose
every confirmed chip, crack or foreign-matter tablet added to the training set rather than lost among the good ones around it
// 03b · What it checks
- 01
Recall on each defect class against a held-out set with every rare find in it, set and defended on its own rather than hidden inside one accuracy figure.
- 02
The alert against the packer's own cycle window, so a reject reaches the gate before the tablet it names has passed it.
- 03
The rule's own severity and cooldown, a chipped, cracked or foreign-matter tablet routed to the reject station with the frame attached, approved before it goes live.
- 04
The threshold against the current batch, not the one it was tuned on, since a coating lot moves the base rate and a flooding or silent review queue is the first sign of it.
// 03c · What the line provides
- The camera already over the conveyor before the blister packer; no new camera, no new hardware.
- Frames from this line, not a reference photograph, since the classifier learns this conveyor's own motion blur and this camera's own brief look at each tablet.
- The defect classes in the QA technician's own words, chipped, cracked, foreign matter or whatever the line's own reject jar already sorts by.
- Someone who can set the recall target per class and read the frame behind a flagged tablet before it reaches the batch record.
// 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
A new coating lot moves the chip rate for a week in either direction, and nothing about the model is wrong: the chips are real, the boxes are on them. A threshold tuned to the old rate starts flooding the review queue or missing finds it used to catch, and the fix is to re-tune against the batch in front of the camera rather than retrain.
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 this replace the QA technician who checks the reject jar?
No. It boxes every tablet at the camera's own brief look and classes the damaged ones before anything leaves the conveyor; a tablet it doubts still goes to the technician with the frame, the same jar the finds already go in today.
How does it find a defect that only shows up a few times a month?
By keeping every confirmed example rather than losing it among the good tablets around it, and weighting the rare class so training does not drown it. Each one a technician confirms becomes a labelled example the next version learns from.
What happens when a new coating lot changes how often tablets chip?
The model does not change; the base rate under it does. A threshold tuned to the old rate starts flooding review or missing finds it used to catch, and the fix is to re-tune against the batch in front of the camera, read from the review queue's own volume before a count would show it.
Can it tell a chip from the bevel catching the light?
Not always on the first look, and we say so. A bevel under the wrong angle can read like a chip to a model that has seen only a handful of examples. Those frames go to a person rather than being scored either way, and the correction is what teaches the next version the difference.
// 07 · Also in manufacturing