Fruit Freshness Detection Explainable Model Based on Attention Mechanism

被引:0
|
作者
Zhang, Yinsheng [1 ]
Song, Zenglin [2 ]
Wang, Haiyan [1 ]
机构
[1] Zhejiang Food and Drug Quality & Safety Engineering Research Institute, Zhejiang Gongshang University, Hangzhou,310018, China
[2] School of Management and E-Business, Zhejiang Gongshang University, Hangzhou,310018, China
关键词
Cams;
D O I
10.16429/j.1009-7848.2024.10.003
中图分类号
学科分类号
摘要
In recent years, fruit freshness detection based on machine vision and deep learning has become one of the mainstream methods. This study explores the application of deep learning technologies, particularly convolutional neural networks (CNNs), in feature extraction for fruit freshness identification. This paper introduces the CBAM (Convolutional block attention module) attention mechanism module into the ResNet34 (34-layer residual network) backbone network to achieve fruit freshness detection. Class activation mapping (CAM) techniques are employed to visualize the heatmaps of pixels that reflect the critical features in the images. On a public fruit dataset, the classification accuracy of the ResNet34 network before and after introducing the attention mechanism is 96.80% and 99.71%, respectively. The CAM heatmaps show that the attention model can more accurately capture the regions of interest in the fruit images, indicating that the proposed model improves the feature extraction capability of deep learning, not only enhancing the model's generalization ability but also increasing its interpretability. © 2024 Chinese Institute of Food Science and Technology. All rights reserved.
引用
收藏
页码:28 / 36
相关论文
共 50 条
  • [1] Object Detection Model Based on Attention Mechanism
    Han, Mengxue
    Tang, Xiangyan
    Yang, Yue
    Huang, Zhennan
    BIG DATA AND SECURITY, ICBDS 2023, PT I, 2024, 2099 : 74 - 88
  • [2] An explainable attention-based TCN heartbeats classification model for arrhythmia detection
    Zhao, Yuxuan
    Ren, Jiadong
    Zhang, Bing
    Wu, Jinxiao
    Lyu, Yongqiang
    BIOMEDICAL SIGNAL PROCESSING AND CONTROL, 2023, 80
  • [3] Study on Egg Freshness Detection Based on Inception and Attention
    Jiang, Min-lan
    Mo, Li-yun
    Wu, Pei-lun
    SIMULATION TOOLS AND TECHNIQUES, SIMUTOOLS 2021, 2022, 424 : 613 - 626
  • [4] Fruit surface defects detection and classification based on attention model
    He, P. (gbjdjiaxu@163.com), 1600, Binary Information Press, P.O. Box 162, Bethel, CT 06801-0162, United States (08):
  • [5] DaSAM: Disease and Spatial Attention Module-Based Explainable Model for Brain Tumor Detection
    Tehsin, Sara
    Nasir, Inzamam Mashood
    Damasevicius, Robertas
    Maskeliunas, Rytis
    BIG DATA AND COGNITIVE COMPUTING, 2024, 8 (09)
  • [6] Small object detection model based on feature fusion of attention mechanism
    Chen H.
    Zhen X.
    Zhao T.
    Huazhong Keji Daxue Xuebao (Ziran Kexue Ban)/Journal of Huazhong University of Science and Technology (Natural Science Edition), 2023, 51 (03): : 60 - 66
  • [7] EEG detection and recognition model for epilepsy based on dual attention mechanism
    Huang, Zhentao
    Yang, Yuyao
    Ma, Yahong
    Dong, Qi
    Su, Jianyun
    Shi, Hangyu
    Zhang, Shanwen
    Hu, Liangliang
    SCIENTIFIC REPORTS, 2025, 15 (01):
  • [8] Smart Contract Vulnerability Detection Based on Hybrid Attention Mechanism Model
    Wu, Huaiguang
    Dong, Hanjie
    He, Yaqiong
    Duan, Qianheng
    APPLIED SCIENCES-BASEL, 2023, 13 (02):
  • [9] Explainable attention ResNet18-based model for asthma detection using stethoscope lung sounds
    Topaloglu, Ihsan
    Barua, Prabal Datta
    Yildiz, Arif Metehan
    Keles, Tugce
    Dogan, Sengul
    Baygin, Mehmet
    Gul, Huseyin Fatih
    Tuncer, Turker
    Tan, Ru-San
    Acharya, U. Rajendra
    ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE, 2023, 126
  • [10] Fruit freshness detection based on multi-task convolutional neural network
    Zhang, Yinsheng
    Yang, Xudong
    Cheng, Yongbo
    Wu, Xiaojun
    Sun, Xiulan
    Hou, Ruiqi
    Wang, Haiyan
    CURRENT RESEARCH IN FOOD SCIENCE, 2024, 8