Journal of Optoelectronics · Laser, Volume. 33, Issue 4, 421(2022)

Detection of raw cotton impurities based on residual and attention mechanism

XU Jian*, HAN Lin, LIU Xiuping, WANG Shengpeng, LU Zhen, and HU Daojie
Author Affiliations
  • [in Chinese]
  • show less

    Aiming at the problem of low accuracy of impurity detection in raw cotton,an improved algorithm based on residual and attention mechanism for detecting raw cotton impurity in Xinjiang cotton is proposed.The algorithm has high accuracy and is a two-stage algorithm.Firstly,the impurity images of raw cotton were collected and labeled,and then the data were enlarged to avoid the overfitting phenomenon in the training process.Then,visual attention mechanism is introduced into the original framework,and the accuracy of impurity detection of raw cotton is improved by advancing the algorithm structure.Secondly,by analyzing and comparing the accuracy of several different networks in detecting raw cotton impurities,ResNet50 was selected as the feature extraction network,which improved the complex feature extraction ability of the algorithm.Finally,ROI Align is used to reduce quantization errors and improve the accuracy of the detection of raw cotton impurities.Experimental results show that although the improved algorithm slightly increases the detection time,its overall detection accuracy is significantly better than the original algorithm,and the overall recognition accuracy can reach about 94.84%,which is 5.58% higher than the recognition rate of the faster region-based convolutional neural network (Faster R-CNN) before the improvement.Meanwhile,by comparing different network models,the results show that the improved Faster R-CNN has a better effect on the detection of raw cotton impurities.

    Tools

    Get Citation

    Copy Citation Text

    XU Jian, HAN Lin, LIU Xiuping, WANG Shengpeng, LU Zhen, HU Daojie. Detection of raw cotton impurities based on residual and attention mechanism[J]. Journal of Optoelectronics · Laser, 2022, 33(4): 421

    Download Citation

    EndNote(RIS)BibTexPlain Text
    Save article for my favorites
    Paper Information

    Received: Sep. 13, 2021

    Accepted: --

    Published Online: Oct. 9, 2024

    The Author Email: XU Jian (358020783@qq.com)

    DOI:10.16136/j.joel.2022.04.0646

    Topics