Visual Anomaly Detection in Production Line : Metal Sleeve Dataset under Real Conditions

dc.contributor.authorAshraf, Shama
dc.contributor.facultyfi=Tekniikan ja innovaatiojohtamisen yksikkö|en=School of Technology and Innovations|
dc.contributor.organizationfi=Vaasan yliopisto|en=University of Vaasa|
dc.date.accessioned2026-06-18T07:46:15Z
dc.date.issued2026-06-12
dc.description.abstractModern manufacturing increasingly relies on automated visual inspection to detect surface defects, yet real industrial environments remain difficult for anomaly detection systems. Production imagery rarely behaves like benchmark data: surfaces are reflective, lighting is uneven, defects can be subtle, and samples vary naturally from one another. This thesis examines deep learning approaches to visual anomaly detection in industrial surface inspection, with a particular focus on a refined SimpleNet pipe-line evaluated on a custom dataset of reflective steel sleeves. The study addresses a key limitation in current industrial anomaly detection research: many published results are obtained on controlled benchmark datasets such as MVTec AD, which do not fully represent the challenges of real production data. To examine this gap, the sleeve dataset was constructed in an MVTec-style format, with manually produced pixel-level masks for anomalous samples. Refined SimpleNet was trained on only defect-free images and evaluated alongside INP-Former, a transformer-based baseline. The work also includes hyperparameter tuning, augmentation experiments, qualitative error analysis, and a data leakage test. The results show that SimpleNet performs well on the MVTec AD categories, indicating that its architecture is dependable. However, the sleeve dataset performs worse, suggesting the challenge lies more in the data than in the model's architecture. INP-Former provides stronger defect localisation but weaker image-level classification. The augmentation study shows that strong geometric transformations improve image-level discrimination, while offline augmentation is more useful for localisation. The data leakage experiment further demonstrates how easily performance can be inflated on small custom datasets if the train-test split is not carefully controlled. Overall, the thesis shows that unsupervised anomaly detection can be useful for custom industrial inspection tasks, but only when dataset design, image capture conditions and evaluation discipline are treated as central parts of the method. The study concludes with practical recommendations for building new MVTec-style datasets for reflective metallic parts and highlights the need for larger, more realistic industrial datasets.
dc.description.notificationfi=Opinnäytetyö kokotekstinä PDF-muodossa.|en=Thesis fulltext in PDF format.|sv=Lärdomsprov tillgängligt som fulltext i PDF-format|
dc.format.contentfi=kokoteksti|en=fulltext|
dc.format.extent66
dc.identifier.urihttps://osuva.uwasa.fi/handle/11111/20962
dc.identifier.urnURN:NBN:fi-fe2026061268426
dc.language.isoeng
dc.rightsCC BY-NC 4.0
dc.subject.degreeprogrammeMaster’s Programme in Smart Energy
dc.subject.disciplineAutomation and Robotics
dc.subject.specializationResearch oriented
dc.subject.ysomachine learning
dc.subject.ysodeep learning
dc.subject.ysoneural networks (information technology)
dc.subject.ysoindustrial automation
dc.subject.ysodefects
dc.subject.ysodeviance
dc.subject.ysoautomation
dc.subject.ysorefining
dc.subject.ysoartificial intelligence
dc.subject.ysomeasurement
dc.titleVisual Anomaly Detection in Production Line : Metal Sleeve Dataset under Real Conditions
dc.type.ontasotfi=Diplomityö|en=Master's thesis (M.Sc. (Tech.))|sv=Diplomarbete|

Tiedostot

Näytetään 1 - 1 / 1
Ladataan...
Name:
Uwasa_2026_Ashraf_Shama.pdf.pdf
Size:
1.54 MB
Format:
Adobe Portable Document Format