Author:
Zhang Lei,Li Dailin,Xu Dayong,Zhang Erqiang,Liu Zhenyu,Li Jiakang,Du Jinsong,Li Shanlian
Abstract
In the tobacco industry, impurity detection is an important prerequisite for ensuring the quality of tobacco. However, in the actual production process, the complex background environment and the variability of impurity shapes can affect the accuracy of impurity detection by tobacco robots, which leads to a decrease in product quality and an increase in health risks. To address this problem, we propose a new online detection method of tobacco impurities for tobacco robot. Firstly, a BCFormer attention mechanism module is designed to effectively mitigate the interference of irrelevant information in the image and improve the network's ability to identify regions of interest. Secondly, a Dual Feature Aggregation (DFA) module is designed and added to Neck to improve the accuracy of tobacco impurities detection by augmenting the fused feature maps with deep semantic and surface location data. Finally, to address the problem that the traditional loss function cannot accurately reflect the distance between two bounding boxes, this paper proposes an optimized loss function to more accurately assess the quality of the bounding boxes. To evaluate the effectiveness of the algorithm, this paper creates a dataset specifically designed to detect tobacco impurities. Experimental results show that the algorithm performs well in identifying tobacco impurities. Our algorithm improved the mAP value by about 3.01% compared to the traditional YOLOX method. The real-time processing efficiency of the model is as high as 41 frames per second, which makes it ideal for automated inspection of tobacco production lines and effectively solves the problem of tobacco impurity detection.
Reference39 articles.
1. “Cascade R-CNN: delving into high quality object detection,”;Cai,2018
2. Research on tobacco foreign body detection device based on machine vision;Chao;Trans. Inst. Meas. Control,2020
3. Dawnbench: an end-to-end deep learning benchmark and competition;Coleman;Training,2017
4. Research on online recognition algorithm of tobacco foreign body based on adaptive clustering and color difference analysis;Fuguang;J. Chongqing Educ. Inst,2012
5. Levels of heavy metals in the raw and processed Ethiopian tobacco leaves;Girma Regassa;Springerplus,2016