欢迎访问林草资源研究

林草资源研究 ›› 2026›› Issue (2): 93-101.doi: 10.13466/j.cnki.lczyyj.2026.02.009

• 技术方法 • 上一篇    下一篇

基于改进YOLOv5模型的城市樟树单木树冠检测方法

郑哲1(), 夏凯1,2()   

  1. 1 浙江农林大学 数学与计算机科学学院, 杭州 311300
    2 林业感知技术与智能装备国家林业和草原局重点实验室, 杭州 311300
  • 收稿日期:2024-12-12 修回日期:2025-09-03 出版日期:2026-04-28 发布日期:2026-09-30
  • 通讯作者: 夏凯,教授,主要研究方向为林业遥感。Email:xiakai@zafu.edu.cn
  • 作者简介:郑哲,硕士研究生,主要研究方向为林业信息化。Email:1371869181@qq.com
  • 基金资助:
    国家自然科学基金项目“基于林下无人机遥感的关键森林参数提取研究”(32271869)

Urban single-tree crown detection method for camphor trees based on an improved YOLOv5 model

ZHENG Zhe1(), XIA Kai1,2()   

  1. 1 College of Mathematics and Computer Science, Zhejiang Agriculture and Forestry University, Hangzhou 311300, China
    2 Key Laboratory of Forestry Perception Technology and Intelligent Equipment, State Forestry Administration, Hangzhou 311300, China
  • Received:2024-12-12 Revised:2025-09-03 Online:2026-04-28 Published:2026-09-30

摘要:

单木检测在城市生态系统管理和绿化监测中具有关键作用。尽管深度学习算法凭借在计算机视觉领域的优异表现,被广泛应用于单木检测,但大多数方法在复杂的城市环境中难以实现精准检测,尤其在树冠大小不一、树种多样且郁闭度高的城市复杂环境中表现不佳。为了克服这些局限性,提出一种基于YOLOv5的改进模型—YOLOv5-CSC,用于检测无人机红绿蓝(RGB)图像中的樟树。该模型首先通过改进型卷积神经网络(ConvNeXt)模块中的多样化卷积核实现细粒度的局部特征提取,并通过增加快速空间金字塔池化(SPPF)模块和C3TR模块提升感受野与特征提取、融合的效率,有效提高了模型在复杂城市环境中树冠检测的能力。实验结果显示,YOLOv5-CSC模型与现有的Faster R-CNN、SSD和YOLOv7模型相比,其平均精度(mAP@0.5)分别提高了5.3%、8.8%和8.2%;相较于YOLOv5模型,其平均精度(mAP)从80.3%提升至85.5%。改进后的模型在处理复杂背景和树冠重叠的场景中表现出更高的精度和鲁棒性,并在不同场景下展现出卓越的适应性,有效支持了城市绿化管理和生态监测的现代化需求。

关键词: 单木检测, 深度学习, 无人机, ConvNeXt, YOLOv5

Abstract:

Individual tree detection plays a critical role in urban ecosystem management and greening monitoring.While deep learning algorithms are widely applied in tree detection due to their strong performance in computer vision,most methods struggle to achieve precise detection in complex urban environments,especially with varying crown sizes,diverse species,and high canopy density.To address these challenges,this paper proposes an improved YOLOv5-based algorithm,YOLOv5-CSC,for detecting camphor trees in unmanned aerial vehicle(UAV RGB)images.The model uses diverse convolution kernels in the ConvNeXt module for fine-grained local feature extraction,and incorporates SPPF and C3TR modules to enhance the receptive field and feature fusion efficiency,significantly improving crown detection in complex urban settings.Experimental results show that the YOLOv5-CSC model achieves mean average precision(mAP@0.5)improvements of 5.3%,8.8%,and 8.2% compared to existing models such as Faster R-CNN,SSD,and YOLOv7.Compared to the baseline YOLOv5 model,the mAP increased from 80.3% to 85.5%.The improved model demonstrates higher accuracy and robustness in handling complex backgrounds and overlapping crowns,and excels in adaptability across various scenarios,effectively supporting urban greening management and ecological monitoring.

Key words: individual tree detection, deep learning, unmanned aerial vehicle(UAV), ConvNeXt, YOLOv5

中图分类号: