Cigarette-Group End-Face Defect Detection Based on an Improved DEIM
To address the diverse forms of cigarette-group end-face defects, the weak visual features of small defects, and the limited computing resources of edge devices, this study proposes a lightweight detection method based on an improved DEIM-S model. First, MobileNetV4 replaces the original backbone, using its Universal Inverted Bottleneck structure to reduce the computational cost of feature extraction. Second, a C2F-IDWB module combines the C2F structure with InceptionDWBlock to strengthen multiscale defect feature extraction and fusion. Finally, an Efficient Multi-Scale Attention (EMA) mechanism is introduced at the encoder’s P5 feature output to enhance responses in defective regions and suppress irrelevant background information. Experiments were conducted on a self-developed da-taset containing five defect categories: flattened ends, reversed cigarettes, missing tobacco, broken cigarette tips, and broken cigarette bodies. The improved model achieved AP50 and AP50:95 values of 99.1% and 81.07%, respectively, exceeding the baseline by 3.0 and 3.54 percentage points. Its computational cost fell by 28.3% to 17.82 G FLOPs, and its model size decreased by 21.9% to 30.6 MB. Under the comparative experimental conditions used in this study, it achieved a detection speed of 189.56 FPS. A PTH → ONNX → RKNN model conversion procedure and a deployment scheme for the RK3588 edge platform are also presented. By improving detection accuracy while reducing computational cost, the proposed method provides a technical reference for real-time detection of cigarette-group end-face defects in GDX2 packaging machines.
Authors
- Xuhui Ye (ORCID: https://orcid.org/0000-0002-9333-061X)
- Zhong Li
- Lilu Huang
- Yan Chen
- Miao Zheng
Institutions
- Wuhan Donghu University (CN)
- Hubei University of Technology (CN)
Publication Details
- Journal
- Research Square
- Published
- 2026-11-24
- DOI
- https://doi.org/10.21203/rs.3.rs-11256168/v1
- Primary Topic
- Industrial Vision Systems and Defect Detection
- Type
- preprint
Funders
- Hubei Provincial Department of Education
- Natural Science Foundation of Hubei Province