论文标题
智能推断基于多重卷积神经网络的条形码解码
Smart Inference for Multidigit Convolutional Neural Network based Barcode Decoding
论文作者
论文摘要
数十年来,条形码无处不在,并且在大多数关键日常活动中已被使用。但是,大多数传统解码器都需要在相对标准的条件下进行良好的条形码。虽然现实中通常会捕获怀特的条件条形码,例如未充满障碍,遮挡,模糊,皱纹和旋转的条形码,但这些传统解码器表现出识别的弱点。几项作品试图解决这些具有挑战性的条形码,但仍然存在许多局限性。这项工作旨在使用深层卷积神经网络解决解码问题,并有可能在便携式设备上运行。首先,我们根据具有校验和测试时间增强的功能(在训练有素的模型的预测阶段被称为智能推理(SI))的特征,对推理进行了特殊的修改。 SI大大提高了准确性,并降低了训练有素的模型的错误预测。其次,我们在各种具有挑战性的条件下对实际捕获的1D条形码进行了大量的实际评估数据集,以大力测试我们的方法,这是其他研究人员公开可用的。实验的结果证明了SI的有效性,其精度最高为95.85%,这表现优于评估集中的许多现有解码器。最后,我们通过知识蒸馏成功地将最佳模型最小化,该模型在浅层模型上具有很高的精度(90.85%),而在实际边缘设备上,每个图像的良好推理速度为34.2 ms。
Barcodes are ubiquitous and have been used in most of critical daily activities for decades. However, most of traditional decoders require well-founded barcode under a relatively standard condition. While wilder conditioned barcodes such as underexposed, occluded, blurry, wrinkled and rotated are commonly captured in reality, those traditional decoders show weakness of recognizing. Several works attempted to solve those challenging barcodes, but many limitations still exist. This work aims to solve the decoding problem using deep convolutional neural network with the possibility of running on portable devices. Firstly, we proposed a special modification of inference based on the feature of having checksum and test-time augmentation, named as Smart Inference (SI) in prediction phase of a trained model. SI considerably boosts accuracy and reduces the false prediction for trained models. Secondly, we have created a large practical evaluation dataset of real captured 1D barcode under various challenging conditions to test our methods vigorously, which is publicly available for other researchers. The experiments' results demonstrated the SI effectiveness with the highest accuracy of 95.85% which outperformed many existing decoders on the evaluation set. Finally, we successfully minimized the best model by knowledge distillation to a shallow model which is shown to have high accuracy (90.85%) with good inference speed of 34.2 ms per image on a real edge device.