My steel defect model scored 93.9%. The useful part was deciding what a human should check.
In Visual QC I classify six steel surface defects on the NEU-CLS benchmark (1,800 images). A Random Forest on HOG and Gabor features reached 93.9% accuracy on a 360-image holdout. Good, but in a plant the real question is which predictions a person should look at.
What I found useful:
- Errors were concentrated. 22 mistakes out of 360, and two classes (scratches and pitted surface) caused 64% of them.
- Ranking predictions by uncertainty works well as a review queue. Reviewing the 20% least confident samples catches 18 of the 22 errors, about 4 times better than random checks.
- Clean accuracy hides fragility. With lower contrast, the same model drops from 93.9% to 77.5%.
A fine-tuned ResNet-18 scored 100% on both a random and a blocked split, which I read as a saturated benchmark, not production readiness. Small blur or sensor noise was enough to pull it well down.
The project also has a RAG assistant over a steel quality knowledge base, and an operator dashboard on a simulated line, not a real camera.
For those who've shipped vision QC: how did you choose the review budget, by error cost or by how many items operators can actually check per shift?
Live demo: visual-qc-project-pearl.vercel.app
Code: github.com/senanurcetin/visual-qc-project






Comments
0 comments