PP-YOLO: Deep learning based detection model to detect apple and cherry trees in orchard based on Histogram and Wavelet preprocessing techniques

IF 8.9 1区 农林科学 Q1 AGRICULTURE, MULTIDISCIPLINARY Computers and Electronics in Agriculture Pub Date : 2025-05-01 Epub Date: 2025-02-08 DOI:10.1016/j.compag.2025.110052
Cemalettin Akdoğan , Tolga Özer , Yüksel Oğuz
{"title":"PP-YOLO: Deep learning based detection model to detect apple and cherry trees in orchard based on Histogram and Wavelet preprocessing techniques","authors":"Cemalettin Akdoğan ,&nbsp;Tolga Özer ,&nbsp;Yüksel Oğuz","doi":"10.1016/j.compag.2025.110052","DOIUrl":null,"url":null,"abstract":"<div><div>The number of technological systems such as unmanned aerial vehicles (UAVs) and artificial intelligence (AI) used in agricultural areas is increasing with the development of today’s technology. Therefore, it is predicted that spraying and fertilization processes will be carried out using AI-based drones. The implementation of these processes requires AI models. This study used the YOLOv5, YOLOv8, and YOLOv9 algorithms to detect cherry and apple trees in agricultural areas. The dataset used to build the YOLO model was generated using the DJI Mavic UAV. A data augmentation method was applied to the data to increase the number of images in the dataset. The dataset includes 2000 images of cherry trees and 1600 images of apple trees. Two approaches, Unprogressed YOLO (UP-YOLO) and Progressed and Preprocessed YOLO (PP-YOLO), were proposed in this study. UP-YOLO provides training for the YOLO models. In the proposed PP-YOLO method, the dimensions of the images are configured compared to the classical YOLO model. A spatial attention module (SAM), improves the model’s detection performance by highlighting the leaf color, leaf structure and branch texture of trees. This helps to reduce the rate of undetected objects. Additionally, PP-YOLO enhances the model’s performance by applying Histogram Equalization (HE) and Wavelet Transform (WT) image preprocessing techniques to the images. HE and WT pre-processing techniques were used to enhance the tree branch, leaf, and ground transitions and remove noise in the UAV images. While an F1 score of 94.3 % and mAP50 of 96.9 % were obtained with UP-YOLO, the YOLOv8m model with WT applied to the images in PP-YOLO obtained an F1 score of 95.8 % and mAP50 of 98.3 %. The results show that the F1 score and mAP50 of the PP-YOLO reach 1.5 % and 1.4 % higher than UP-YOLO, respectively. It was observed that preprocessing techniques increased the F1 score by 0.9 % and the SAM module by 0.6 % during the application of the proposed method. The developed deep learning model was highly accurate for cherry and apple tree detection.</div></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":"232 ","pages":"Article 110052"},"PeriodicalIF":8.9000,"publicationDate":"2025-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers and Electronics in Agriculture","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0168169925001589","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/2/8 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0

Abstract

