Journal of System Simulation ›› 2022, Vol. 34 ›› Issue (12): 2575-2583.doi: 10.16182/j.issn1004731x.joss.22-FZ0925

• Modeling Theory and Methodology • Previous Articles     Next Articles

Simulation Research on Appearance Detection of Ampoules Based on Lightweight Network and Model Compression

Zhihao Zhu(), Yan Wang(), Zhicheng Ji   

  1. Engineering Research Center of Internet of Things Technology Applications Ministry of Education, Jiangnan University, Wuxi 214122, China
  • Received:2022-08-07 Revised:2022-09-09 Online:2022-12-31 Published:2022-12-21
  • Contact: Yan Wang E-mail:Zhuzhihaozzhyx@163.com;wangyan@jiangnan.edu.cn

Abstract:

Aiming at the large scale and redundant parameters of target detection network model, which result in the difficult to deploy the ampoule bottle appearance defect detection model to edge devices, an LC-Faster R-CNN defect detection algorithm based on lightweight network and model compression is proposed. MobileNet-V2 is used as the backbone, and the redundant channels in the convolutional network are trimmed by model pruning strategy. The floating-point parameters are quantized into integers through saturation truncation mapping. Knowledge distillation is used to restore the accuracy of the compressed network. Tested on the self-built ampoule appearance defect dataset, the model volume is reduced by 69.6% and the average accuracy is 89.3%. The simulation results show that the compressed target detection model can meet the requirements of the appearance detection of ampoules in practical applications.

Key words: object detection, model pruning, parameter quantization, knowledge distillation, Faster R-CNN

CLC Number: