高级检索

    SSFYOLO:一种面向复杂森林场景的树干检测算法

    SSFYOLO: a tree trunk detection algorithm for complex forest scenarios

    • 摘要:
      目的 因为在复杂环境下树干目标尺寸差距大且易受遮挡,所以树干检测容易出现漏检、错检等问题。为有效解决这个问题,提出一种基于单阶段目标检测框架的树干检测算法SSFYOLO。
      方法 首先,设计了空间感知网络模块SAM。SAM模块能够高效处理多尺度和多分辨率的特征信息,在保证计算效能的同时,实现对各类特征的充分整合与精确提取,提高目标检测的准确性和效率。其次,设计多尺度特征增强自适应网FastScaleNet,用于替代YOLO模型中的C2f结构。FastScaleNet通过更为精细的多尺度特征融合与优化,并且利用跳跃连接和特征融合策略,有效保留不同层次的特征信息,增强模型对不同尺度目标的表达能力,提升模型的稳健性和广泛适用性。最后,引入加权IoU(WIoU)机制,实现对小目标损失权重的动态优化。WIoU机制根据目标尺寸的不同,动态调整损失权重,使模型在面对小尺寸目标时,能够灵活调整参数,从而灵活适应不同尺寸目标的检测需求,进一步提高小目标检测的准确性和鲁棒性。
      结果 对复杂场景下树干数据集进行检测实验,与主流检测算法YOLOv8相比,SSFYOLO算法在缩小参数量的同时,具有更好的检测精度,其参数量减少了20%,平均精度均值(mAP)和召回率分别提升了1.6和0.7个百分点。
      结论 本研究成功设计了面向复杂森林场景的树干检测算法SSFYOLO。SSFYOLO算法在复杂环境树干检测中展示了出色的性能,具备广泛的应用前景。

       

      Abstract:
      Objective Due to the large size variation and frequent occlusion of tree trunks in complex environments, tree trunk detection is susceptible to issues such as missed detections and false positives. To effectively address these problems, a tree trunk detection network named SSFYOLO, based on a single-stage target detection framework, was proposed.
      Method Firstly, a spatial awareness module (SAM) was designed. The SAM module can efficiently process multi-scale and multi-resolution feature information, ensuring computational efficiency while fully integrating and accurately extracting various features, thereby improving the accuracy and efficiency of target detection. Secondly, a multi-scale feature enhancement adaptive network (FastScaleNet) was designed to replace the C2f structure in the YOLO model. By refining multi-scale feature fusion and optimization, and utilizing skip connections and feature fusion strategies, FastScaleNet effectively retained feature information at different levels, enhanced the model’s ability to express targets of different scales, and improved the model’s robustness and versatility. Finally, the WIoU mechanism was introduced to dynamically optimize the loss weights for small targets. Depending on the target size, the WIoU mechanism dynamically adjusts the loss weights, allowing the model to flexibly adjust parameters when facing small targets. This enabled the model to adapt to the detection requirements of targets of different sizes, further improving the accuracy and robustness of small object detection.
      Result Detection experiments were conducted on a tree trunk dataset in complex scenarios. Compared with the mainstream detection algorithm YOLOv8, the proposed SSFYOLO algorithm achieved better detection accuracy with reduced parameter volume. Specifically, the parameter volume was reduced by 20%, mAP and the recall rate represented improvements of 1.6 and 0.7 percentage points, respectively.
      Conclusion We successfully designed the SSFYOLO algorithm for detecting tree trunks in complex forest scenarios. The proposed algorithm demonstrates excellent performance in tree trunk detection in complex environments, and has broad application prospects.

       

    /

    返回文章
    返回