Journal of Textile Research ›› 2025, Vol. 46 ›› Issue (09): 104-111.doi: 10.13475/j.fzxb.20241107501

• Fiber Materials • Previous Articles     Next Articles

Quantitative detection of wool and cashmere based on near infrared spectroscopy and multi-feature network

ZHU Yaolin1, LI Zheng1(), ZHANG Qiang2, CHEN Xin1, CHEN Jinni1, ZHANG Hongsong3   

  1. 1. School of Electronics and Information, Xi'an Polytechnic University, Xi'an, Shaanxi 710000, China
    2. Hebei Research Institution for Product Quality Supervision and Inspection, Shijiazhuang, Hebei 050091, China
    3. Shanghai Ranzi Industry Co., Ltd., Shanghai 201800, China
  • Received:2024-11-28 Revised:2025-06-23 Online:2025-09-15 Published:2025-11-12
  • Contact: LI Zheng E-mail:m17855081621@163.com

Abstract:

Objective Textiles with similar contents, such as cashmere and wool, are known to be tough to categorize. When their amounts in waste textiles are close, conventional detection models have difficulties to distinguish them. This often results in low accuracy in identifying cashmere and wool. This study aims to build a hybrid CNN-LSTM model combined with local feature extraction with temporal feature extraction, so as to detect cashmere and wool content accurately with near-infrared spectroscopy(NIR). This method is expected to extract the variations of absorption peaks and the relationship between absorption peaks, and then obtain the complex spectral variations.

Method Cashmere and wool samples with similar colour radii are collected for preparing mixed samples of cashmere and wool in various ratios using the potassium bromide pressing method. Spectra using a near-infrared spectrometer are obtained to create a database, and the NIR spectral data are nomalized with the Z-Score algorithm, which helps remove differences in magnitude. Gaussian noise data enhancement follows to boost data diversity and the dataset is split using 10-fold cross-validation which is used as input to a hybrid CNN-LSTM model. MLP regression prediction is performed through the convolutional layer and gated sequence.

Result In the experiments, the improved CNN-LSTM-MLP model predicts cashmere and wool contents well. The model efficiently pulls out key spatial features from near-infrared spectral data which cuts down on processing time and boosts feature extraction efficiency. It uses depth-separable convolution to first identify peaks from chemical bond vibrations in the near-infrared spectra, and combines these features using stationary point convolution. The LSTM (long short-term memory) layer effectively captures the time-based relationships in spectral data to enhance the model's sensitivity to changes in spectral features. It also preserves contextual information across bands using forgetting gates and memory units. As a result, the model can focus on intensity changes in individual absorption peaks. It also learns patterns among several key bands, such as the connections between absorption peaks from 2 028 to 2 470 nm. By modelling the spectral sequence, LSTM reveals how different absorption peaks relate over time. It boosts the weight of continuous absorption peak bands, and allows it to better spot changes in mixing ratios and peak intensity, even with minor differences. The results show that the improved model predicts more accurately than the conventional methods. In the 10-fold cross-validation, most R2 values on the test set are above 0.95 and the MSE is below 0.01, indicating that the improved CNN-LSTM-MLP model is accurate and stable in analysing near-infrared spectroscopic data. It also offers strong support for quick and accurate detection of cashmere and wool content.

Conclusion The proposed new prediction model for cashmere and wool uses an enhanced CNN-LSTM-MLP architecture in combination with deep separable convolution (DSC) with conventional convolutional neural networks (CNN). This setup effectively extracts spatial features from near-infrared spectral data, and also models temporal features with LSTM layers. Quantitative predictions are achieved using a multilayer perceptron (MLP), and deep separable convolution cuts down the model's computational complexity, keeping rich channel information in the high-dimensional spectral data. The proposed model greatly improves prediction accuracy, and the efficient algorithm results in the need of little computing power to predict cashmere and wool contents. The model performs well in analysing cashmere and wool and it is practically useful for spectral analysis in real production.

Key words: deep learning, near-infrared spectroscopy, convolutional neural network, long short-term memory, quantitative detection, cashmere, wool

CLC Number: 

  • TP391.4

Fig.1

Overall preview of quantitative testing method"

Tab.1

Fiber classes and information"

序号 类型 颜色 直径/μm
1 清河羊毛 白色 19.5
2 赤峰羊毛 白色 19.5
3 陕西羊毛 白色 19.5
4 Albas白羊绒 白色 14.9
5 Alashan羊绒 白色 14.5
6 Hanshan白绒 白色 15.0

Fig.2

Sample preparation process"

Fig.3

Overall flow of algorithm"

Fig.4

CNN model structure"

Fig.5

