Skip to content
Learning

Synthetic steel surface defect classification

Classify six synthetic surface patterns

Train an image classifier on 600 steel-like images generated by Artelnics. The six pattern labels are crazing, inclusion, patches, pitted surface, rolled-in scale and scratches.

600Source records
40,000Encoded input values
120Testing-role records
6Model outputs

1. Industrial challenge

Manufacturing teams can use a reproducible image workflow to study class confusion and preprocessing. This example demonstrates image classification using generated textures; it does not measure defect detection on inspected steel.

Six pattern classes

Inspect errors between synthetic categories.

Repeatable generation

Retain the seed-based source generator.

Transfer evaluation

Use real acquisition data for industrial validation.

Quality engineeringComputer visionManufacturing
Synthetic image-classification demonstration, not validated industrial inspection.

2. Data set

The dataset contains 100 generated 200 × 200 grayscale images per class. The generation script and CC BY 4.0 notice are included in the project package. These are synthetic patterns, not the former NEU surface-defect photographs.

Source: Artelnics Synthetic Steel Surface Defects. Dataset license: CC-BY-4.0. The downloadable ZIP includes the adapted data and attribution notices.

Dataset measureSaved value
Analysis unitgenerated image
Records600
Raw variables2
Encoded model inputs40,000
Model outputs6
Training roles360
Validation / selection roles120
Testing roles120
Unused roles0
FieldRoleTypeCategories
imageInputNumeric
ClassTargetCategoricalcrazing, inclusion, patches, pitted_surface, rolled-in_scale, scratches
Target class distribution pie chart
Target class distribution pie chart. Native Neural Designer report for this project.
The saved project assigns rows to training, validation and testing as shown above. This is internal record-level evaluation; it does not demonstrate separation by subject, device, site or acquisition batch.

3. Model

The model has 40000 encoded inputs and 6 outputs. No architecture-selection experiment is recorded in this project. The diagram shows the topology used by the saved model.

LayerInput shapeOutput shapeActivation
Scaling200 × 200 × 1200 × 200 × 1
Convolutional200 × 200 × 1200 × 200 × 8ReLU
Pooling200 × 200 × 8100 × 100 × 8
Flatten100 × 100 × 880000
Dense80000128ReLU
Dense1286Softmax

Output values are uncalibrated model scores. Use the output encodings and decision rule documented with this project; do not assume independent sigmoid scores sum to one.

Synthetic steel surface defect classification — initial network architecture
Topology of the saved current model; no architecture selection is recorded.

4. Training strategy

The saved training configuration uses Adam with CrossEntropy.

Adaptive moment estimation results

MeasureValue
Epochs number200
Elapsed time00:00:06
Stopping criterionMaximum epochs number
Training error0.035
Validation error0.657
Adaptive moment estimation error history
Adaptive moment estimation error history. Native Neural Designer report for this project.

5. Model selection

No model selection experiment is recorded for this version. The validation subset guides fitting where a training report is present; it is distinct from the held-out test rows.

6. Testing analysis

The figures and tables below refer to the current project’s saved testing analysis. The subset uses testing role 2; it contains 120 source records.

The multiclass decision uses the largest output score. The confusion matrix gives class prevalence and per-class errors; binary sensitivity, specificity, precision and a single ROC AUC are not interchangeable with this multiclass accuracy.

Confusion table

MeasurePredicted crazingPredicted inclusionPredicted patchesPredicted pitted_surfacePredicted rolled-in_scalePredicted scratchesTotal
Actual crazing21 (17.5%)1 (0.8%)02 (1.7%)0024 (20.0%)
Actual inclusion010 (8.3%)12 (10.0%)00022 (18.3%)
Actual patches0016 (13.3%)00016 (13.3%)
Actual pitted_surface07 (5.8%)010 (8.3%)0017 (14.2%)
Actual rolled-in_scale000022 (18.3%)022 (18.3%)
Actual scratches0000019 (15.8%)19 (15.8%)
Total21 (17.5%)18 (15.0%)28 (23.3%)12 (10.0%)22 (18.3%)19 (15.8%)120 (100.0%)
Test measureValue
Testing records120
Accuracy81.67%
Largest-class baseline20.00%

7. Model deployment

Open the downloaded project in Neural Designer, inspect the dataset roles and preprocessing, then review the saved task report. Use the same input schema and category order when calculating outputs. The ZIP contains the exact current .nd, its source data and the applicable dataset notices.

Workflow: source measurements → schema and availability checks → model output → domain review. Keep model versions, validation evidence and incoming-data monitoring together.

8. Scope and limitations

A random split of images from the same generator measures within-generator performance. Validate with independently labelled real surfaces, different acquisition conditions and lot-separated testing before production inspection. Similar appearance does not establish the physical cause of a defect.

References

  • Artelnics Synthetic Steel Surface Defects. Artelnics. Not assigned
  • Dataset terms: Creative Commons Attribution 4.0 International. Full attribution and transformations are included in LICENSES/DATASET-LICENSE.txt.
  • Current Neural Designer project and saved task report, snapshot 6 October 2026.