MANUFACTURING
Package Damage Detection
Package Damage Detection. What it takes to run it.
A holed, wet or open carton boxed against its own box at the packing station, held for the station lead before it ships.
// 01 · The question
“Which carton on the belt is holed, wet or open before it ships, found fast enough for the station lead to pull it?”
// 02 · Why it is hard
Boxes move, so frames blur at belt speed. Tape catches the overhead light and looks wet. A label sits in a different place on every carton size, and a faint ring on the base reads as wet to one person and as nothing to another unless a sentence settled the line before anyone labeled a frame. None of that is solved by a sharper camera; it is solved by frames from this station, at this height, under this light, at the speed this belt actually runs.
// 03 · What the labels have to be
Bounding box
Decided before the first frame
A box drawn for the carton first gives the rest of the check a region to work inside, so a wet patch on the bench beside the belt is not mistaken for damage on the package itself. A second box for the fault keeps a torn label separate from a torn carton, because the two faults get fixed in different places.
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 carton on the belt
boxed first on the packing station camera already overhead, so a wet patch on the bench or a torn sleeve of tape beside it is not read as damage on the package itself
An open, holed or wet carton
boxed as its own class inside the carton's own box, from a sentence this station settled for each: a lifted flap and broken seal for open, a tear through the board for holed, staining that has soaked through for wet
A damaged label
boxed separately from the carton's box, a torn or peeling print rather than a question about what the label says
A carton the system doubts
glare off the tape, a blur at belt speed, or a mark too faint to call either way, held for the station lead with the frame rather than scored either way
// 03b · What it checks
- 01
Any holed, wet or open-box class against a threshold set low on purpose, since a miss here costs a return and a claim while a false alarm costs the lead a few seconds at the belt.
- 02
The rule's schedule, cooldown and severity, so one knocked camera or one failed light does not page the lead dozens of times for the same cause.
- 03
A doubted carton, glare, blur or a mark too faint to call, held for the station lead with the frame rather than scored either way.
- 04
The count by station, by shift and by class, so a run of wet alerts at one station points at the roof above it rather than the camera.
// 03c · What the line provides
- The camera already over the packing station belt; no new camera, no new hardware.
- Frames from this station's own cartons, at this height, under this light, at the speed this belt runs, not a generic carton set.
- The five classes in this station's own words, so two people labeling draw the same line between a ring and a soak.
- The station lead who already walks the floor, now looking at the cartons the camera held rather than every carton on the belt.
// 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 model trained at one station's camera height, belt colour and light does worse at the next station from the first day, not because the model is bad but because it has only ever seen one station. A short window of frames from the new station, labeled and folded in before that station goes live, closes the gap, and the first station's version is untouched.
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 quality control at the station?
No. It holds the cartons that are holed, wet or open for the station lead to check, out of a belt moving too fast for anyone to look at every carton closely. The lead still makes the call on every carton the camera flags; what changes is that the camera is watching all of them, not just the ones a person happens to glance at.
Why does the threshold sit low on purpose?
Because the two mistakes are not equal here. A false alarm costs the station lead a few seconds looking at a carton that was fine. A miss costs a return, a claim and a customer weeks later. The threshold is set to catch anything that might be damage, and the person absorbs the false alarms; a line where a false reject stops the belt would make the opposite trade.
What happens at the second station?
A different camera height, a different belt colour and a skylight across the frames mean the model trained at the first station does worse at the second from day one, the same way any model trained on one site does somewhere it has not seen yet. A short window of frames from the new station, labeled and folded in before it goes live, closes the gap, and the first station's version keeps what it was trained on.
What does the station lead actually receive?
An alert written as a sentence, with severity and a cooldown, approved before it goes live: any holed, wet or open carton at this station, sent to Slack, email or a webhook with the frame and the station number attached. The cooldown means one knocked camera does not page the lead dozens of times for the same cause.
// 07 · Also in manufacturing