The number of technological systems such as unmanned aerial vehicles (UAVs) and artificial intelligence (AI) used in agricultural areas is increasing with the development of today’s technology. Therefore, it is predicted that spraying and fertilization processes will be carried out using AI-based drones. The implementation of these processes requires AI models. This study used the YOLOv5, YOLOv8, and YOLOv9 algorithms to detect cherry and apple trees in agricultural areas. The dataset used to build the YOLO model was generated using the DJI Mavic UAV. A data augmentation method was applied to the data to increase the number of images in the dataset. The dataset includes 2000 images of cherry trees and 1600 images of apple trees. Two approaches, Unprogressed YOLO (UP-YOLO) and Progressed and Preprocessed YOLO (PP-YOLO), were proposed in this study. UP-YOLO provides training for the YOLO models. In the proposed PP-YOLO method, the dimensions of the images are configured compared to the classical YOLO model. A spatial attention module (SAM), improves the model’s detection performance by highlighting the leaf color, leaf structure and branch texture of trees. This helps to reduce the rate of undetected objects. Additionally, PP-YOLO enhances the model’s performance by applying Histogram Equalization (HE) and Wavelet Transform (WT) image preprocessing techniques to the images. HE and WT pre-processing techniques were used to enhance the tree branch, leaf, and ground transitions and remove noise in the UAV images. While an F1 score of 94.3 % and mAP50 of 96.9 % were obtained with UP-YOLO, the YOLOv8m model with WT applied to the images in PP-YOLO obtained an F1 score of 95.8 % and mAP50 of 98.3 %. The results show that the F1 score and mAP50 of the PP-YOLO reach 1.5 % and 1.4 % higher than UP-YOLO, respectively. It was observed that preprocessing techniques increased the F1 score by 0.9 % and the SAM module by 0.6 % during the application of the proposed method. The developed deep learning model was highly accurate for cherry and apple tree detection.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
PP-YOLO:基于直方图和小波预处理技术的基于深度学习的果园苹果和樱桃树检测模型
随着当今技术的发展,用于农业领域的无人机(uav)和人工智能(AI)等技术系统的数量正在增加。因此,预计喷洒和施肥过程将使用基于人工智能的无人机进行。这些流程的实现需要人工智能模型。本研究采用YOLOv5、YOLOv8和YOLOv9算法对农业区的樱桃树和苹果树进行检测。用于构建YOLO模型的数据集是使用大疆Mavic无人机生成的。对数据采用数据增强方法,增加数据集中的图像数量。该数据集包括2000张樱桃树图像和1600张苹果树图像。本研究提出了未进展YOLO (UP-YOLO)和进展和预处理YOLO (PP-YOLO)两种方法。UP-YOLO为YOLO模型提供培训。在PP-YOLO方法中,与经典的YOLO模型相比,对图像的尺寸进行了配置。空间注意模块(SAM)通过突出显示树木的叶子颜色、叶子结构和树枝纹理来提高模型的检测性能。这有助于减少未被检测到的物体的比率。此外,PP-YOLO通过对图像进行直方图均衡化(HE)和小波变换(WT)预处理技术来增强模型的性能。采用HE和WT预处理技术增强无人机图像中的树枝、树叶和地面过渡,去除噪声。UP-YOLO的F1评分为94.3%,mAP50为96.9%,而PP-YOLO中应用WT的YOLOv8m模型的F1评分为95.8%,mAP50为98.3%。结果表明,PP-YOLO的F1分数和mAP50分别比UP-YOLO高1.5%和1.4%。在应用该方法的过程中,预处理技术使F1分数提高了0.9%,SAM模块提高了0.6%。开发的深度学习模型对于樱桃和苹果树的检测具有很高的准确性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Computers and Electronics in Agriculture
Computers and Electronics in Agriculture 工程技术-计算机:跨学科应用
CiteScore
15.30
自引率
14.50%
发文量
800
审稿时长
62 days
期刊介绍: Computers and Electronics in Agriculture provides international coverage of advancements in computer hardware, software, electronic instrumentation, and control systems applied to agricultural challenges. Encompassing agronomy, horticulture, forestry, aquaculture, and animal farming, the journal publishes original papers, reviews, and applications notes. It explores the use of computers and electronics in plant or animal agricultural production, covering topics like agricultural soils, water, pests, controlled environments, and waste. The scope extends to on-farm post-harvest operations and relevant technologies, including artificial intelligence, sensors, machine vision, robotics, networking, and simulation modeling. Its companion journal, Smart Agricultural Technology, continues the focus on smart applications in production agriculture.
期刊最新文献
Tech-driven evolution of animal housing: an in-depth analysis of the impact of digital technologies, AI, and GenAI in the Era of precision livestock farming A robotic harvesting system for occluded cucumbers using F2SA-YOLOv8 and HVSC MCS-YOLO: A novel remote sensing image segmentation algorithm for mountain crops A generalization and lightweight recognition for citrus fruit harvesting based on improving YOLOv8 LeafRemoval-YOLO-K: A hybrid visual recognition network for stem-petiole segmentation and cutting point localization in tomato plants
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1