Submitted:
29 August 2025
Posted:
01 September 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Scientific Literature Research Methodology
3. Machine Vision Systems
- Training data - they usually consist of one or more of the following data from the fabric to be classified: 1) acquired images, 2) acquired reflectance values, 3) a combination of image and reflectance values, 4) RGB, CIELAB, or other colour space information directly retrieved using a MV system or available in public databases. The AI-based algorithms can be trained using either images or colorimetric data i.e., colour coordinates.
- Target data – consists of colour classes and, possibly, sub-classes; the classification can be based either on human assessment of the fabrics (e.g., based on the knowledge of the expert operators working in the textile company) or on the use of standards such as PANTONE® or RAL Colour Chart.
4. Overview of AI-Based Methods
4.1. Traditional ANNs-Based Methods
4.2. Convolutional Neural Networks
4.3. Recurrent Neural Networks
4.4. Quality Control Metrics
- Accuracy (Acc): overall classification correctness.
- Precision (P): correct predictions per class.
- Recall (R): sensitivity or true positive rate.
- F1-score (F1): harmonic mean of precision and recall.
- γ-index (γ): reliability metric accounting for adjacent class misclassifications, as defined in Equation (10).
5. Roadmap for Adoption in Textile SMEs
- Speed vs. Accuracy - AI models prove to be effective in terms of classification accuracy, often exceeding 85–90%. However, models often require more computational resources and longer inference times, which may slow down throughput in fast-paced production environments. On the other hand, lightweight or compressed models, while faster, may compromise on precision—especially in cases involving subtle colour variations or mixed textures. Accordingly, optimization techniques such as model pruning, quantization, and edge computing should be considered to balance this trade-off, enabling rapid classification without significantly sacrificing accuracy.
- Cost vs. Scalability - Initial investments in machine vision systems, AI development, and dataset preparation can be significant since high-resolution industrial cameras, hyperspectral sensors, or custom lighting setups can raise capital costs. Moreover, custom AI model development may require specialized expertise, further increasing adoption barriers for SMEs. So, SMEs should start with cost-effective RGB-based systems and apply transfer learning using pre-trained networks.
- Lighting Variations - Inconsistent or suboptimal lighting during image acquisition can lead to inaccurate colour representation and model predictions. This is particularly critical for fabrics with low colour contrast or delicate gradients. Standardizing the lighting environment using D65 or TL84 artificial illuminants, along with proper enclosure of the vision setup, could help maintain colour consistency. Incorporating colour calibration targets in each batch can further correct for minor shifts.
- Fabric Texture and Surface Properties - Surface textures such as gloss, pile, weave pattern, and shadowing can interfere with colour perception in images; in fact, highly textured or patterned fabrics may introduce noise into the classification process and AI models may unintentionally learn texture patterns instead of pure colour features. Therefore, preprocessing techniques (e.g., texture suppression filters, normalization) or the use of combined image and spectral data (e.g., using hyperspectral imaging) should be considered to improve classification robustness.
- Data Quality and Labelling Consistency - AI models require large, well-labelled datasets to perform reliably. However, manual labelling is often subjective and inconsistent, especially in colour-based classification. This should push SMEs in collaborating with experienced operators to define consistent labelling criteria. Semi-supervised learning and data augmentation (e.g., lighting, contrast variation) can enrich the dataset without extensive manual effort.
6. Conclusions
Funding
Data Availability Statement
Conflicts of Interest
References
- R. Furferi and M. Carfagni, “Colour mixing modelling and simulation: Optimization of colour recipe for carded fibres,” Modelling and Simulation in Engineering, vol. 2010, no. 1, pp. 487678, 2010. [CrossRef]
- S. H. Amirshahi and M. T. Pailthorpe, “An algorithm for optimizing color prediction in blends,” Textile Research Journal, vol. 65, no. 11, pp. 632–637, 1995. [CrossRef]
- E. I. Stearns and F. Noechel, “Spectrophotometric prediction of color wool blends,” American Dyestuff Reporter, vol. 33, no. 9, pp. 177–180, 1944.
- L. I. Rong and G. U. Feng, “Tristimulus algorithm of colour matching for precoloured fibre blends based on the Stearns-Noechel model,” Coloration Technology, vol. 122, no. 2, pp. 74–81, 2006. [CrossRef]
- B. Thompson and M. J. Hammersley, “Prediction of the colour of scoured-wool blends,” Journal of the Textile Institute, vol. 69, no. 1, pp. 1–7, 1978. [CrossRef]
- S. Z. Kazmi, P. L. Grady, G. N. Mock, and G. L. Hodge, “On-line color monitoring in continuous textile dyeing,” ISA Transactions, vol. 35, no. 1, pp. 33–43, 1996. [CrossRef]
- B. Philips-Invernizzi, D. Dupont, and C. Cazé, “Formulation of colored fiber blends from Friele′s theoretical model,” Color Research and Application, vol. 27, no. 3, pp. 191–198, 2002. [CrossRef]
- M. A. Hunt, J. S. Goddard Jr., K. W. Hylton, T. P. Karnowski, R. K. Richards, M. L. Simpson, K. W. Tobin Jr., and D. A. Treece, “Imaging tristimulus colorimeter for the evaluation of color in printed textiles,” Proceedings of SPIE, Machine Vision Applications in Industrial Inspection VII, SPIE Publications, article no. 3652, 1999.
- T. Mäenpää, J. Viertola, and M. Pietikäinen, “Optimising colour and texture features for real-time visual inspection,” Pattern Analysis & Applications, vol. 6, pp. 169–175, 2003.
- J. Y. Tou, Y. H. Tay, and P. Y. Lau, “Recent trends in texture classification: A review,” Symposium on Progress in Information & Communication Technology, vol. 3, no. 2, pp. 56–59, 2009.
- Amelio, G. Bonifazi, F. Cauteruccio, E. Corradini, M. Marchetti, D. Ursino, and L. Virgili, “DLE4FC: A Deep Learning Ensemble to Identify Fabric Colors,” Proceedings of SEBD, pp. 13–21, 2023.
- R. Furferi and L. Governi, “The recycling of wool clothes: An artificial neural network colour classification tool,” International Journal of Advanced Manufacturing Technology, vol. 37, pp. 722–731, 2008.
- C. F. J. Kuo and C. Y. Kao, “Self-organizing map network for automatically recognizing color texture fabric nature,” Fibers and Polymers, vol. 8, no. 2, pp. 174–180, 2007. [CrossRef]
- R. Furferi, “Colour mixing modelling and simulation: Optimization of colour recipe for carded fibres,” Modelling and Simulation in Engineering, vol. 2011, pp. 487678, 2011.
- R. Furferi, “Colour classification method for recycled melange fabrics,” Journal of Applied Sciences, vol. 11, no. 2, pp. 236–246, 2011. [CrossRef]
- M. da Silva Barros, A. C., E. F. Ohata, S. P. P. da Silva, J. S. Almeida, and P. P. Rebouças Filho, “An innovative approach of textile fabrics identification from mobile images using computer vision based on deep transfer learning,” Proceedings of 2020 International Joint Conference on Neural Networks (IJCNN), pp. 1–8, 2020.
- R. Hirschler, D. F. Oliveira, and L. C. Lopes, “Quality of the daylight sources for industrial colour control,” Coloration Technology, vol. 127, no. 2, pp. 88–100, 2011.
- R. Furferi, L. Governi, and Y. Volpe, “Image processing-based method for glass tiles colour matching,” The Imaging Science Journal, vol. 61, no. 2, pp. 183–194, 2013. [CrossRef]
- R. Furferi and M. Servi, “A machine vision-based algorithm for color classification of recycled wool fabrics,” Applied Sciences, vol. 13, no. 4, p. 2464, 2023.
- M. Qian, Z. Wang, X. Huang, Z. Xiang, P. Wei, and X. Hu, “Color segmentation of multicolor porous printed fabrics by conjugating SOM and EDSC clustering algorithms,” Textile Research Journal, vol. 92, no. 19–20, pp. 3488–3499, 2022.
- S. Liu, Y. K. Liu, K. Y. C. Lo, and C. W. Kan, “Intelligent techniques and optimization algorithms in textile colour management: A systematic review of applications and prediction accuracy,” Fashion and Textiles, vol. 11, no. 1, p. 13, 2024. [CrossRef]
- S. Liu, Y. K. Liu, K. Y. C. Lo, and C. W. Kan, “Intelligent techniques and optimization algorithms in textile colour management: A systematic review of applications and prediction accuracy,” Fashion and Textiles, vol. 11, no. 1, p. 13, 2024. [CrossRef]
- J. Zhang, K. Zhang, J. Wu, and X. Hu, “Color segmentation and extraction of yarn-dyed fabric based on a hyperspectral imaging system,” Textile Research Journal, vol. 91, no. 7–8, pp. 729–742, 2020.
- S. Liu, C. K. Lo, and C. W. Kan, “Application of artificial intelligence techniques in textile wastewater decolorisation fields: A systematic and citation network analysis review,” Coloration Technology, vol. 138, no. 2, pp. 117–136, 2022.
- X. Liu and D. Yang, “Color constancy computation for dyed fabrics via improved marine predators algorithm optimized random vector functional-link network,” Color Research and Application, vol. 46, no. 5, pp. 1066–1078, 2021. [CrossRef]
- A. Krizhevsky, I. Sutskever, and G. E. Hinton, “ImageNet classification with deep convolutional neural networks,” Communications of the ACM, vol. 60, pp. 84–90, 2017.
- C. Szegedy, V. Vanhoucke, S. Loffe, et al., “Rethinking the inception architecture for computer vision,” Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition, IEEE Press, pp. 2818–2826, 2016.
- K. Simonyan and A. Zisserman, “Very deep convolution networks for large-scale image recognition,” Proceedings of International Conference on Learning Representations (ICLR), San Diego, CA, USA, May 2015.
- K. M. He, X. Y. Zhang, S. Q. Ren, et al., “Deep residual learning for image recognition,” in Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition, IEEE Press, pp. 770–778, 2016.
- Z. Zhou, W. Deng, Y. Wang, and Z. Zhu, “Classification of clothing images based on a parallel convolutional neural network and random vector functional link optimized by the grasshopper optimization algorithm,” Textile Research Journal, vol. 92, no. 9–10, pp. 1415–1428, 2022. [CrossRef]
- Z. Li, F. Liu, W. Yang, S. Peng, and J. Zhou, “A survey of convolutional neural networks: Analysis, applications, and prospects,” IEEE Transactions on Neural Networks and Learning Systems, vol. 33, no. 12, pp. 6999–7019, 2021.
- A. Amelio, G. Bonifazi, E. Corradini, S. Di Saverio, M. Marchetti, D. Ursino, and L. Virgili, “Defining a deep neural network ensemble for identifying fabric colors,” Applied Soft Computing, vol. 130, p. 109687, 2022.
- S. Das and K. Shanmugaraja, “Application of artificial neural network in determining the fabric weave pattern,” Zastita Materijala, vol. 63, no. 3, pp. 291–299, 2022.
- D. P. Penumuru, S. Muthuswamy, and P. Karumbu, “Identification and classification of materials using machine vision and machine learning in the context of industry 4.0,” Journal of Intelligent Manufacturing, vol. 31, no. 5, pp. 1229–1241, 2020.
- R. Kiruba, V. Sneha, S. Anuragha, S. K. Vardhini, and V. Vismaya, “Object color identification and classification using CNN algorithm and machine learning technique,” Proceedings of 4th International Conference on Pervasive Computing and Social Networking (ICPCSN), pp. 18–24, 2024.
- R. Thakur, D. Panghal, P. Jana, A. Rajan, and A. Prasad, “Automated fabric inspection through convolutional neural network: An approach,” Neural Computing and Applications, vol. 35, no. 5, pp. 3805–3823, 2023. [CrossRef]
- Z. Liu, W. Li, and Z. Wei, “Qualitative classification of waste textiles based on near infrared spectroscopy and the convolutional network,” Textile Research Journal, vol. 90, no. 9–10, pp. 1057–1066, 2020.
- Z. Zhou, W. Deng, Y. Wang, and Z. Zhu, “Classification of clothing images based on a parallel convolutional neural network and random vector functional link optimized by the grasshopper optimization algorithm,” Textile Research Journal, vol. 92, no. 9–10, pp. 1415–1428, 2022. [CrossRef]
- S. Das, S., A. Wahi, “Digital Image Analysis Using Deep Learning Convolutional Neural Networks for Color Matching of Knitted Cotton Fabric”. Journal of Natural Fibers, vol. 19(17), pp. 15716–15722, 2022.
- A. Wang, W. Zhang, and X. Wei, “A review on weed detection using ground-based machine vision and image processing techniques,” Computers and Electronics in Agriculture, vol. 158, pp. 226–240, 2019.
- M. A. Iqbal Hussain, B. Khan, Z. Wang, and S. Ding, “Woven fabric pattern recognition and classification based on deep convolutional neural networks,” Electronics, vol. 9, no. 6, p. 1048, 2020.
- L. Mou, P. Ghamisi, and X. X. Zhu, “Deep recurrent neural networks for hyperspectral image classification,” IEEE Transactions on Geoscience and Remote Sensing, vol. 55, no. 7, pp. 3639–3655, 2017.
- K. S. Kumar and M. R. Bai, “LSTM based texture classification and defect detection in a fabric,” Measurement: Sensors, vol. 26, p. 100603, 2023.
- T. Peng, X. Zhou, J. Liu, X. Hu, C. Chen, Z. Wu, and D. Peng, “A textile fabric classification framework through small motions in videos,” Multimedia Tools and Applications, vol. 80, pp. 7567–7580, 2021. [CrossRef]
- M. R. Islam, M. Z. H. Zamil, M. E. Rayed, M. M. Kabir, M. F. Mridha, S. Nishimura, and J. Shin, “Deep learning and computer vision techniques for enhanced quality control in manufacturing processes,” IEEE Access, vol. 12, pp. 30000–30016, 2024.
- https://github.com/switchablenorms/DeepFashion2.
- https://www.kaggle.com/datasets/acseckn/fabricnet.
- Zhang, H., & Zhu, Q. (2018). Color-based image classification and the impact of color similarity and lighting variation. Journal of Visual Communication and Image Representation, 53, 100–110.
- Diallo, R., Edalo, C., Awe, O. O. (2024). Machine Learning Evaluation of Imbalanced Health Data: A Comparative Analysis of Balanced Accuracy, MCC, and F1 Score. In Practical Statistical Learning and Data Science Methods: Case Studies from LISA 2020 Global Network, USA (pp. 283-312). Cham: Springer Nature Switzerland.
- R. Patil, V. Gudivada, “A review of current trends, techniques, and challenges in large language models (llms)”. Applied Sciences, vol. 14(5), article no. 2074, 2024.
- P. Paithane, “Optimize multiscale feature hybrid-net deep learning approach used for automatic pancreas image segmentation”. Machine Vision and Applications, vol. 35, pp- 135, 2024.
- P.M. Paithane, Random forest algorithm use for crop recommendation. ITEGAM-JETIA, vol. 9(43), pp. 34-41, 2023.
- Khan, A., AlBarri, S., Manzoor, M. A. (2022, March). Contrastive self-supervised learning: a survey on different architectures. In 2022 2nd international conference on artificial intelligence (icai) (pp. 1-6). IEEE.
- Atliha, V., Šešok, D. (2020, April). Comparison of VGG and ResNet used as Encoders for Image Captioning. In 2020 IEEE Open Conference of Electrical, Electronic and Information Sciences (eStream) (pp. 1-4). IEEE.
- Patil, D., & Asra, S. (2024, August). Fabric Defect Detection Systems and Methods in India: A Comprehensive Review. In 2024 International Conference on Emerging Techniques in Computational Intelligence (ICETCI) (pp. 269-272). IEEE.
- Xu, C., Xu, L., Luo, K., Zhang, J., Sitahong, A., Yang, M., Zhang, C. (2024). The essence and applications of machine vision inspection for textile industry: a review. The Journal of The Textile Institute, 1-25.
- Malhotra, Y. MIT Computer Science & AI Lab: AI-Machine Learning-Deep Learning-NLP-RPA: Executive Guide: including Deep Learning, Natural Language Processing, Autonomous Cars, Robotic Process Automation.






