{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,4,8]],"date-time":"2026-04-08T23:14:07Z","timestamp":1775690047005,"version":"3.50.1"},"reference-count":37,"publisher":"MDPI AG","issue":"1","license":[{"start":{"date-parts":[[2023,1,3]],"date-time":"2023-01-03T00:00:00Z","timestamp":1672704000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100001871","name":"FCT\u2014Funda\u00e7\u00e3o para a Ci\u00eancia e Tecnologia (Portugal)","doi-asserted-by":"publisher","award":["UIDB\/04077\/2020"],"award-info":[{"award-number":["UIDB\/04077\/2020"]}],"id":[{"id":"10.13039\/501100001871","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100001871","name":"FCT\u2014Funda\u00e7\u00e3o para a Ci\u00eancia e Tecnologia (Portugal)","doi-asserted-by":"publisher","award":["UIDB\/00319\/2020"],"award-info":[{"award-number":["UIDB\/00319\/2020"]}],"id":[{"id":"10.13039\/501100001871","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Electronics"],"abstract":"<jats:p>The quality of yarn is essential in the control of the fabrics processes. There is some commercial equipment that measures the quality of yarn based on sensors, of different types, used for collecting data about some textile yarn characteristic parameters. The irregularity of the textile thread influences its physical properties\/characteristics and there may be a possibility of a break in the textile thread during the fabric manufacturing process. This can contribute to the occurrence of unwanted patterns in fabrics that deteriorate their quality. The existing equipment, for the above-mentioned purpose, is characterized by its high size and cost, and for allowing the analysis of only few yarn quality parameters. The main findings\/results of the study are the yarn analysis method as well as the developed algorithm, which allows the analysis of defects in a more precise way. Thus, this paper presents the development and results obtained with the design of a mechatronic prototype integrating a computer vision system that allows, among other parameters, the analysis and classification, in real time, of the hairs of the yarn using artificial intelligence techniques. The system also determines other characteristics inherent to the yarn quality analysis, such as: linear mass, diameter, volume, twist orientation, twist step, average mass deviation, coefficient of variation, hairiness coefficient, average hairiness deviation, and standard hairiness deviation, as well as performing spectral analysis. A comparison of the obtained results with the designed system and a commercial equipment was performed validating the undertaken methodology.<\/jats:p>","DOI":"10.3390\/electronics12010236","type":"journal-article","created":{"date-parts":[[2023,1,4]],"date-time":"2023-01-04T02:15:42Z","timestamp":1672798542000},"page":"236","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":20,"title":["Intelligent Computer Vision System for Analysis and Characterization of Yarn Quality"],"prefix":"10.3390","volume":"12","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-7809-5554","authenticated-orcid":false,"given":"Filipe","family":"Pereira","sequence":"first","affiliation":[{"name":"Algoritmi Research Centre, School of Engineering, University of Minho, 4800-058 Guimaraes, Portugal"},{"name":"MEtRICs Research Centre, School of Engineering, University of Minho, 4800-058 Guimaraes, Portugal"},{"name":"2Ai, School of Technology, IPCA, 4750-810 Barcelos, Portugal"}]},{"given":"Alexandre","family":"Macedo","sequence":"additional","affiliation":[{"name":"MEtRICs Research Centre, School of Engineering, University of Minho, 4800-058 Guimaraes, Portugal"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-6977-7737","authenticated-orcid":false,"given":"Leandro","family":"Pinto","sequence":"additional","affiliation":[{"name":"2Ai, School of Technology, IPCA, 4750-810 Barcelos, Portugal"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4438-6713","authenticated-orcid":false,"given":"Filomena","family":"Soares","sequence":"additional","affiliation":[{"name":"Algoritmi Research Centre, School of Engineering, University of Minho, 4800-058 Guimaraes, Portugal"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-1434-1060","authenticated-orcid":false,"given":"Rosa","family":"Vasconcelos","sequence":"additional","affiliation":[{"name":"2C2T Research Centre, School of Engineering, University of Minho, 4800-058 Guimaraes, Portugal"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4917-2474","authenticated-orcid":false,"given":"Jos\u00e9","family":"Machado","sequence":"additional","affiliation":[{"name":"MEtRICs Research Centre, School of Engineering, University of Minho, 4800-058 Guimaraes, Portugal"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-4658-5844","authenticated-orcid":false,"given":"V\u00edtor","family":"Carvalho","sequence":"additional","affiliation":[{"name":"Algoritmi Research Centre, School of Engineering, University of Minho, 4800-058 Guimaraes, Portugal"},{"name":"2Ai, School of Technology, IPCA, 4750-810 Barcelos, Portugal"}]}],"member":"1968","published-online":{"date-parts":[[2023,1,3]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"116","DOI":"10.1080\/00405000.2020.1865505","article-title":"Evaluating the surface hairiness of woven fabric belts with a yarn hairiness tester","volume":"113","author":"Xia","year":"2022","journal-title":"J. Text. Inst."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"201","DOI":"10.2478\/aut-2020-0021","article-title":"Image Analysis as a Method of the Assessment of Yarn for Making Flat Textile Fabrics","volume":"22","author":"Idzik","year":"2022","journal-title":"Autex Res. J."},{"key":"ref_3","unstructured":"(2021, December 02). USTER Tester Staple Yarn. Available online: https:\/\/www.uster.com\/en\/instruments\/staple-yarn-testing\/uster-tester-staple-yarn."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"4201","DOI":"10.1016\/j.eswa.2011.09.114","article-title":"Intelligent characterization and evaluation of yarn surface appearance using saliency map analysis, wavelet transform and fuzzy ARTMAP neural network","volume":"39","author":"Liang","year":"2012","journal-title":"Expert Syst. Appl."},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Abdelkader, M. (2022). MATLAB Algorithms for Diameter Measurements of Textile Yarns and Fibers through Image Processing Techniques. Materials, 15.","DOI":"10.3390\/ma15041299"},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"30928","DOI":"10.1109\/ACCESS.2020.2972967","article-title":"A New Method to Evaluate Yarn Appearance Qualities Based on Machine Vision and Image Processing","volume":"8","author":"Li","year":"2020","journal-title":"IEEE Access"},{"key":"ref_7","first-page":"1067916","article-title":"3D measurement of yarn hairiness via multi-perspective images","volume":"10679","author":"Xu","year":"2018","journal-title":"Opt. Photonics Digit. Technol. Imaging Appl. V"},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1080\/00405000.2016.1240144","article-title":"Measurement of long yarn hair based on hairiness segmentation and hairiness tracking","volume":"108","author":"Sun","year":"2016","journal-title":"J. Text. Inst."},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"740","DOI":"10.1080\/00405000.2017.1368106","article-title":"Automatic measurement of yarn hairiness based on the improved MRMRF segmentation algorithm","volume":"109","author":"Jing","year":"2018","journal-title":"J. Text. Inst."},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"103550","DOI":"10.1016\/j.compind.2021.103550","article-title":"A computer vision based online quality control system for textile yarns","volume":"133","author":"Haleem","year":"2021","journal-title":"Comput. Ind."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"4435","DOI":"10.1016\/j.aej.2020.07.049","article-title":"Yarn Tensile Properties Modeling Using Artificial Intelligence","volume":"59","author":"ElKateb","year":"2020","journal-title":"Alex. Eng. J."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"3335","DOI":"10.1016\/j.aej.2021.08.057","article-title":"Prediction of Cotton Yarn\u2019s Characteristics by Image Processing and ANN","volume":"61","author":"Hashima","year":"2022","journal-title":"Alex. Eng. J."},{"key":"ref_13","unstructured":"M\u00e1rio, A., and de Melo, E.M.C. (1987). Manual de Engenharia T\u00eaxtil, Funda\u00e7\u00e3o Calouste Gulbenkian. (In Portuguese)."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"49","DOI":"10.1007\/s10921-009-0046-8","article-title":"Yarn Diameter and Linear Mass Correlation","volume":"28","author":"Carvalho","year":"2009","journal-title":"J. Nondestruct. Eval."},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"987","DOI":"10.1109\/JSEN.2009.2025810","article-title":"Automatic Yarn Characterization System: Design of a Prototype","volume":"9","author":"Carvalho","year":"2009","journal-title":"IEEE Sensors J."},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Wang, X.-H., Wang, J.-Y., Zhang, J.-L., Liang, H.-W., and Kou, P.-M. (2010, January 11\u201314). Study on the Detection of Yarn Hairiness Morphology based on Image Processing Technique. Proceedings of the Ninth International Conference on Machine Learning and Cybernetics, Qingdao, China.","DOI":"10.1109\/ICMLC.2010.5580660"},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"594","DOI":"10.1109\/TIM.2008.2005082","article-title":"Yarn Hairiness Characterization Using Two Orthogonal Directions","volume":"58","author":"Carvalho","year":"2009","journal-title":"IEEE Trans. Instrum. Meas."},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Pinto, R., Pereira, F., Carvalho, V., Soares, F., and Vasconcelos, R. (2019, January 14\u201317). Yarn linear mass determination using image processing: First insights. Proceedings of the IECON 2019\u201445th Annual Conference of the IEEE Industrial Electronics Society, Lisbon, Portugal.","DOI":"10.1109\/IECON.2019.8926650"},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Wong, W.K. (2018). Computer Vision Techniques for Detecting Yarn Defects. Applications of Computer Vision in Fashion and Textiles, Woodhead Publishing.","DOI":"10.1016\/B978-0-08-101217-8.00003-8"},{"key":"ref_20","unstructured":"Carvalho, V., Cardoso, P., Belsley, M., Vasconcelos, R., and Soares, F. (2022, October 11). Determination of Yarn Hairiness Using Optical Sensors. Available online: https:\/\/repositorium.sdum.uminho.pt\/bitstream\/1822\/9015\/1\/Determination%2520of%2520yarn%2520hairiness%2520using%2520optical%2520sensors.pdf."},{"key":"ref_21","first-page":"6","article-title":"Yarn Parameterization and Fabrics Prediction Using Image Processing","volume":"2","author":"Carvalho","year":"2013","journal-title":"Text. Light Ind. Sci. Technol."},{"key":"ref_22","unstructured":"Carvalho, V., Gon\u00e7alves, N., Soares, F., Belsley, M. (2022, October 11). An Overview Over Yarn Mass Parameterization Methods. 2011. pp. 18\u201324. Available online: https:\/\/d1wqtxts1xzle7.cloudfront.net\/79100245\/download-libre.pdf?1642637901=&response-content-disposition=inline%3B+filename%3DAn_Overview_Over_Yarn_Mass_Parameterizat.pdf&Expires=1672053423&Signature=WWZTyO4~R5xlf-oK1KWDaD9zDwzzgDi3kUI2lVe0HS16t4TecMuFx8bgJooMUllTO1L7R2EuHS7VneevffOjBTIVV6jTQWalUsmYx36GIdeRESRDI-vVWCy71vynWmRFhK81UWSCivwYMyw5idxu-3EWLaQ7yfpp79-jajzZIVNogCcvflp5kEh4g~3BCnaUP~YReflz~IHHaIVQvtMw7vXRykSsnRnHcqf~mC015MjpdJkZIhoXfZG35iByxXRQl6q0pf3pK3CaOJn5B00bUfw4UJks1DP-lJsq9I5RS1JIhR-2yzVFupYaeB0xiYFZMN6g2~y6PwjUf6yUDiBHPw__&Key-Pair-Id=APKAJLOHF5GGSLRBV4ZA."},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"987","DOI":"10.1109\/JSEN.2009.2025810","article-title":"Automatic yarn characterization system","volume":"9","author":"Carvalho","year":"2009","journal-title":"IEEE Sens."},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"540","DOI":"10.1016\/j.sna.2004.04.045","article-title":"Yarn parameterization based on mass analysis","volume":"115","author":"Carvalho","year":"2004","journal-title":"Sens. Actuators A Phys."},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Manickam, P., Mariappan, S.A., Murugesan, S.M., Hansda, S., Kaushik, A., Shinde, R., and Thipperudraswamy, S.P. (2022). Artificial Intelligence (AI) and Internet of Medical Things (IoMT) Assisted Biomedical Systems for Intelligent Healthcare. Biosensors, 12.","DOI":"10.3390\/bios12080562"},{"key":"ref_26","first-page":"154","article-title":"Artificial Intelligence and Cardiac Imaging: We need to talk about this","volume":"32","author":"Gutierrez","year":"2019","journal-title":"Arq. Bras. DE Cardiol. IMAGEM Cardiovasc."},{"key":"ref_27","unstructured":"MATLAB & Simulink (2022, October 11). What Is Reinforcement Learning?. Available online: https:\/\/www.mathworks.com\/discovery\/reinforcement-learning.html."},{"key":"ref_28","unstructured":"(2022, October 11). Algoritmos de Clustering\u2014Vis\u00e3o Geral. Available online: https:\/\/isolution.pro\/pt\/t\/machine-learning-with-python\/clustering-algorithms-overview\/algoritmos-de-clustering-visao-geral."},{"key":"ref_29","unstructured":"NVIDIA Blog (2022, October 11). Difference Between Supervised, Unsupervised, & Reinforcement Learning. Available online: https:\/\/blogs.nvidia.com\/blog\/2018\/08\/02\/supervised-unsupervised-learning\/."},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"108411","DOI":"10.1016\/j.patcog.2021.108411","article-title":"Visual vs internal attention mechanisms in deep neural networks for image classification and object detection","volume":"123","author":"Obeso","year":"2022","journal-title":"Pattern Recognit."},{"key":"ref_31","unstructured":"Redmon, J., Divvala, S., Girshick, R., and Farhadi, A. (2022, October 11). You Only Look Once: Unified, Real-Time Object Detection. Available online: http:\/\/arxiv.org\/abs\/1506.02640."},{"key":"ref_32","unstructured":"(2022, October 14). 11: Yolo V4 Explained in Full Detail-EN\u2014Deep Learning Bible\u20143: Object Detection\u2014English. Available online: https:\/\/wikidocs.net\/167833."},{"key":"ref_33","unstructured":"Sambasivarao, K. (2022, October 14). Non-Maximum Suppression (NMS). A Technique to Filter the Predictions of Object Detectors. Available online: https:\/\/towardsdatascience.com\/non-maximum-suppression-nms-93ce178e177c."},{"key":"ref_34","unstructured":"(2022, October 14). Como Funciona o Rastreamento de Objetos em YOLO e DeepSort. (In Portuguese)."},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"565","DOI":"10.1007\/s40430-022-03875-3","article-title":"Automatic system for yarn quality analysis by image processing","volume":"44","author":"Caldas","year":"2022","journal-title":"J. Braz. Soc. Mech. Sci. Eng."},{"key":"ref_36","unstructured":"Roboflow (2022, October 14). Give Your Software the Power to See Objects in Images and Video. Available online: https:\/\/roboflow.com\/."},{"key":"ref_37","doi-asserted-by":"crossref","unstructured":"Sikka, M.P., Sarkar, A., and Garg, S. (Res. J. Text. Appar., 2022). Artificial intelligence (AI) in textile industry operational modernization, Res. J. Text. Appar., ahead-of-print.","DOI":"10.1108\/RJTA-04-2021-0046"}],"container-title":["Electronics"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2079-9292\/12\/1\/236\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T17:57:01Z","timestamp":1760119021000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2079-9292\/12\/1\/236"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,1,3]]},"references-count":37,"journal-issue":{"issue":"1","published-online":{"date-parts":[[2023,1]]}},"alternative-id":["electronics12010236"],"URL":"https:\/\/doi.org\/10.3390\/electronics12010236","relation":{"has-preprint":[{"id-type":"doi","id":"10.20944\/preprints202211.0572.v1","asserted-by":"object"}]},"ISSN":["2079-9292"],"issn-type":[{"value":"2079-9292","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,1,3]]}}}