YOLOV5-CBAM-C3TR: an optimized model based on transformer module and attention mechanism for apple leaf disease detection

Apple trees face various challenges during cultivation. Apple leaves, as the key part of the apple tree for photosynthesis, occupy most of the area of the tree. Diseases of the leaves can hinder the healthy growth of trees and cause huge economic losses to fruit growers. The prerequisite for precise...

Cijeli opis

Bibliografski detalji
Glavni autori: Meng Lv, Wen-Hao Su
Format: Članak
Jezik:English
Izdano: Frontiers Media S.A. 2024-01-01
Serija:Frontiers in Plant Science
Teme:
Online pristup:https://www.frontiersin.org/articles/10.3389/fpls.2023.1323301/full
_version_ 1827381697245609984
author Meng Lv
Wen-Hao Su
author_facet Meng Lv
Wen-Hao Su
author_sort Meng Lv
collection DOAJ
description Apple trees face various challenges during cultivation. Apple leaves, as the key part of the apple tree for photosynthesis, occupy most of the area of the tree. Diseases of the leaves can hinder the healthy growth of trees and cause huge economic losses to fruit growers. The prerequisite for precise control of apple leaf diseases is the timely and accurate detection of different diseases on apple leaves. Traditional methods relying on manual detection have problems such as limited accuracy and slow speed. In this study, both the attention mechanism and the module containing the transformer encoder were innovatively introduced into YOLOV5, resulting in YOLOV5-CBAM-C3TR for apple leaf disease detection. The datasets used in this experiment were uniformly RGB images. To better evaluate the effectiveness of YOLOV5-CBAM-C3TR, the model was compared with different target detection models such as SSD, YOLOV3, YOLOV4, and YOLOV5. The results showed that YOLOV5-CBAM-C3TR achieved mAP@0.5, precision, and recall of 73.4%, 70.9%, and 69.5% for three apple leaf diseases including Alternaria blotch, Grey spot, and Rust. Compared with the original model YOLOV5, the mAP 0.5increased by 8.25% with a small change in the number of parameters. In addition, YOLOV5-CBAM-C3TR can achieve an average accuracy of 92.4% in detecting 208 randomly selected apple leaf disease samples. Notably, YOLOV5-CBAM-C3TR achieved 93.1% and 89.6% accuracy in detecting two very similar diseases including Alternaria Blotch and Grey Spot, respectively. The YOLOV5-CBAM-C3TR model proposed in this paper has been applied to the detection of apple leaf diseases for the first time, and also showed strong recognition ability in identifying similar diseases, which is expected to promote the further development of disease detection technology.
first_indexed 2024-03-08T14:07:59Z
format Article
id doaj.art-56aa49161bc2478b9b3c4a8dd58d1c61
institution Directory Open Access Journal
issn 1664-462X
language English
last_indexed 2024-03-08T14:07:59Z
publishDate 2024-01-01
publisher Frontiers Media S.A.
record_format Article
series Frontiers in Plant Science
spelling doaj.art-56aa49161bc2478b9b3c4a8dd58d1c612024-01-15T04:31:35ZengFrontiers Media S.A.Frontiers in Plant Science1664-462X2024-01-011410.3389/fpls.2023.13233011323301YOLOV5-CBAM-C3TR: an optimized model based on transformer module and attention mechanism for apple leaf disease detectionMeng LvWen-Hao SuApple trees face various challenges during cultivation. Apple leaves, as the key part of the apple tree for photosynthesis, occupy most of the area of the tree. Diseases of the leaves can hinder the healthy growth of trees and cause huge economic losses to fruit growers. The prerequisite for precise control of apple leaf diseases is the timely and accurate detection of different diseases on apple leaves. Traditional methods relying on manual detection have problems such as limited accuracy and slow speed. In this study, both the attention mechanism and the module containing the transformer encoder were innovatively introduced into YOLOV5, resulting in YOLOV5-CBAM-C3TR for apple leaf disease detection. The datasets used in this experiment were uniformly RGB images. To better evaluate the effectiveness of YOLOV5-CBAM-C3TR, the model was compared with different target detection models such as SSD, YOLOV3, YOLOV4, and YOLOV5. The results showed that YOLOV5-CBAM-C3TR achieved mAP@0.5, precision, and recall of 73.4%, 70.9%, and 69.5% for three apple leaf diseases including Alternaria blotch, Grey spot, and Rust. Compared with the original model YOLOV5, the mAP 0.5increased by 8.25% with a small change in the number of parameters. In addition, YOLOV5-CBAM-C3TR can achieve an average accuracy of 92.4% in detecting 208 randomly selected apple leaf disease samples. Notably, YOLOV5-CBAM-C3TR achieved 93.1% and 89.6% accuracy in detecting two very similar diseases including Alternaria Blotch and Grey Spot, respectively. The YOLOV5-CBAM-C3TR model proposed in this paper has been applied to the detection of apple leaf diseases for the first time, and also showed strong recognition ability in identifying similar diseases, which is expected to promote the further development of disease detection technology.https://www.frontiersin.org/articles/10.3389/fpls.2023.1323301/fulldeep learningapple leafdisease detectionYOLOv5attention mechanismtransformer encoder
spellingShingle Meng Lv
Wen-Hao Su
YOLOV5-CBAM-C3TR: an optimized model based on transformer module and attention mechanism for apple leaf disease detection
Frontiers in Plant Science
deep learning
apple leaf
disease detection
YOLOv5
attention mechanism
transformer encoder
title YOLOV5-CBAM-C3TR: an optimized model based on transformer module and attention mechanism for apple leaf disease detection
title_full YOLOV5-CBAM-C3TR: an optimized model based on transformer module and attention mechanism for apple leaf disease detection
title_fullStr YOLOV5-CBAM-C3TR: an optimized model based on transformer module and attention mechanism for apple leaf disease detection
title_full_unstemmed YOLOV5-CBAM-C3TR: an optimized model based on transformer module and attention mechanism for apple leaf disease detection
title_short YOLOV5-CBAM-C3TR: an optimized model based on transformer module and attention mechanism for apple leaf disease detection
title_sort yolov5 cbam c3tr an optimized model based on transformer module and attention mechanism for apple leaf disease detection
topic deep learning
apple leaf
disease detection
YOLOv5
attention mechanism
transformer encoder
url https://www.frontiersin.org/articles/10.3389/fpls.2023.1323301/full
work_keys_str_mv AT menglv yolov5cbamc3tranoptimizedmodelbasedontransformermoduleandattentionmechanismforappleleafdiseasedetection
AT wenhaosu yolov5cbamc3tranoptimizedmodelbasedontransformermoduleandattentionmechanismforappleleafdiseasedetection