{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,5,1]],"date-time":"2026-05-01T22:01:01Z","timestamp":1777672861392,"version":"3.51.4"},"reference-count":40,"publisher":"MDPI AG","issue":"9","license":[{"start":{"date-parts":[[2023,4,30]],"date-time":"2023-04-30T00:00:00Z","timestamp":1682812800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"National Natural Science Foundation of China","award":["61905223"],"award-info":[{"award-number":["61905223"]}]},{"name":"National Natural Science Foundation of China","award":["11904327"],"award-info":[{"award-number":["11904327"]}]},{"name":"National Natural Science Foundation of China","award":["222102210085"],"award-info":[{"award-number":["222102210085"]}]},{"name":"National Natural Science Foundation of China","award":["222102210319"],"award-info":[{"award-number":["222102210319"]}]},{"name":"Henan Science &amp; Technology Development Plan Project","award":["61905223"],"award-info":[{"award-number":["61905223"]}]},{"name":"Henan Science &amp; Technology Development Plan Project","award":["11904327"],"award-info":[{"award-number":["11904327"]}]},{"name":"Henan Science &amp; Technology Development Plan Project","award":["222102210085"],"award-info":[{"award-number":["222102210085"]}]},{"name":"Henan Science &amp; Technology Development Plan Project","award":["222102210319"],"award-info":[{"award-number":["222102210319"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>It is important to detect and classify foreign fibers in cotton, especially white and transparent foreign fibers, to produce subsequent yarn and textile quality. There are some problems in the actual cotton foreign fiber removing process, such as some foreign fibers missing inspection, low recognition accuracy of small foreign fibers, and low detection speed. A polarization imaging device of cotton foreign fiber was constructed based on the difference in optical properties and polarization characteristics between cotton fibers. An object detection and classification algorithm based on an improved YOLOv5 was proposed to achieve small foreign fiber recognition and classification. The methods were as follows: (1) The lightweight network Shufflenetv2 with the Hard-Swish activation function was used as the backbone feature extraction network to improve the detection speed and reduce the model volume. (2) The PANet network connection of YOLOv5 was modified to obtain a fine-grained feature map to improve the detection accuracy for small targets. (3) A CA attention module was added to the YOLOv5 network to increase the weight of the useful features while suppressing the weight of invalid features to improve the detection accuracy of foreign fiber targets. Moreover, we conducted ablation experiments on the improved strategy. The model volume, mAP@0.5, mAP@0.5:0.95, and FPS of the improved YOLOv5 were up to 0.75 MB, 96.9%, 59.9%, and 385 f\/s, respectively, compared to YOLOv5, and the improved YOLOv5 increased by 1.03%, 7.13%, and 126.47%, respectively, which proves that the method can be applied to the vision system of an actual production line for cotton foreign fiber detection.<\/jats:p>","DOI":"10.3390\/s23094415","type":"journal-article","created":{"date-parts":[[2023,5,1]],"date-time":"2023-05-01T12:12:11Z","timestamp":1682943131000},"page":"4415","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":26,"title":["Detection and Classification of Cotton Foreign Fibers Based on Polarization Imaging and Improved YOLOv5"],"prefix":"10.3390","volume":"23","author":[{"given":"Rui","family":"Wang","sequence":"first","affiliation":[{"name":"School of Physics and Electronic Engineering, Zhengzhou University of Light Industry, Zhengzhou 450002, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Zhi-Feng","family":"Zhang","sequence":"additional","affiliation":[{"name":"School of Physics and Electronic Engineering, Zhengzhou University of Light Industry, Zhengzhou 450002, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Ben","family":"Yang","sequence":"additional","affiliation":[{"name":"School of Physics and Electronic Engineering, Zhengzhou University of Light Industry, Zhengzhou 450002, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Hai-Qi","family":"Xi","sequence":"additional","affiliation":[{"name":"School of Physics and Electronic Engineering, Zhengzhou University of Light Industry, Zhengzhou 450002, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Yu-Sheng","family":"Zhai","sequence":"additional","affiliation":[{"name":"School of Physics and Electronic Engineering, Zhengzhou University of Light Industry, Zhengzhou 450002, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Rui-Liang","family":"Zhang","sequence":"additional","affiliation":[{"name":"School of Physics and Electronic Engineering, Zhengzhou University of Light Industry, Zhengzhou 450002, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Li-Jie","family":"Geng","sequence":"additional","affiliation":[{"name":"School of Physics and Electronic Engineering, Zhengzhou University of Light Industry, Zhengzhou 450002, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Zhi-Yong","family":"Chen","sequence":"additional","affiliation":[{"name":"Fiber Inspection Bureau in Henan Province, Zhengzhou 450002, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Kun","family":"Yang","sequence":"additional","affiliation":[{"name":"School of Physics and Electronic Engineering, Zhengzhou University of Light Industry, Zhengzhou 450002, China"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"1968","published-online":{"date-parts":[[2023,4,30]]},"reference":[{"key":"ref_1","first-page":"185","article-title":"Research on the testing technology of cotton foreign fiber content","volume":"39","author":"Chen","year":"2018","journal-title":"Mod. Bus. Trade Ind."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"59","DOI":"10.1016\/j.compag.2014.09.004","article-title":"Applications of computer vision techniques to cotton foreign matter inspection: A review","volume":"109","author":"Zhang","year":"2014","journal-title":"Comput. Electron. Agric."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"68","DOI":"10.1016\/j.compag.2009.04.005","article-title":"A new approach for image processing in foreign fiber detection","volume":"68","author":"Yang","year":"2009","journal-title":"Comput. Electron. Agric."},{"key":"ref_4","unstructured":"Yue, X. (2020). Research on Multi-Parameter Optimization of Heterogeneous Fiber Sorting Machine Detection Rate Based on Neural Network. [Master\u2019s Thesis, Tianjin Polytechnic University]."},{"key":"ref_5","first-page":"24","article-title":"Remark upon foreign matter online detecting and clearing","volume":"35","author":"Shi","year":"2007","journal-title":"Shanghai Text. Sci. Technol."},{"key":"ref_6","unstructured":"Chang, L. (2006). The Detecting System of Foreign Fibers in Cotton Based on DSP. [Master\u2019s Thesis, Hefei University of Technology]."},{"key":"ref_7","first-page":"6","article-title":"Separation test of electrostatic separating device for machine-harvested seed cotton and plastic film residue","volume":"27","author":"Guo","year":"2011","journal-title":"Trans. Chin. Soc. Agric. Eng."},{"key":"ref_8","first-page":"1600007","article-title":"Review of Cotton Foreign Fiber Detection Method Using Optical Imaging","volume":"58","author":"Chen","year":"2021","journal-title":"Laser Optoelectron. Prog."},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"77","DOI":"10.1109\/TIA.2003.821647","article-title":"Recognition of cotton contaminants via X-ray microtomographic image analysis","volume":"40","author":"Pai","year":"2004","journal-title":"IEEE Trans. Ind. Appl."},{"key":"ref_10","first-page":"63","article-title":"Fluorescent Effect of Ultra Violet and It\u2019s Application in Detection of Foreign Fibers in Cotton","volume":"2007","author":"Luo","year":"2007","journal-title":"J. Henan Univ. Sci. Technol. Nat. Sci."},{"key":"ref_11","first-page":"6","article-title":"Cotton foreign fiber detection based on near-infrared imaging technology","volume":"49","author":"Cai","year":"2021","journal-title":"Cotton Text. Technol."},{"key":"ref_12","first-page":"181","article-title":"White foreign fibers detection in cotton using line laser","volume":"43","author":"Hua","year":"2012","journal-title":"Trans. Chin. Soc. Agric. Mach."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"1574","DOI":"10.1177\/0040517515590416","article-title":"Cotton contamination detection and classification using hyperspectral fluorescence imaging","volume":"86","author":"Mustafic","year":"2016","journal-title":"Text. Res. J."},{"key":"ref_14","first-page":"43","article-title":"Design and test of foreign fiber removal machine based on embedded system","volume":"48","author":"Zhang","year":"2017","journal-title":"Trans. Chin. Soc. Agric. Mach."},{"key":"ref_15","unstructured":"Kennedy, J., and Eberhart, R. (December, January 27). Particle swarm optimization. Proceedings of the ICNN\u201995-International Conference on Neural Networks, Perth, WA, Australia."},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Goodman, E.D. (2012, January 7\u201311). Introduction to genetic algorithms. Proceedings of the Fourteenth International Conference on Genetic and Evolutionary Computation Conference Companion-GECCO Companion\u201912, Philadelphia, PA, USA.","DOI":"10.1145\/2330784.2330911"},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"29","DOI":"10.1109\/3477.484436","article-title":"Ant system:optimization by a colony of cooperating agents","volume":"26","author":"Dorigo","year":"1996","journal-title":"IEEE Trans. Syst. Man Cybern. Part B"},{"key":"ref_18","first-page":"62","article-title":"A threshold selection method from gray-level histograms","volume":"9","author":"Otsu","year":"1979","journal-title":"IEEE Trans. SMC"},{"key":"ref_19","first-page":"60","article-title":"Research on the multi-channel wavelet segmentation method of faint cotton foreign fibers","volume":"37","author":"Liu","year":"2016","journal-title":"Chin. J. Sci. Instrum."},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"013001","DOI":"10.3788\/LOP57.013001","article-title":"Rapid nondestructive identification of wood lacquer using Raman spectroscopy based on characteristic-band-Fisher-K nearest neighbor","volume":"57","author":"He","year":"2020","journal-title":"Laser Optoelectron. Prog."},{"key":"ref_21","first-page":"227","article-title":"Algorithms for Clustering Data","volume":"32","author":"Jain","year":"1988","journal-title":"Technometrics"},{"key":"ref_22","unstructured":"Vapnik, V. (1998). Statistical Learning Theory. DBLP."},{"key":"ref_23","first-page":"49","article-title":"An artificial intelligence method for detecting foreign fiber in seed cotton","volume":"46","author":"He","year":"2018","journal-title":"Cotton Text. Technol."},{"key":"ref_24","first-page":"131","article-title":"Detection method of foreign fibers in seed cotton based on deep-learning","volume":"39","author":"He","year":"2018","journal-title":"J. Text. Res."},{"key":"ref_25","unstructured":"Zhang, D. (2019). Research on Seed Cotton Foreign Fiber Sorting Recognition Algorithm Based on Deep Learning. [Master\u2019s Thesis, Nanjing Forestry University]."},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"121007","DOI":"10.3788\/LOP57.121007","article-title":"Application of improved Faster RCNN model for foreign fiber identification in cotton","volume":"57","author":"Du","year":"2020","journal-title":"Laser Optoelectron. Prog."},{"key":"ref_27","unstructured":"Dong, C.Q. (2020). Research on foreign fiber classification method based on improved Faster R-CNN model. [Master\u2019s Thesis, Tianjin Polytechnic University]."},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"1195","DOI":"10.37188\/YJYXS20203511.1195","article-title":"Detection of foreign fiber in cotton based on improved YOLOv3","volume":"35","author":"Wu","year":"2020","journal-title":"Chin. J. Liq. Cryst. Disp."},{"key":"ref_29","first-page":"1729881419867600","article-title":"Classification of foreign fibers using deep learning and its implementation on embedded system","volume":"7","author":"Wei","year":"2019","journal-title":"Int. J. Adv. Robot. Syst."},{"key":"ref_30","first-page":"19","article-title":"Recognition of Foreign Fiber in Cotton Based on DSConv and CBAM","volume":"50","author":"Wu","year":"2022","journal-title":"Cotton Text. Technol."},{"key":"ref_31","first-page":"37","article-title":"Improved Faster RCNN Target Detection Method for Foreign Fiber in Cotton","volume":"5","author":"Zhang","year":"2022","journal-title":"Cotton Text. Technol."},{"key":"ref_32","doi-asserted-by":"crossref","unstructured":"Zhang, C., Li, T., and Li, J. (2022). Detection of Impurity Rate of Machine-Picked Cotton Based on Improved Canny Operator. Electronics, 11.","DOI":"10.3390\/electronics11070974"},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"e12746","DOI":"10.1111\/exsy.12746","article-title":"Cassava disease recognition from low-quality images using enhanced data augmentation model and deep learning","volume":"38","author":"Misra","year":"2021","journal-title":"Expert Syst."},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"112140","DOI":"10.1016\/j.commatsci.2023.112140","article-title":"Improving machine learning based phase and hardness prediction of high-entropy alloys by using Gaussian noise augmented data","volume":"223","author":"Ye","year":"2023","journal-title":"Comput. Mater. Sci."},{"key":"ref_35","doi-asserted-by":"crossref","unstructured":"Zheng, Z.H., Wang, P., Liu, W., Li, J.Z., Ye, R.G., and Ren, D.W. (2020, January 7\u201312). Distance-IoU loss: Faster and better learning for bounding box regression. Proceedings of the AAAI Conference on Artificial Intelligence, New York, NY, USA.","DOI":"10.1609\/aaai.v34i07.6999"},{"key":"ref_36","doi-asserted-by":"crossref","unstructured":"Zhao, W., Wu, D., and Zheng, X. (2023). Detection of Chrysanthemums Inflorescence Based on Improved CR-YOLOv5s Algorithm. Sensors, 23.","DOI":"10.3390\/s23094234"},{"key":"ref_37","doi-asserted-by":"crossref","unstructured":"Ma, N., Zhang, X., Zheng, H.T., and Sun, J. (2018, January 8\u201314). Shufflenet v2: Practical Guidelines for Efficient CNN Architecture Design. Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany.","DOI":"10.1007\/978-3-030-01264-9_8"},{"key":"ref_38","doi-asserted-by":"crossref","unstructured":"Hou, Q., Zhou, D., and Feng, J. (2021, January 19\u201325). Coordinate attention for efficient mobile network design. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA.","DOI":"10.1109\/CVPR46437.2021.01350"},{"key":"ref_39","doi-asserted-by":"crossref","unstructured":"Yu, J., and Zhang, W. (2021). Face Mask Wearing Detection Algorithm Based on Improved YOLO-v4. Sensors, 21.","DOI":"10.3390\/s21093263"},{"key":"ref_40","doi-asserted-by":"crossref","first-page":"107579","DOI":"10.1016\/j.compag.2022.107579","article-title":"Cattle body detection based on YOLOv5-ASFF for precision livestock farming","volume":"204","author":"Qiao","year":"2023","journal-title":"Comput. Electron. Agric."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/23\/9\/4415\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T19:27:12Z","timestamp":1760124432000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/23\/9\/4415"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,4,30]]},"references-count":40,"journal-issue":{"issue":"9","published-online":{"date-parts":[[2023,5]]}},"alternative-id":["s23094415"],"URL":"https:\/\/doi.org\/10.3390\/s23094415","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,4,30]]}}}