Characteristic bands of near infrared light for mixed samples"

Tab.2

Molecular vibrational modes and four characteristic bands of mixed samples"

特征带/nm 光谱峰/nm 分子振动
1 439~1 542 1 504 N—H第1泛音,
组合拉伸C—H
1 678~1 751 1 733 S—H第1泛音
1 904~1 975 1 931 C=O的第2泛音,
N—H、NH的组合泛音2弯曲
2 028~2 470 2 026,2 180,
2 284
C=O的第2泛音,
N—H的组合拉伸和弯曲,
组合拉伸C—N,N—H的
第2泛音,组合拉伸C≡N

Fig.6

Each band weight of near-infrared spectra of mixed samples"

Tab.3

10-fold cross-validation training results"

折数 评价指标 折数 评价指标
R2 MAE R2 MAE
1 0.898 0 0.005 1 6 1 0.898 0
2 0.990 4 0.001 8 7 2 0.990 4
3 0.962 7 0.003 1 8 3 0.962 7
4 0.960 6 0.002 6 9 4 0.960 6
5 0.950 2 0.002 5 10 5 0.950 2

Fig.7

Experimental results of PLS and SVD comparison models. (a) PLS-MLP predicted value and real value distribution; (b) SVD-MLP predicted value and real value distribution"

Tab.4

Mainstream model regression prediction results"

