Abstract
Nowadays, pesticides are generally used to control diseases and pests. However, many farmers often do not fully understand what diseases and pests are and the extent of their effects. For this reason, the optimal use time of pesticides may be missed, or excessive amounts of pesticides may be used. For this reason, early detection and identification of the disease and pest should be made. One of the methods that allows early detection is deep learning. In this study, deep learning methods were used to detect shot-hole disease, which causes damage to the fruit part of the cherry tree, one of the Prunus species, in real time via a smartphone. To achieve this determination, studies were first carried out on object recognition algorithms in three different methodologies. These models are YOLOv8s, DETR Transformer and RTMDet MMDetection. In the training and test results performed on the created hybrid dataset, it was seen that the most successful algorithm was YOLOv8s. For the YOLOv8s algorithm, mAP50, mAP50-95, precision and recall performance metrics were found to be 92.7%, 58.9%, 86.7% and 90.2%, respectively. Since YOLOv8s showed the highest successful performance, this algorithm was used in the study for real-time detection. In the real-time experiment, it was determined that it correctly detected 115 of 119 images on the test dataset with an F1 score value of over 80%. As the output of the study, a QR (Quick Response) code was created in the study so that real-time detection can be attempted with a smartphone.
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10341-024-01085-w/MediaObjects/10341_2024_1085_Fig1_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10341-024-01085-w/MediaObjects/10341_2024_1085_Fig2_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10341-024-01085-w/MediaObjects/10341_2024_1085_Fig3_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10341-024-01085-w/MediaObjects/10341_2024_1085_Fig4_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10341-024-01085-w/MediaObjects/10341_2024_1085_Fig5_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10341-024-01085-w/MediaObjects/10341_2024_1085_Fig6_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10341-024-01085-w/MediaObjects/10341_2024_1085_Fig7_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10341-024-01085-w/MediaObjects/10341_2024_1085_Fig8_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10341-024-01085-w/MediaObjects/10341_2024_1085_Fig9_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10341-024-01085-w/MediaObjects/10341_2024_1085_Fig10_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10341-024-01085-w/MediaObjects/10341_2024_1085_Fig11_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10341-024-01085-w/MediaObjects/10341_2024_1085_Fig12_HTML.png)
Similar content being viewed by others
References
Ahmadpour A, Ghosta Y, Javan-Nikkhah M, Fatahi R, Ghazanfari K (2009) Isolation and pathogenicity tests of Iranian cultures of the shot hole pathogen of Prunus species, Wilsonomyces carpophilus. Australas Plant Dis Notes 2009(4):133–134. https://doi.org/10.1071/DN09054
Avelino J, Cristancho M, Georgiou S, Imbach P, Aguilar L, Bornemann G (2015) The coffee rust crises in Colombia and Central America (2008–2013): impacts, plausible causes and proposed solutions. Food Sec 7:303–321. https://doi.org/10.1007/s12571-015-0446-9
Bai R, Shen F, Wang M, Lu J, Zhang Z (2023) Improving detection capabilities of YOLOv8‑n for small objects in remote sensing imagery: towards better precision with simplified model. Complexity. https://doi.org/10.21203/rs.3.rs-3085871/v1
Barman U, Choudhury RD, Sahu D, Barman GG (2020) Comparison of convolution neural networks for smartphone image based real time classification of citrus leaf disease. Comput Electron Agric 177:105661. https://doi.org/10.1016/j.compag.2020.105661
Carion N, Massa F, Synnaeve G, Usunier N, Kirillov A, Zagoruyko S (2020) End-to-end object detection with transformers. In: Computer vision and pattern recognition (cs.CV) 2020 https://doi.org/10.48550/ar**v.2005.12872
Feng C, Zhong Y, Gao Y, Scott MR, Huang W (2021) TOOD: task-aligned one-stage object detection. In: Proceedings of the 2021 IEEE International Conference on Computer Vision (ICCV), Montreal, QC, Canada, 10–17 October 2021, pp 3490–3499
Gökçe AY, Karahan A, Pala H, Gökalp K, Erten L, Çeliker M, Uzunoğulları N (2008) Zirai Mücadele Teknik Talimatları vol 4. Tarımsal Araştırmalar ve Politikalar Genel Müdürlüğü-Bitki Sağlığı Araştırmaları Daire Başkanlığı (In Turkish)
Huang ZJ, Li LT, Krizek GC, Sun LH (2023) Research on traffic sign detection based on improved YOLOv8. J Comput Commun 11:226–232. https://doi.org/10.4236/jcc.2023.117014
Ivanová H, Kalocaiova M, Bolvansky M (2012) Shot-hole disease on Prunus persica—the morphology and biology of Stigmina carpophila. Folia Oecologica 39(1):21–27
Jocher G, Chaurasia A, Qiu J (2023) YOLO by ultralytics. https://github.com/ultralytics/ultralytics. Accessed 3 Oct 2023
Khalid M, Sarfraz MS, Iqbal U, Aftab MU, Niedbala G, Rauf HT (2023) Real-time plant health detection using deep convolutional neural networks. Agriculture 13:510. https://doi.org/10.3390/agriculture13020510
Leng S, Musha Y, Yang Y, Feng G (2023) CEMLB-YOLO: efficient detection model of maize leaf blight in complex field environments. Appl Sci 13:9285. https://doi.org/10.3390/app13169285
Li S, Liu S, Cai Z, Liu Y, Chen G, Guoqing G (2023) TC-YOLOv5: rapid detection of floating debris on raspberry Pi 4B. J Real-time Image Proc 20:17. https://doi.org/10.1007/s11554-023-01265-z
Li X, Wang W, Wu L, Chen S, Hu X, Li J, Tang J, Yang J (2020) Generalized focal loss: learning qualified and distributed bounding boxes for dense object detection (ar**v 2020, ar**v:2006.04388)
Ling S, Wang N, Li J, Wang H, Ding L, Li Y, Nie J (2023) Accurate recognition of jujube tree trunks based on CLAHE image enhancement and improved YOLOv8 https://doi.org/10.21203/rs.3.rs-3240060/v1
Lou H, Duan X, Guo J, Liu H, Gu J, Bi L, Chen H (2023) DC-YOLOv8: small-size object detection algorithm based on camera sensor. Electronics 12:2323. https://doi.org/10.3390/electronics12102323
Luo Y, Cai X, Qi J, Guo D, Che W (2023) FPGA–accelerated CNN for real-time plant disease identification. Comput Electron Agric 207:107715. https://doi.org/10.1016/j.compag.2023.107715
Lyu C, Zhang W, Huang H, Zhou Y, Wang Y, Liu Y, Zhang S, Chen K (2022) RTMDet: An Empirical Study of Designing Real-Time Object Detectors. Comput Vis Pattern Recognit. https://doi.org/10.48550/ar**v.2212.07784
Orchi H, Sadik M, Khaldoun M, Sabir E (2023) Real-time detection of crop leaf diseases using enhanced YOLOv8 algorithm. In: International Wireless Communications and Mobile Computing (IWCMC) 2023. IEEE, https://doi.org/10.1109/IWCMC58020.2023.10182573
Ozguven MM (2020) Deep learning algorithms for automatic detection and classification of mildew disease in cucumber. Fresenius Environ Bull 29(08):7081–7087
Ozguven MM (2023) The digital age in agriculture. CRC Press
Ozguven M, Adem K (2019) Automatic detection and classification of leaf spot disease in sugar beet using deep learning algorithms. Phys A 535:122537. https://doi.org/10.1016/j.physa.2019.122537
Ozguven MM, Altas Z (2022) A new approach to detect mildew disease on cucumber (Pseudoperonospora cubensis) leaves with image processing. J Plant Pathol. https://doi.org/10.1007/s42161-022-01178-z
Ozguven MM, Yanar Y (2022) The technology uses in the determination of sugar beet diseases. In: Misra V, Srivastava S, Mall AK (eds) Sugar beet cultivation, management and processing. Springer, Singapore https://doi.org/10.1007/978-981-19-2730-0_30
Pavithra A, Kalpana G, Vigneswaran T (2023) Deep learning-based automated disease detection and classification model for precision agriculture. Soft Comput. https://doi.org/10.1007/s00500-023-07936-0
Redmon J, Farhadi A (2018) YOLOv3: an incremental improvement (ar**v 2018, ar**v:1804.02767)
Saleem MH, Khanchi S, Potgieter J, Arif K (2020) Image-based plant disease identification by deep learning meta-architectures. Plants 9:1451. https://doi.org/10.3390/plants9111451
Savary S, Willocquet L (2014) Simulation modeling in botanical epidemiology and crop loss analysis. Plant Health Instr: 173
Terven JR, Cordova-Esparza DM (2023) A comprehensive review of Yolo: from Yolov1 and beyond (ar**v:2304.00501v4 [cs.CV])
Uygun T, Ozguven MM, Yanar D (2020) A new approach to monitor and assess the damage caused by two-spotted spider mite. Exp Appl Acarol 82(3):335–346. https://doi.org/10.1007/s10493-020-00561-8
Vaidya S, Kavthekar S, Joshi A (2023) Leveraging YOLOv7 for plant disease detection. In: 2023 4th International Conference on Innovative Trends in Information Technology (ICITIIT). IEEE, https://doi.org/10.1109/ICITIIT57246.2023.10068590
Wang G, Chen Y, An P, Hong H, Hu J, Huang T (2023) UAV-YOLOv8: a small-object-detection model based on improved YOLOv8 for UAV aerial photography scenarios. Sensors 23:7190. https://doi.org/10.3390/s23167190
**e S, Sun H (2023) Tea-YOLOv8s: a tea bud detection model based on deep learning and computer vision. Sensors 23:6576. https://doi.org/10.3390/s23146576
**e X, Ma Y, Liu B, He J, Li S, Wang H (2020) A deep-learning-based real-time detector for grape leaf diseases using improved convolutional neural networks. Front Plant Sci 11:751. https://doi.org/10.3389/fpls.2020.00751
Yağ İ, Altan A (2022) Artificial intelligence-based robust hybrid algorithm design and implementation for real-time detection of plant diseases in agricultural environments. Biology 11(12):1732. https://doi.org/10.3390/biology11121732
Yousefi A, Hajian-Shahri MH (2014) Shot hole disease, survival and pathogenicity of the causal agent on stone fruit trees in Northeast Iran. J Crop Prot 3(4):563–571
Zhai X, Huang Z, Li T, Liu H, Wang S (2023) YOLO-drone: an optimized YOLOv8 network for tiny UAV object detection. Electronics 12:3664. https://doi.org/10.3390/electronics12173664
Zhang L, Ding G, Li C, Li D (2023) DCF-Yolov8: an improved algorithm for aggregating low-level features to detect agricultural pests and diseases. Agronomy 13:2012. https://doi.org/10.3390/agronomy13082012
Zheng Z, Wang P, Liu W, Li J, Ye R, Ren D (2020) Distance-IoU loss: Faster and better learning for bounding box regression. In: Proceedings of the AAAI Conference on Artificial Intelligence, New York, NY, USA, 7–12 February 2020, pp 12993–13000
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
T. Uygun and M.M. Ozguven declare that they have no competing interests.
Additional information
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Uygun, T., Ozguven, M.M. Real-Time Detection of Shot-Hole Disease in Cherry Fruit Using Deep Learning Techniques via Smartphone. Applied Fruit Science 66, 875–885 (2024). https://doi.org/10.1007/s10341-024-01085-w
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10341-024-01085-w