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

IF 7.7 1区 农林科学 Q1 AGRICULTURE, MULTIDISCIPLINARY Computers and Electronics in Agriculture Pub 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":7.7000,"publicationDate":"2025-02-08","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":"","PubModel":"","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好友 复制链接
本刊更多论文
求助全文
约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.
期刊最新文献
MOS sensor array based on multi-modal data weighted composite membership optimization for rice blast detection in symptomless stage MMFINet: A multimodal fusion network for accurate fish feeding intensity assessment in recirculating aquaculture systems A comparison of proximal and remote optical sensor platforms for N status estimation in winter wheat Growth monitoring of rapeseed seedlings in multiple growth stages based on low-altitude remote sensing and semantic segmentation Shrimp larvae detection and counting in aquaculture using multiscale feature fusion networks
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1