SVTR-MG: an optical character recognition network for food packaging spray codes
1School of Electrical Engineering, Shanghai Dianji University, 300 Shuihua Road, Pudong New District, Shanghai, 201306, Shanghai, China. pansb@sdju.edu.cn.
This study introduces SVTR-MG, a novel network for recognizing spray codes on product packaging. It achieves high accuracy and speed, improving food traceability and anti-counterfeiting efforts in industrial settings.
Area of Science:
- Computer Vision
- Machine Learning
- Industrial Automation
Background:
- Spray codes are vital for food traceability, quality control, and anti-counterfeiting.
- Accurate spray code recognition in industrial settings is challenging due to small regions, poor print quality, reflective surfaces, and deformation.
Purpose of the Study:
- To propose a lightweight, improved network (SVTR-MG) for accurate spray code recognition.
- To enhance the perception of characters under multi-scale and complex background conditions.
- To improve robustness against uneven illumination and structural distortions.
Main Methods:
- Developed the SVTR-MG network featuring a Multi-scale Dilated Feature Aggregation (MDFA) module.
- Incorporated a Global Context Self-Attention (GCSA) module combining channel and spatial attention.
- Implemented a dynamic dictionary mapping mechanism for optimized decoding.
Main Results:
- SVTR-MG achieved 93.2% recognition accuracy in complex industrial scenarios.
- The model demonstrated an inference speed of 142 FPS.
- Outperformed mainstream OCR methods by approximately 5%.
Conclusions:
- SVTR-MG meets real-time and accuracy requirements for industrial deployment.
- The proposed modules effectively address challenges in spray code recognition.
- The network enhances food traceability, quality control, and anti-counterfeiting verification.
More Related Videos
08:43PTR-ToF-MS Coupled with an Automated Sampling System and Tailored Data Analysis for Food Studies: Bioprocess Monitoring, Screening and Nose-space Analysis
Published on: May 11, 2017
06:25Author Spotlight: Assessment of Visual Acuity in Central Vision Loss Through Motion-Based Peripheral Vision Testing
Published on: February 23, 2024
