DCGAN-based synthetic image generation of denim jeans defects

Background Automated defect detection in denim jeans manufacturing is crucial for maintaining quality control efficiency. However, for automated defect detection of denim jeans, machine learning algorithms suffer due to limited data availability because manufacturing industry remains reluctant to share data due to privacy concerns. Moreover, remote manufacturing units make it more difficult to gather necessary defected images. Furthermore, trained personnel are required to capture standard images for training effective models. Traditional image augmentation approaches extend the datasets from seed images; however, there is a lack in image diversification and they do not expand data distribution and thus may lead to overfitting. Deep learning models, especially generative adversarial networks, have the potential to provide effective solutions for industrial problems, such as synthetic image generation for denim jeans defect detection. Methods This article proposes the use of a deep convolutional generative adversarial network (DCGAN) for generating diversified and realistic synthetic images of common denim jeans defects, including broken loops, broken stitches, skipped stitches and twisted legs. The DCGAN model was trained on an initial dataset of 3,930 defective images and subsequently augmented using techniques such as flipping, random zooming, and color space augmentation. Results The generated synthetic images were subjectively validated by domain experts, achieving an average accuracy of 81.5% Objective evaluation using the Fréchet inception distance metric also demonstrated the effectiveness of the proposed approach, with scores of 12.26, 6.75, 7.68 and 27.59 for broken loop, broken stitch, skipped stitch and twisted leg defects, respectively. This work not only contributes to addressing the challenge of data scarcity in defect detection but also paves the way for more accurate automated defect detection systems in denim jeans manufacturing.

Authors

Institutions

Publication Details

Journal
PeerJ Computer Science
Published
2025-09-29
DOI
https://doi.org/10.7717/peerj-cs.3167
Primary Topic
Industrial Vision Systems and Defect Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

DCGAN-based synthetic image generation of denim jeans defects

Muhammad Salman Naeem, Mutlaq B. Aldajani, Qaisar Abbas, Hussain Dawood et al.
PeerJ Computer Science
Industrial Vision Systems and Defect Detection
article

DCGAN-based synthetic image generation of denim jeans defects

Muhammad Salman Naeem, Mutlaq B. Aldajani, Qaisar Abbas, Hussain Dawood, Muhammad Awais Hussain, Haseeb Ahmad
article en

Abstract

Background Automated defect detection in denim jeans manufacturing is crucial for maintaining quality control efficiency. However, for automated defect detection of denim jeans, machine learning algorithms suffer due to limited data availability because manufacturing industry remains reluctant to share data due to privacy concerns. Moreover, remote manufacturing units make it more difficult to gather necessary defected images. Furthermore, trained personnel are required to capture standard images for training effective models. Traditional image augmentation approaches extend the datasets from seed images; however, there is a lack in image diversification and they do not expand data distribution and thus may lead to overfitting. Deep learning models, especially generative adversarial networks, have the potential to provide effective solutions for industrial problems, such as synthetic image generation for denim jeans defect detection. Methods This article proposes the use of a deep convolutional generative adversarial network (DCGAN) for generating diversified and realistic synthetic images of common denim jeans defects, including broken loops, broken stitches, skipped stitches and twisted legs. The DCGAN model was trained on an initial dataset of 3,930 defective images and subsequently augmented using techniques such as flipping, random zooming, and color space augmentation. Results The generated synthetic images were subjectively validated by domain experts, achieving an average accuracy of 81.5% Objective evaluation using the Fréchet inception distance metric also demonstrated the effectiveness of the proposed approach, with scores of 12.26, 6.75, 7.68 and 27.59 for broken loop, broken stitch, skipped stitch and twisted leg defects, respectively. This work not only contributes to addressing the challenge of data scarcity in defect detection but also paves the way for more accurate automated defect detection systems in denim jeans manufacturing.

PeerJ Computer ScienceVol. 11
Wenzhou University (CN), Ajman University (AE), Imam Mohammad ibn Saud Islamic University (SA), City University Ajman (AE), Wenzhou Institute of Industrial Science (CN), National Textile University (PK)
Openalex Percentile: Top 62%
Industrial Vision Systems and Defect Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.