针对传统的奶粉品质国际标准检测方法中存在的主观性和滞后性等问题,本研究提出了一种基于残差网络(residual network,ResNet)的奶粉分散性和堆积密度的快速分类检测方法。在本研究中,使用的数据集包括499 张在10 倍光学显微镜下拍摄的速溶全脂奶粉颗粒微观分布图像,这些图像来自10 个不同的样本组。首先,按照国际标准方法检测这10 组样本的分散性和堆积密度,进而基于测试结果划分不同的分散性和堆积密度级别。随后,利用这些微观图像对ResNet模型进行训练,以实现对不同样本的有效分类。最终,通过分类结果预测速溶全脂奶粉的分散性、松散密度和振实密度。此外,本研究还对比了ResNet、EfficientNetV2和Swin Transformer等不同深度学习模型的预测效果。结果表明,基于ResNet 152的深度学习模型在预测速溶全脂奶粉的分散性、松散密度和振实密度方面表现最佳,其在测试集上的准确率分别达到97.50%、98.75%和95.00%。这些深度学习模型在奶粉品质检测中的出色性能不仅证明了该方法能够实时、准确地预测奶粉的分散性和堆积密度,同时也为奶粉品质的在线检测提供了新的技术途径。
To address the problems of the traditional international standard methods for milk powder quality detection such as subjectivity and lag, this study proposed a rapid method for the detection of the dispersibility and bulk density of milk powder based on residual network (ResNet). The dataset used in this study included 499 particle distribution images taken for 10 groups of instant whole milk powder samples under a 10 × optical microscope. Initially, these sample groups were tested for dispersibility and bulk density using the international standard methods, and classified into different levels of dispersibility and bulk density based on the test results. Subsequently, these microscopic images were used to train the ResNet to facilitate effective classification of different samples. Ultimately, the classification results were used to predict the dispersibility, loose density, and tapped density of instant whole milk powder. Additionally, this study compared the predictive performance of different deep learning models, including ResNet, EfficientNetV2, and Swin Transformer. The results indicated that the deep learning model based on ResNet 152 exhibited the best performance in predicting the dispersibility, loose density, and tapped density of instant whole milk powder, with accuracy rates of 97.50%, 98.75%, and 95.00%, respectively for the test set. The exceptional performance of these deep learning models in milk powder quality detection not only proves that this method can predict the dispersibility and bulk density of milk powder in real time and accurately, but also provides a new technological approach for online quality detection of milk powder.