KSM Vision sp. z o.o., ul. Sokołowska 9/117, 01-142 Warsaw, Poland.
Sensors (Basel). 2021 Jan 12;21(2):501. doi: 10.3390/s21020501.
Product quality control is currently the leading trend in industrial production. It is heading towards the exact analysis of each product before reaching the end customer. Every stage of production control is of particular importance in the food and pharmaceutical industries, where, apart from visual issues, additional safety regulations are demanded. Many production processes can be controlled completely contactless through the use of machine vision cameras and advanced image processing techniques. The most dynamically growing sector of image analysis methods are solutions based on deep neural networks. Their major advantages are fast performance, robustness, and the fact that they can be exploited even in complicated classification problems. However, the use of machine learning methods on high-performance production lines may be limited by inference time or, in the case of multiformated production lines, training time. The article presents a novel data preprocessing (or calibration) method. It uses prior knowledge about the optical system, which enables the use of the lightweight Convolutional Neural Network (CNN) model for product quality control of polyethylene terephthalate (PET) bottle caps. The combination of preprocessing with the lightweight CNN model resulted in at least a five-fold reduction in prediction and training time compared to the lighter standard models tested on ImageNet, without loss of accuracy.
产品质量控制是当前工业生产的主导趋势。它正朝着在到达最终客户之前对每个产品进行精确分析的方向发展。在食品和制药行业,生产控制的每一个阶段都非常重要,除了视觉问题外,还需要额外的安全规定。许多生产过程可以通过使用机器视觉相机和先进的图像处理技术完全非接触式控制。基于深度神经网络的图像分析方法是增长最快的领域。它们的主要优点是性能快、鲁棒性强,并且即使在复杂的分类问题中也可以利用它们。然而,在高性能生产线上使用机器学习方法可能会受到推理时间的限制,或者在多格式生产线的情况下,受到训练时间的限制。本文提出了一种新颖的数据预处理(或校准)方法。它使用了有关光学系统的先验知识,这使得可以在聚对苯二甲酸乙二醇酯(PET)瓶盖的产品质量控制中使用轻量级卷积神经网络(CNN)模型。与在 ImageNet 上测试的较轻的标准模型相比,预处理与轻量级 CNN 模型的结合使得预测和训练时间至少减少了五倍,而准确性没有损失。