方法 R2 MSE
CNN-LSTM 0.945 8±0.029 5 0.003 2±0.001
ViT 0.934 3 0.003 28
TFT 0.873 3 0.007 38
[1] LAURA Navone, KAYLEE Moffitt, KAI-ANDERS Hansen, et al. Closing the textile loop: enzymatic fibre separation and recycling of wool/polyester fabric blends[J]. Waste Management, 2020, 102:149-160.
doi: 10.1016/j.wasman.2019.10.026
[2] 金美菊, 阮勇, 李翔, 等. 基于基因技术的羊绒与羊毛纤维定性鉴别方法[J]. 纺织学报, 2012, 33(8): 19-23.
JIN Meiju, RUAN Yong, LI Xiang, et al. Identification of cashmere and wool by genetic technology[J]. Journal of Textile Research, 2012, 33(8): 19-23.
[3] LUO Junli, LU Kai, CHEN Yonggang, et al. Automatic identification of cashmere and wool fibers based on microscopic visual features and residual network model[J]. Micron, 2021, 143, 103023.
doi: 10.1016/j.micron.2021.103023
[4] XING Wenyu, LIU Yiwen, DENG Na, et al. Automatic identification of cashmere and wool fibers based on the morphological features analysis[J]. Micron, 2020, 128,102768.
doi: 10.1016/j.micron.2019.102768
[5] ZHU Yaolin, DUAN Jiameng, WU Tong. Animal fiber imagery classification using a combination of random forest and deep learning methods[J]. Journal of Engineered Fibers and Fabrics, 2021. DOI: 10.1177/15589250211009333.
[6] ZHU Yaolin, WANG Xingze, GU Meihua, et al. Application of unsupervised feature selection in cashmere and wool fiber recognition[J]. Journal of Natural Fibers, 2024, 21(1), 2311306.
[7] ROLA H H, THOMAS B. Trends in artificial intelligence, machine learning, and chemometrics applied to chemical data[J]. Analytical Science Advances, 2021,2628-5452.
[8] YVES Roggo, PASCAL Chalus, LENE Maurer, et al. A review of near infrared spectroscopy and chemometrics in pharmaceutical technologies[J]. Journal of Pharmaceutical and Biomedical Analysis, 2007, 44(3): 683-700.
pmid: 17482417
[9] ZHOU Jinfeng, WANG Rongwu, WU Xiongying. Fiber-content measurement of wool-cashmere blends using near-infrared spectroscopy[J]. Applied Spectroscopy, 2017, 71(10): 2367-2376.
doi: 10.1177/0003702817713480 pmid: 28537417
[10] CHEN X, LAN Q, ZHU Y, et al. Non-destructive identification of wool and cashmere fibers based on cascade optimizations of interval-wavelength selection using NIR spectroscopy[J]. Journal of Natural Fibers, 2024, 21(1): 2409877.
doi: 10.1080/15440478.2024.2409877
[11] ZHU Y, ZHANG Y, CHEN X, et al. Non-destructive identification of virgin cashmere and chemically modified wool fibers based on fractional order derivative and improved wavelength extraction algorithm using nir spectroscopy and chemometrics[J]. Journal Of Natural Fibers, 2024, 21(1), 2409901.
doi: 10.1080/15440478.2024.2409901
[12] SUN Xiting, YUAN Hongfu, SONG Chunfeng, et al. A novel drying-free identification method of cashmere textiles by NIR spectroscopy combined with an adaptive representation learning classification method[J]. Microchemical Journal, 2019, 149,104018.
doi: 10.1016/j.microc.2019.104018
[13] FANG X, XIN B, ZHAN Z, et al. Classification of wool and cashmere fiber based on LBP and DWT features: performance comparison of random forest, AdaBoost, and KNN classifiers[J]. The Journal of The Textile Institute, 2025,1-13.
[14] GONG Ping, FENG Yuchao, WEI Peiling, et al. Rapid identification of scoured protein fibers using near-infrared spectroscopy with machine learning: a comparison of handheld and benchtop devices[J]. Microchemical Journal, 2025, 208,112398.
doi: 10.1016/j.microc.2024.112398
[1] ZHENG Xiaohu, DU Siqi, LIU Yongqing, WANG Jian, CHEN Feng. Cotton yarn quality prediction based on one-dimensional convolutional neural network [J]. Journal of Textile Research, 2025, 46(09): 120-127.
[2] ZHANG Xiaoting, ZHAO Pengyu, PAN Ruru, GAO Weidong. Plaid fabric image retrieval method based on deep feature fusion [J]. Journal of Textile Research, 2025, 46(08): 89-95.
[3] WANG Qing, JIANG Yuefu, ZHAO Tiantian, ZHAO Shihang, LIU Jiayi. Pose estimation and bobbin grasping based on deep learning methods [J]. Journal of Textile Research, 2025, 46(07): 217-226.
[4] HAN Zhihui, WAN Ailan, HONG Liang, GAO Lizhong, XIA Fenglin. Damage analysis and finite element simulation of wool yarn in warping [J]. Journal of Textile Research, 2025, 46(07): 103-110.
[5] WEI Xuanxiang, FENG Yang, FAN Xiangyu, WU Minghua, YU Deyou. Yak wool decolorization using homogeneous advanced oxidation technology and its mechanism [J]. Journal of Textile Research, 2025, 46(06): 151-159.
[6] GU Mengshang, ZHANG Ning, PAN Ruru, GAO Weidong. Object detection of weaving fabric defects using frequency-domain convolution modules [J]. Journal of Textile Research, 2025, 46(05): 159-168.
[7] ZHU Menghui, GE Meitong, DONG Zhijia, CONG Honglian, MA Pibo. Structure and heat-moisture properties evaluation of double-sided wool/polyester weft-knitted fabrics [J]. Journal of Textile Research, 2025, 46(05): 179-185.
[8] ZHU Daquan, CUI Zhihua, GAO Pu, ZHU Jie, ZHANG Bin, ZHU Yuewen, CHEN Weiguo. Aromatic primary amination modification of mercerized wool and its room temperature diazo coupling staining [J]. Journal of Textile Research, 2025, 46(05): 186-194.
[9] ZHU Wenshuo, XUE Yuan, SUN Xianqiang, XUE Jingli, JIN Guang. Full color gamut matching of wool blended yarn based on seven primary color fibers [J]. Journal of Textile Research, 2025, 46(04): 71-80.
[10] YAO Yiting, AO Limin, ZHANG Zhanwang, SU Youpeng. Testing method of pile face properties for felting knitted wool fabrics [J]. Journal of Textile Research, 2025, 46(03): 100-108.
[11] LI Huan, MENG Wenjun, ZHANG Jing, JIANG Zhe, WEI Yimin, ZHOU Man, WANG Qiang. Dyeing wool with indigo dye in deep eutectic solvent system [J]. Journal of Textile Research, 2025, 46(03): 123-130.
[12] BAI Yuwei, XU Jian, ZHU Yaolin, DING Zhanbo, LIU Chenyu. Image detection of cotton nep in carding net based on improved YOLOv8 [J]. Journal of Textile Research, 2025, 46(03): 56-63.
[13] GUO Qing, MAO Yangshun, REN Yajie, LIU Jimin, WANG Huaifang, ZHU Ping. Simultaneous in-situ dyeing and flame retardant functionalization of wool fabrics based on laccase catalysis [J]. Journal of Textile Research, 2025, 46(02): 161-169.
[14] HUANG Xiaoyuan, HOU Jue, YANG Yang, LIU Zheng. Automatic generation of high-precision garment patterns based on improved deep learning model [J]. Journal of Textile Research, 2025, 46(02): 236-243.
[15] LIU Yanping, GUO Peiyao, WU Ying. Research progress in deep learning technology for fabric defect detection [J]. Journal of Textile Research, 2024, 45(12): 234-242.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!