测绘通报 ›› 2025, Vol. 0 ›› Issue (4): 82-89.doi: 10.13474/j.cnki.11-2246.2025.0414

• 学术研究 • 上一篇    

基于高分影像和改进YOLOv7模型在输电线路走廊的建筑物识别

杨国柱, 孙诗睿, 田茂杰, 孙华敏, 胡伟, 李俊磊   

  1. 国网电力空间技术有限公司, 北京 102209
  • 收稿日期:2024-12-10 发布日期:2025-04-28
  • 作者简介:杨国柱(1989—),男,硕士,高级工程师,研究方向为电网数字化运维及防灾减灾技术研究与应用。E-mail:gzyang3912@163.com
  • 基金资助:
    国网电力空间技术有限公司管理科技项目(529500240009)

Building recognition in transmission line corridors based on high-resolution images and improved YOLOv7 model

YANG Guozhu, SUN Shirui, TIAN Maojie, SUN Huamin, HU Wei, LI Junlei   

  1. State Grid Power Space Technology Co., Ltd., Beijing 102209, China
  • Received:2024-12-10 Published:2025-04-28

摘要: 输电线廊道内的灾害预警与安全评估是智能电网建设工作的重点之一,因此掌握输电线廊道区域内聚落的所在位置及其分布情况等信息对于做好山区防灾减灾工作非常重要。近年来,随着目标检测技术的不断发展,所应用到的领域也越来越广泛,而遥感目标检测作为其中的一个应用场景,因为其覆盖范围广、涵盖目标多的特点,被广泛应用于建筑物信息提取。现有的深度学习模型在建筑物识别分割上的识别精度和检测速度都存在局限。针对此类问题,本文以GF-2影像作为数据基础,首先对山区建筑物标记,建立样本数据集并按照9∶1的比例划分为训练集和验证集;然后对标准版YOLOv7网络进行改进,在颈部部分添加GAM-CBAM合成的双重注意力模块,减少建筑物的特征丢失,从而提高网络的检测能力。结果表明,改进后的YOLOv7网络对山区建筑物的分割识别平均精度达到了88.74%,在精确度和召回率上也高于其他深度学习模型。因此,该方法可以快速高效地获取山区聚落信息,并为山区防灾减灾过程中应急预案的制定提供数据支撑。

关键词: 建筑物识别, 机器学习, YOLOv7, 输电线路走廊, 目标检测

Abstract: Early disaster warning and safety assessment in transmission line corridors are among the priorities of smart grid construction. Therefore, it is very important to grasp the location and distribution of settlements in the transmission line corridor area to do a good job of disaster prevention and mitigation in mountainous areas. In recent years, with the continuous development of target detection technology, the fields it is applied to are becoming more and more extensive, and remote sensing target detection, as one of the application scenarios, is widely used in building information because of its wide coverage and the characteristics of covering many targets. The existing deep learning models have limitations regarding both recognition accuracy and detection speed in building identification and segmentation. Aiming at such problems, this study takes the GF-2 image as the database, labels the buildings in mountainous areas, establishes the sample dataset and divides it into the training set and the test set according to the ratio of 9∶1. Secondly, the standard version of YOLOv7 network is improved by adding a dual-attention module with GAM-CBAM synthesis in the neck part to reduce the feature loss of buildings, which improves the detection ability of the network. The results show that the improved YOLOv7 network achieves an average precision of 88.74% for segmentation and recognition of buildings in mountainous areas, which is also higher than other deep learning models in terms of precision and recall. Therefore, this method can provide data support for rapid and efficient acquisition of mountainous area settlement information, geographic information analysis in the process of disaster prevention and mitigation in mountainous areas, and the development of emergency plans.

Key words: building recognition, machine learning, YOLOv7, transmission line corridor, target detection

中图分类号: