English

中国农机化学报

中国农机化学报 ›› 2024, Vol. 45 ›› Issue (6): 135-141.DOI: 10.13733/j.jcam.issn.2095-5553.2024.06.021

• 农业信息化工程 • 上一篇    下一篇

基于多尺度卷积和注意力机制的枣品种识别

雷浩,苑迎春,何振学   

  1. (河北农业大学信息科学与技术学院,河北保定,071001)
  • 出版日期:2024-06-15 发布日期:2024-06-08
  • 基金资助:
    国家自然科学基金(62102130);河北省自然科学基金(F2020204003)

Jujube varieties recognition based on multiscale convolution and attention mechanism

Lei Hao, Yuan Yingchun, He Zhenxue   

  1. (College of Information Science and Technology, Hebei Agricultural University, Baoding, 071001, China)
  • Online:2024-06-15 Published:2024-06-08

摘要:

为提高自然场景下枣品种识别方法的准确率,提出一种融合多尺度卷积和注意力机制的枣品种识别模型(Jujube-ResNet-18)。以自然场景下的10类枣品种为对象,根据枣品种图像的特点,该模型在ResNet-18基础上进行改进。引入多尺度卷积模块,增强模型对枣果多尺度特征的提取能力;在每个残差块中加入注意力机制CBAM,提高枣果特征信息权重,减弱复杂背景等无用特征的影响。试验结果表明,Jujube-ResNet-18在枣品种数据集上的准确率为89.5%,参数量和权重大小分别为1.135×107和43.41 MB。与其他算法相比,Jujube-ResNet-18有更好的特征提取能力、抗干扰能力和较小的模型复杂度,可为自然场景下的枣品种识别研究提供参考。

关键词: 枣品种识别, 深度学习, 残差网络, 多尺度卷积, 注意力机制

Abstract:

In order to improve the accuracy of jujube varieties recognition method in natural scenes, a jujube varieties recognition model (Jujube-ResNet-18) was proposed by integrating multi-scale convolution and attention mechanism. In this study, ten types of jujube varieties under natural scenes were taken as objects. According to the characteristics of jujube variety images, the model in this paper was improved on the basis of ResNet-18. Firstly, the multi-scale convolution module was introduced to enhance the ability of the model to extract multiscale features of jujube fruit. Secondly, the attentional mechanism CBAM was added into each residual block to increase the weight of jujube fruit feature information and weaken the influence of complex background and other useless features. The experimental results showed that the accuracy of Jujube-ResNet-18 on the date variety dataset was 89.5%, while the number of parameters and weight were only 1.135×107 and 43.41 MB, respectively. Compared with other algorithms, Jujube-ResNet-18 has better feature extraction ability, antiinterference ability and smaller model complexity, which can provide a reference for the study of jujube varieties recognition in natural scenes.

Key words: jujube varieties recognition, deep learning, residual network, multi-scale convolution, attention mechanism

中图分类号: