International
Journal of Innovative Information Systems
&
Technology Research 19(4):76-83, Oct-Dec, 2026
© SEAHI PUBLICATIONS, 2026 www.seahipublications.org
ISSN: 2467-8562
DOI:10.5281/zenodo.23357546
Supervised U-Net Segmentation for Industrial Surface
Anomaly Localisation in Cleanliness Assessment
1E. G. Wonodi *2C. G. Igiri *3V.
I. E. Anireh
1,2&3Department of Computer Science, Rivers State University, Port-Harcourt,
Nigeria
Email: 1grace.wonodi@rsu.edu.ng,
2igiri.chima@ust.edu.ng, 3anireh.ike@ust.edu.ng
ABSTRACT
Industrial cleanliness inspection often depends on visual assessment,
whose consistency varies with illumination, surface reflectivity, residue
visibility, and operator judgement. A supervised U-Net localises anomalous
regions in industrial surface images for cleanliness assessment. The
ImageNet-pretrained ResNet-34 encoder processes
RGB images and produces a pixel-wise anomaly
probability map. Normal images receive zero masks, while anomalous images
retain binary ground-truth masks. Image preprocessing converts BGR images to
RGB, resizes inputs with area interpolation, scales values to
, and resizes masks by
nearest-neighbour interpolation before binarisation. The 5,354 MVTec AD images
are assigned to deterministic 70:15:15 training, validation, and held-out test
partitions. The model is trained for 25 epochs with binary cross-entropy with
logits and Adam optimisation. A sigmoid activation and a fixed 0.50 threshold
produce binary masks. The test evaluator aggregates true-positive,
false-positive, true-negative, and false-negative pixel counts after
thresholding. On 803 held-out test images, the model achieved 89.86% precision,
68.70% recall, 77.87% Dice/F1, 63.76% intersection-over-union, and 99.57% pixel
accuracy. The MPS implementation recorded mean inference time of 19.79 ms per
image.
Keywords: industrial cleanliness assessment, anomaly localisation, semantic
segmentation, convolutional neural network, MVTec AD