English

中国农机化学报

中国农机化学报 ›› 2022, Vol. 43 ›› Issue (6): 181-189.DOI: 10.13733/j.jcam.issn.20955553.2022.06.024

• 农业智能化研究 • 上一篇    下一篇

卷积神经网络算法在核桃仁分类中的研究

赵腾飞1,胡国玉1,周建平1, 2,刘广1,陈旭东1,董娅兰1   

  1. 1. 新疆大学机械工程学院,乌鲁木齐市,830047; 2. 新疆维吾尔自治区农牧机器人
    及智能装备研究中心,乌鲁木齐市,830047
  • 出版日期:2022-06-15 发布日期:2022-06-21
  • 基金资助:
    叶城县农产品销售“双线九进”和沪喀品牌推广项目(KSHSY20190901)

Research on convolutional neural network algorithm for walnut kernel classification identification

Zhao Tengfei, Hu Guoyu, Zhou Jianping, Liu Guang, Chen Xudong, Dong Yalan.    

  • Online:2022-06-15 Published:2022-06-21

摘要: 为进一步提高核桃仁分类识别的准确性和实时性,提出一种基于卷积神经网络的算法模型。该模型包括输入层,4个卷积层和池化层构成的隐藏层,2个全连接层和输出层,并通过参数的优化设计来增强卷积网络模型的泛化性和鲁棒性。通过OpenVINOTM(Open Visual Inference & Neural Network Optimization)工具套件进行推理优化缩短算法执行时间,以期提高识别的实时性。将训练后的卷积网络模型进行推理优化并进行试验验证。试验结果表明:未经过推理优化的卷积网络模型的识别正确率为98.31%,平均识别实别时间为323.2 ms,经过推理优化的卷积网络模型的识别正确率为99.44%,平均识别实别时间为29.6 ms,相比未经过推理优化的卷积网络模型在准确率以及实时性方面都有所提升,且执行时间提升10倍左右,经过推理优化的卷积网络模型能够较好地满足核桃仁的分类识别,具有一定的适用性。

关键词: 核桃仁分类, 图像预处理, 卷积神经网络, 推理优化

Abstract: In order to further improve the accuracy and realtime performance of walnut classification recognition, an algorithm model based on the convolutional neural network was proposed, which included an input layer, a hidden layer composed of four convolutional and pooling layers, two fully connected layers, and an output layer. The generalization and robustness of the convolutional network model were enhanced by the optimal design of parameters and shortened by inference optimization with the OpenVINOTM(Open Visual Inference & Neural Network Optimization) tool suite. The trained convolutional network model was inferentially optimized and experimentally validated. The test results showed that the recognition accuracy of the convolutional network model without inference optimization was 98.31%, and the average real recognition time was 323.2 ms. The recognition accuracy of the convolutional network model with inference optimization was 99.44%, and the average real recognition time was 29.6 ms. Compared with the convolutional network model without inference optimization, the accuracy and realtime performance were improved, and the execution time was increased by about ten times. The algorithm model of reasoning optimization can better meet the classification and recognition of walnut kernel and has certain applicability.

Key words: walnut kernel classification, image preprocessing, convolutional neural network, inference optimization

中图分类号: