English summary. The full project note is published in Chinese.
| Client | Manufacturer with an appearance inspection station |
|---|---|
| Cycle | 10 weeks |
| Scope | Image capture, recognition service, human review desk, sample feedback |
| Deliverables | Defect and labelling standard, acceptance sample set, recognition service, review records, go-live checklist |
| Acceptance | Per-category results on the agreed sample set; every low-confidence result has a review route |
The problem is the standard, not the model
On an appearance inspection station, the day shift and the night shift may judge the same scratch differently, and the same defect may be acceptable in one position and not another. Before discussing accuracy, we write down the defect categories, the acceptable range, the camera angle and the lighting conditions. Without that list, labelled data is only a collection of individual opinions.
Samples must cover real shifts
Samples come from the actual line and cover different shifts, devices and lighting, with enough cases in every defect category. Training, validation and acceptance sets are kept separate, and the acceptance set is not used for tuning during development, so the final result reflects the model rather than its exposure to the test images.
Thresholds and human review
The model returns a confidence score; anything below the threshold goes to a review desk showing the original image, the detection box and the previous decision. Reviewers confirm or correct without altering the source record. Each entry keeps the model version, threshold and reviewer, so a disputed result can be reconstructed.
After launch
Mistakes are grouped by type every week and the review results feed back as new samples. A new model version is regression-tested on the acceptance set before release. If accuracy misses the agreed target, the scope is adjusted or the module is discontinued under the contract rather than postponed indefinitely.