| Macro-area | Number of occurrences |
| Convolutional Neural Networks (CNNs) | 170 |
| Traditional Artificial Neural Networks | 34 |
| Recurrent Neural Networks (RNNs) | 6 |
| Advantages | Description | Disadvantages | Description |
|
High Accuracy |
CNNs’ capacity to extract hierarchical features renders them highly effective at spotting small variations in colour hues and patterns. | Data Dependence | Large, labelled datasets are necessary. Unbalanced or small datasets may cause overfitting. |
| Robustness to Noise | Advanced CNN designs use numerous feature layers and preprocessing approaches to accommodate changes in lighting, shadows, and fabric texture. | Computational Intensity | CNN training is a resource-intensive process for sophisticated models and high processing capacity, such as GPUs or TPUs. |
| Automatic Feature Extraction |
CNNs simplify development and improve scalability by automatically learning the pertinent features from raw images, in contrast to traditional methods that call for laborious feature engineering. | Susceptibility to Representation Issues | If preprocessing is not used, colour fluctuations brought on by various lighting conditions or irregular image acquisition may result in misclassification. |
| Adaptability | CNNs are resource-efficient for tasks like fabric colour classification because transfer learning enables them to apply previously trained models to new datasets with sparse input. | Overfitting to Patterns | Instead of concentrating only on colour, CNNs can occasionally be overfitted to the texture patterns in textiles, which lowers their capacity for generalization. |
| Integration with Ensemble Methods |
When CNNs and ensemble approaches are combined, generalization is enhanced, and overfitting is decreased. This is especially advantageous for textiles with a variety of colours or textures. | Interpretability Challenges | The network design makes it challenging to comprehend the reasoning behind a specific categorization choice, which can be problematic for quality assurance procedures. |
| Advantages | Description | Disadvantages | Description |
|
Sequential Data Processing |
When tasks involve sequential dependencies, like examining a sequence of pixel intensities or patterns in photographs, RNNs are adequate. This is useful when colour gradients or patterns extend across image pixels. |
High Computational Costs |
RNNs, as in the case of CNNs, are computationally intensive, especially on large datasets of high-resolution fabric images. |
| Contextual Understanding | RNNs can improve classification task accuracy by utilizing contextual information. Sequential data is a better way to understand tiny texture changes and fabrics’ colour transitions. | Sensitivity to Data Quality | RNNs are prone to overfitting, particularly when there is noise or imbalance in the training dataset. This is crucial in textile manufacturing since fabric samples may have different perspectives or uneven lighting. |
| Adaptability | To solve the vanishing gradient issue and enable effective learning of long-term dependencies, variants like Long Short-Term Memory (LSTM) and Gated Recurrent Units (GRU) can be useful for identifying intricate colour patterns. | Gradient Problem | Gradient problems may cause standard RNNs to perform poorly on lengthy sequences. Despite being lessened by GRUs and LSTMs, these solutions make the model more complex. |
| Automation in Complex Scenarios |
Compared to conventional machine learning models, RNN-based models are better at adjusting to changing fabric orientations and dynamic lighting circumstances. | Training Times | RNNs frequently require more time to train than feedforward networks, thus limiting the implementation in industrial situations where speed is crucial. |
| Families | Family Number | Classes | # of Fabrics in the Target Set | # of Fabrics in the Training Set | # of Fabrics for Each Family (Training Set) |
| White | 1 | 1, 2, 3, 4 | 4 | 82 | 20, 18, 21, 23 |
| Beige | 2 | 5, 6, 7, 8 | 4 | 78 | 17, 22, 21, 18 |
| Brown | 3 | 9, 10, 11, 12 | 4 | 84 | 21, 19, 21, 23 |
| Orange | 4 | 13, 14, 15, 16 | 4 | 76 | 17, 19, 20, 21 |
| Pink | 5 | 17, 18, 19, 20 | 4 | 77 | 18, 18, 21, 20 |
| Red | 6 | 21, 22, 23, 24 | 4 | 85 | 23, 20, 20, 22 |
| Violet | 7 | 25, 26, 27, 28 | 4 | 81 | 19, 18, 23, 21 |
| Blue | 8 | 29, 30, 31, 32 | 4 | 90 | 23, 21, 22, 24 |
| Green | 9 | 33, 34, 35, 36 | 4 | 75 | 17, 21, 18, 18 |
| Gray/black | 10 | 37, 38, 39, 40 | 4 | 72 | 16, 15, 20, 21 |
| Family | ANN-based method [19] | CNN-based method [32] | RNN-based method [40] |
|---|---|---|---|
| White | 80.4% | 91.1% | 88.3% |
| Brown | 92.5% | 95.2% | 93.8% |
| Red | 84.3% | 85.7% | 87.6% |
| Violet | 79.4% | 85.3% | 84.8% |
| Blue | 75.3% | 75.9% | 74.5% |
| Green | 73.5% | 75.6% | 71.4% |
| Gray and Black | 69.2% | 71.3% | 69.6% |
| Average Value | 83.2% | 86.1% | 77.9% |
| Model | Accuracy (%) | Precision (%) | Recall (%) | F1-score (%) | γ-index (%) |
| ANN | 82.5 ± 2.1 | 81.8 ± 2.4 | 82.0 ± 2.2 | 81.6 ± 2.3 | 83.2 |
| CNN | 86.7 ± 1.6 | 86.1 ± 1.8 | 86.4 ± 1.7 | 86.0 ± 1.6 | 86.1 |
| RNN | 78.9 ± 2.5 | 78.2 ± 2.8 | 78.7 ± 2.6 | 78.1 ± 2.7 | 77.9 |
| Year | Reference | Methodology | Key Contribution | Technological Milestone |
| 1995 | Amirshahi & Pailthorpe [2] | Deterministic (Kubelka-Munk theory) | Early modelling of colour prediction in wool blends | Foundation of physics-based colour theory |
| 2008 | Furferi & Governi [12] | ANN (FFBP + SOFM) | First real-time ANN-based system for wool garment recycling | Entry of supervised learning in textile sorting |
| 2011 | Furferi [15] | Deterministic + ANN | Colour classification for mélange fabrics | Hybrid approaches for textured fabrics |
| 2016 | Simonyan & Zisserman [28] | CNN (VGGNet) | Deep learning for image-based classification gains traction | Start of deep feature extraction in textiles |
| 2020 | Liu et al. [37] | CNN + NIR Spectroscopy | Classification of waste textiles using spectral CNN input | Multimodal (image + spectral) learning |
| 2022 | Amelio et al. [32] | CNN (Ensemble) | Classification via colour-difference space with CNN ensemble | Precision colour matching with pre-processing innovations |
| 2022 | Zhou et al. [30] | Parallel CNN + RVFL | Joint classification of colour and pattern using ensemble methods | Integration of colour and texture pipelines |
| 2023 | Furferi & Servi [19] | Probabilistic ANN + MV | Lightweight ANN system for SMEs using RGB inputs | Industrial application in real sorting lines |
| 2024 | Liu et al. [21] | Systematic Review | Meta-analysis of intelligent textile colour management techniques | Recognition of AI as a standard for colour tasks |
| 2025 | This Review | CNN, RNN, SSL, FL (theoretical) | Comprehensive roadmap, new trends, and benchmarking | Strategic blueprint for future circular AI systems |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).