# How many steel strip defects can 98% accuracy miss?

A camera finds 15 of 20 defective sections yet scores 98% accuracy. A steel strip inspection shows what precision and recall mean for a shift’s review queue.

Watt2Work · 2026-11-30 · 3 min read
Canonical: https://watt2work.com/blog/steel-strip-inspection-precision-recall/
Language: en
Topics · [Artificial intelligence](https://watt2work.com/blog/topic/ai/), [Data & measurement](https://watt2work.com/blog/topic/measurement/)

At a rolling mill, the quality lead opens the trial report for a new camera. The first line reads “98% accuracy”. The shift team’s job is to review the strip images the camera flags. The lead could write a rule that earns the same score without finding a single defect. Which record would show the difference?

> In this example the camera sends 30 images for review. Fifteen contain a defect. An independent check of the sections that drew no alert finds another five defective sections.

The 1,000 strip sections and the results for both methods were created for this example. Each section counts once, even if it contains several marks.

![Of 20 defective sections, the no-alert rule flags 0 and the camera flags 15. The camera misses 5. Both methods score 98% overall accuracy.](https://watt2work.com/editorial/steel-surface-review/inspection-en.png)

Each square is one section found defective in the independent review. Filled squares are the sections flagged for inspection.

## One score, two very different shifts

Imagine dividing the strip passing the camera into equal lengths that do not overlap. The quality team reviews every image without seeing the model’s decision. It finds the agreed surface defect in 20 sections. That independent record lets the team count the misses as well as the hits.

Independent review found 20 defective and 980 sound sections. Both methods are scored on those same 1,000 sections.

| Outcome | No-alert rule | Camera model |
| --- | --- | --- |
| Defective and flagged | 0 | 15 |
| Sound but flagged | 0 | 15 |
| Defective and missed | 20 | 5 |
| Sound and unflagged | 980 | 965 |

The first rule calls every section sound. It is right on the 980 sound sections, giving it 98% accuracy. The camera correctly identifies 15 defective sections and 965 sound ones. That makes 980 correct decisions again. With the first rule, all 20 defective sections could pass the shift team unnoticed. With the camera, 30 images arrive at the review desk.

## Which questions do precision and recall answer?

Precision asks how many alerts point to a real defect. For the camera, 15 / 30 = 50%. The team working through those 30 alerts will also spend time on 15 sound sections. For the rule that never issues an alert, the denominator is zero, so its precision is undefined. [Google for Developers · Classification: Accuracy, recall, precision, and related metrics](https://developers.google.com/machine-learning/crash-course/classification/accuracy-precision-recall).

Recall asks how many of the genuinely defective sections were found. For the camera, 15 / 20 = 75%. For the no-alert rule, 0 / 20 = 0%. Someone who reviews only the camera alerts has no way to count those five misses. That takes evidence from outside the alert queue.

## What can produce a false alert?

On galvannealed sheet, Kazama and colleagues found that a trace of oil can reflect light much like certain low-contrast defects. A sound section sent for review under those conditions can help an engineer assess the camera setup. The study examined a particular surface. The cause of the 15 false alerts in our example is unspecified. [Kazama et al. · Microstructure and Reflective Characteristics of Slight Oil Portions on Steel Strip Surface](https://www.jstage.jst.go.jp/article/jjsem/19/4/19_327/_article/-char/en).

Song and Yan collected 300 hot-rolled strip images for each of six defect types. That selection helps a reader study how scratches and other defects look. Estimating how often they occur in production also requires a count of the sound sections passing through the mill. [Kechen Song and Yunhui Yan · NEU surface defect database](https://faculty.neu.edu.cn/songkechen/zh_CN/zdylm/263270/list/index.htm).

## Which record should the next shift keep?

Before a trial, the quality lead records what qualifies as a defect, the length of one section and the score that triggers an alert. The team sets aside coils that were never used for training. It labels both flagged and unflagged sections independently and fills in the same table. Recording the coating and lighting for each coil gives the team a way to revisit the right images if results change.

Two questions belong side by side at shift handover. How many images arrived for review in an hour? Which of the missed defects might matter for the intended use of the product? Those records let the team judge whether the alert threshold fits its review capacity and its quality requirements.

- [Download the worked example (JSON)](https://watt2work.com/editorial/steel-surface-review/example.json)

## Sources

The metric definitions come from Google’s classification guide. Two research sources describe what surface marks can look like to a camera and how research images were selected.

1. [Google for Developers · Classification: Accuracy, recall, precision, and related metrics](https://developers.google.com/machine-learning/crash-course/classification/accuracy-precision-recall)
2. [Kazama et al. · Microstructure and Reflective Characteristics of Slight Oil Portions on Steel Strip Surface](https://www.jstage.jst.go.jp/article/jjsem/19/4/19_327/_article/-char/en)
3. [Kechen Song and Yunhui Yan · NEU surface defect database](https://faculty.neu.edu.cn/songkechen/zh_CN/zdylm/263270/list/index.htm)

## Related articles

- [Why do we copy the same test record three times for one complaint?](https://watt2work.com/blog/reusing-test-evidence-in-an-8d-complaint/)
- [How will we know an AI solution is useful?](https://watt2work.com/blog/measuring-ai-value/)
- [What is emergence in AI? Scoring one maintenance answer twice](https://watt2work.com/blog/emergence-in-a-maintenance-assistant/)
