Automatic Fabric Defect Detection Based on an Improved YOLOv5

Fabric defect detection is particularly remarkable because of the large textile production demand in China. Traditional manual detection method is inefficient, time-consuming, laborious, and costly. A deep learning technique is proposed in this work to perform automatic fabric defect detection by im...

Full description

Bibliographic Details
Main Authors: Rui Jin, Qiang Niu
Format: Article
Language:English
Published: Hindawi Limited 2021-01-01
Series:Mathematical Problems in Engineering
Online Access:http://dx.doi.org/10.1155/2021/7321394
id doaj-a6074bc80157488ab0512f5a54976620
record_format Article
spelling doaj-a6074bc80157488ab0512f5a549766202021-10-11T00:39:20ZengHindawi LimitedMathematical Problems in Engineering1563-51472021-01-01202110.1155/2021/7321394Automatic Fabric Defect Detection Based on an Improved YOLOv5Rui Jin0Qiang Niu1School of Computer Science and TechnologySchool of Computer Science and TechnologyFabric defect detection is particularly remarkable because of the large textile production demand in China. Traditional manual detection method is inefficient, time-consuming, laborious, and costly. A deep learning technique is proposed in this work to perform automatic fabric defect detection by improving a YOLOv5 object detection algorithm. A teacher-student architecture is used to handle the shortage of fabric defect images. Specifically, a deep teacher network could precisely recognize fabric defects. After information distillation, a shallow student network could do the same thing in real-time with minimal performance degeneration. Moreover, multitask learning is introduced by simultaneously detecting ubiquitous and specific defects. Focal loss function and central constraints are introduced to improve the recognition performance. Evaluations are performed on the publicly available Tianchi AI and TILDA databases. Results indicate that the proposed method performs well compared with other methods and has excellent defect detection ability in the collected textile images.http://dx.doi.org/10.1155/2021/7321394
collection DOAJ
language English
format Article
sources DOAJ
author Rui Jin
Qiang Niu
spellingShingle Rui Jin
Qiang Niu
Automatic Fabric Defect Detection Based on an Improved YOLOv5
Mathematical Problems in Engineering
author_facet Rui Jin
Qiang Niu
author_sort Rui Jin
title Automatic Fabric Defect Detection Based on an Improved YOLOv5
title_short Automatic Fabric Defect Detection Based on an Improved YOLOv5
title_full Automatic Fabric Defect Detection Based on an Improved YOLOv5
title_fullStr Automatic Fabric Defect Detection Based on an Improved YOLOv5
title_full_unstemmed Automatic Fabric Defect Detection Based on an Improved YOLOv5
title_sort automatic fabric defect detection based on an improved yolov5
publisher Hindawi Limited
series Mathematical Problems in Engineering
issn 1563-5147
publishDate 2021-01-01
description Fabric defect detection is particularly remarkable because of the large textile production demand in China. Traditional manual detection method is inefficient, time-consuming, laborious, and costly. A deep learning technique is proposed in this work to perform automatic fabric defect detection by improving a YOLOv5 object detection algorithm. A teacher-student architecture is used to handle the shortage of fabric defect images. Specifically, a deep teacher network could precisely recognize fabric defects. After information distillation, a shallow student network could do the same thing in real-time with minimal performance degeneration. Moreover, multitask learning is introduced by simultaneously detecting ubiquitous and specific defects. Focal loss function and central constraints are introduced to improve the recognition performance. Evaluations are performed on the publicly available Tianchi AI and TILDA databases. Results indicate that the proposed method performs well compared with other methods and has excellent defect detection ability in the collected textile images.
url http://dx.doi.org/10.1155/2021/7321394
work_keys_str_mv AT ruijin automaticfabricdefectdetectionbasedonanimprovedyolov5
AT qiangniu automaticfabricdefectdetectionbasedonanimprovedyolov5
_version_ 1716829215328829440