[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN115994953A - Electric power site safety monitoring and tracking method and system - Google Patents

Electric power site safety monitoring and tracking method and system Download PDF

Info

Publication number
CN115994953A
CN115994953A CN202310150307.9A CN202310150307A CN115994953A CN 115994953 A CN115994953 A CN 115994953A CN 202310150307 A CN202310150307 A CN 202310150307A CN 115994953 A CN115994953 A CN 115994953A
Authority
CN
China
Prior art keywords
camera
target
tracking
video
safety monitoring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310150307.9A
Other languages
Chinese (zh)
Inventor
王刘旺
罗华峰
刘浩军
周辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Zhejiang Electric Power Co Ltd
Electric Power Research Institute of State Grid Zhejiang Electric Power Co Ltd
Original Assignee
State Grid Zhejiang Electric Power Co Ltd
Electric Power Research Institute of State Grid Zhejiang Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Zhejiang Electric Power Co Ltd, Electric Power Research Institute of State Grid Zhejiang Electric Power Co Ltd filed Critical State Grid Zhejiang Electric Power Co Ltd
Priority to CN202310150307.9A priority Critical patent/CN115994953A/en
Publication of CN115994953A publication Critical patent/CN115994953A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Landscapes

  • Closed-Circuit Television Systems (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses a power field safety supervision tracking method, which relates to the technical field of relay protection operation and maintenance and is used for solving the problems of inaccurate existing manual supervision and lack of positioning data, and the method comprises the following steps: calculating internal parameter and external parameter of multiple view cameras; performing personnel positioning according to the internal parameter and the external parameter; receiving a video sent by the camera, extracting skeleton characteristics according to the video, and obtaining a behavior recognition result according to the skeleton characteristics; identifying a preset target in the camera and tracking a track to obtain a target detection result; and outputting the behavior identification result, the target detection result and the operator positioning result as security monitoring information. The invention also discloses a power field security monitoring and tracking system. According to the invention, the multi-view camera is used for positioning and behavior recognition, so that three-dimensional positioning and tracking of personnel and the like on an electric power operation site are realized.

Description

电力现场安监追踪方法及系统Method and system for power site safety monitoring and tracking

技术领域technical field

本发明涉及继电保护运维技术领域,尤其涉及一种配电作业环境下电力现场安监追踪方法及系统。The invention relates to the technical field of relay protection operation and maintenance, in particular to a method and system for on-site safety monitoring and tracking of electric power in a power distribution operation environment.

背景技术Background technique

在建筑、通信、电力等工程行业中,作业人员需要频繁进行室外作业。由于室外环境复杂,高压、高空、深坑等因素会对作业人员带来安全隐患;安全事故一旦发生,将造成巨大的人员和财产损失。因此,需要在作业过程中对作业人员现场行为的识别和追踪,以确保作业人员使用合规的操作流程,并对危险的行为进行识别、预警及定位。In engineering industries such as construction, communication, and electric power, operators need to frequently perform outdoor operations. Due to the complex outdoor environment, factors such as high pressure, high altitude, and deep pits will bring safety hazards to operators; once a safety accident occurs, it will cause huge loss of personnel and property. Therefore, it is necessary to identify and track the on-site behavior of operators during the operation to ensure that operators use compliant operating procedures, and to identify, warn and locate dangerous behaviors.

目前的监督方式通常靠人工核查完成,监控视频也依赖人工看守,无法做到作业人员行为的实时识别和危险行为的预警。为保证对室外作业场景中作业人员行为的实时识别和追踪,目前已有基于人体图像识别的研究,以方便地获得当前人员的行为识别结果。然而,受遮挡、检测距离以及检测角度等因素的影响,人体图像识别时容易产生缺失或者图像大小缩减的问题。The current supervision method is usually completed by manual verification, and the surveillance video also relies on manual guards, which cannot achieve real-time identification of operator behavior and early warning of dangerous behavior. In order to ensure the real-time identification and tracking of the behavior of workers in outdoor operation scenarios, there are currently researches based on human body image recognition to easily obtain the results of current personnel's behavior recognition. However, affected by factors such as occlusion, detection distance, and detection angle, human body image recognition is prone to missing or image size reduction problems.

因此,为了保证作业场景的人员和设备安全,解决目前存在的行为识别不准、无法获得作业人员三维坐标的技术问题,亟需构建一种作业需求导向的电力现场安监追踪方法。Therefore, in order to ensure the safety of personnel and equipment in the operation scene, and to solve the current technical problems of inaccurate behavior recognition and inability to obtain the three-dimensional coordinates of the operator, it is urgent to construct an operation demand-oriented power site safety monitoring and tracking method.

发明内容Contents of the invention

为了克服现有技术的不足,本发明的目的之一在于提供一种电力现场安监追踪方法,其通过对作业人员进行三维定位跟踪,实现电力现场安监追踪。In order to overcome the deficiencies of the prior art, one of the objectives of the present invention is to provide a power site safety monitoring and tracking method, which realizes power site safety monitoring and tracking by performing three-dimensional positioning and tracking on operators.

本发明的目的之一采用以下技术方案实现:One of purpose of the present invention adopts following technical scheme to realize:

一种电力现场安监追踪方法,包括以下步骤:A power site safety monitoring and tracking method, comprising the following steps:

计算多个视角相机的内参参数及外参参数;根据所述内参参数及所述外参参数进行人员定位;Calculating internal parameters and external parameters of a plurality of viewing angle cameras; performing personnel positioning according to the internal parameters and the external parameters;

接收所述相机发送的视频,根据所述视频进行骨架特征提取,并根据所述骨架特征匹配得到行为识别结果;receiving the video sent by the camera, performing skeleton feature extraction according to the video, and matching the skeleton feature to obtain a behavior recognition result;

识别出所述相机中预设目标并进行轨迹追踪,得到目标检测结果;Recognizing the preset target in the camera and performing trajectory tracking to obtain a target detection result;

输出所述行为识别结果、所述目标检测结果、及作业人员定位结果,作为安监信息。Outputting the behavior recognition result, the target detection result, and the operator positioning result as safety monitoring information.

进一步地,计算多个视角相机的内参参数,包括:Further, calculate the internal parameter parameters of multiple viewing angle cameras, including:

接收所述相机录制的包含棋盘格的视频;receiving the video recorded by the camera including the checkerboard;

将所述视频输入相机成像模型,得到内参参数和畸变参数。Input the video into the camera imaging model to obtain internal parameters and distortion parameters.

进一步地,计算多个视角相机的外参参数,包括:Further, calculate the extrinsic parameters of multiple perspective cameras, including:

接收所述相机发送的图像序列;receiving the image sequence sent by the camera;

根据所述图像序列,通过位姿算法输出相机棋盘格坐标位姿;According to the image sequence, the camera checkerboard coordinate pose is output through a pose algorithm;

选择一个相机作为世界坐标系,对其他相机的棋盘格坐标位姿进行三维坐标变换,得到世界坐标系位姿,作为所述外参参数。A camera is selected as the world coordinate system, and three-dimensional coordinate transformation is performed on the checkerboard coordinate poses of other cameras to obtain the world coordinate system pose as the extrinsic parameter.

进一步地,所述骨架特征的提取,包括:Further, the extraction of the skeleton feature includes:

对所述视频进行预处理;preprocessing the video;

将预处理后的所述视频输入openpose人体姿态估计网络,得到骨骼特征图;The preprocessed video is input to the openpose human pose estimation network to obtain a skeleton feature map;

将所述骨骼特征图输入ST-GCN图卷积神经网络,得到256维特征。The bone feature map is input into the ST-GCN graph convolutional neural network to obtain 256-dimensional features.

进一步地,根据所述骨架特征匹配得到行为识别结果,包括以下步骤:Further, obtaining a behavior recognition result according to the skeleton feature matching includes the following steps:

将多个视角相机的256维特征进行串接,并进行2次降采样;Concatenate the 256-dimensional features of multiple perspective cameras and perform 2 times of downsampling;

将经过降采样后的所述256维特征输入SoftMax分类器;Input the SoftMax classifier through the 256-dimensional feature after downsampling;

输出行为类别。Output behavior categories.

进一步地,所述行为类别包括站立、行走、奔跑、攀爬、翻越。Further, the behavior categories include standing, walking, running, climbing, and jumping.

进一步地,识别出所述相机中预设目标并进行轨迹追踪,得到目标检测结果,包括以下步骤:Further, identifying a preset target in the camera and performing trajectory tracking to obtain a target detection result includes the following steps:

对所述相机中的视频进行预处理;Preprocessing the video in the camera;

将预处理后的所述视频输入检测神经网络模型VSSA-Net,得到目标类别;The preprocessed video input detection neural network model VSSA-Net is obtained to obtain the target category;

将所述目标类别输入目标追踪模型ByteTrack中进行运动轨迹追踪,得到目标运动轨迹检测结果。The target category is input into the target tracking model ByteTrack to track the motion trajectory, and the detection result of the target motion trajectory is obtained.

进一步地,所述目标检测结果还包括目标定位,所述目标定位的检测包括:Further, the target detection result also includes target positioning, and the detection of target positioning includes:

根据多个所述相机中同一目标的像素坐标,通过多视图几何算法计算所述同一目标的世界坐标系坐标。According to the pixel coordinates of the same target in multiple cameras, the world coordinate system coordinates of the same target are calculated through a multi-view geometric algorithm.

进一步地,所述目标类别包括:人员头部、安全帽、鸟类、小型的巡检机器人。Further, the target categories include: human heads, safety helmets, birds, and small inspection robots.

本发明的目的之二在于提供一种电力现场安监追踪系统,其通过多个视角的相机对作业人员及其他目标进行识别,进而实现现场安监。The second object of the present invention is to provide an electric power on-site safety monitoring and tracking system, which can identify operators and other targets through cameras with multiple viewing angles, thereby realizing on-site safety monitoring.

本发明的目的之二采用以下技术方案实现:Two of the purpose of the present invention adopts following technical scheme to realize:

一种电力现场安监追踪系统,其特征在于,所述系统包括多相机内外参标定单元、基于骨架特征的行为识别单元和目标追踪单元;所述多相机内外参标定单元用于记录多相机之间的相对位姿变换并计算内参参数及外参参数;所述行为识别单元用于对所述相机视频中作业人员的行为进行识别;所述目标追踪单元用于对预设目标进行定位、追踪及识别。A power site safety monitoring and tracking system, characterized in that the system includes a multi-camera internal and external reference calibration unit, a behavior recognition unit based on skeleton features, and a target tracking unit; the multi-camera internal and external reference calibration unit is used to record the The relative pose transformation and calculation of internal parameters and external parameter parameters; the behavior recognition unit is used to identify the behavior of the operator in the camera video; the target tracking unit is used to locate and track the preset target and identification.

相比现有技术,本发明的有益效果在于:Compared with the prior art, the beneficial effects of the present invention are:

本发明通过多视角相机记录作业现场视频,可以有效获得作业人员精确定位,避免遮挡、距离等问题对相机造成的干扰,通过计算内外参数实现三维坐标定位,通过特征识别直观显示出作业人员的工作情况;此外,本发明还对作业人员以外的目标进行识别,可详细地展示出作业现场情况;本发明提供的安监信息详细且精确,可保障现场作业安全稳定进行。The present invention records the video of the work site through a multi-view camera, which can effectively obtain the precise positioning of the operator, avoid the interference caused by problems such as occlusion and distance to the camera, realize three-dimensional coordinate positioning by calculating internal and external parameters, and intuitively display the work of the operator through feature recognition situation; in addition, the present invention also identifies targets other than operators, and can display the conditions of the work site in detail; the safety monitoring information provided by the present invention is detailed and accurate, which can ensure safe and stable on-site operations.

附图说明Description of drawings

图1是实施例一电力现场安监追踪方法的流程图;Fig. 1 is the flow chart of embodiment one electric field safety supervision tracking method;

图2是实施例一行为识别过程的流程图。Fig. 2 is a flow chart of the behavior recognition process in Embodiment 1.

具体实施方式Detailed ways

以下将结合附图,对本发明进行更为详细的描述,需要说明的是,以下参照附图对本发明进行的描述仅是示意性的,而非限制性的。各个不同实施例之间可以进行相互组合,以构成未在以下描述中示出的其他实施例。The present invention will be described in more detail below in conjunction with the accompanying drawings. It should be noted that the following description of the present invention with reference to the accompanying drawings is only illustrative rather than limiting. Various embodiments can be combined with each other to form other embodiments not shown in the following description.

实施例一Embodiment one

实施例一提供了一种电力现场安监追踪方法,旨在通过多视角相机进行三维定位,实现作业现场人员及其他事物的追踪。Embodiment 1 provides a safety monitoring and tracking method for an electric power site, which aims to perform three-dimensional positioning through multi-view cameras, and realize tracking of personnel and other things on the job site.

需要说明的是,本实施例的所描述的方法都建立在多个视角相机的基础上,上述的相机可以是若干个不同作业现场视角处的相机,也可以是一个可实现多视角的相机,以便于提供多视角的图像信息,并通过计算内外参数实现作业现场人员的坐标定位。It should be noted that the methods described in this embodiment are all based on multiple viewing angle cameras. The above-mentioned cameras can be cameras at several different job site viewing angles, or a camera that can realize multiple viewing angles. In order to provide multi-view image information, and realize the coordinate positioning of personnel on the job site by calculating internal and external parameters.

请参照图1所示,一种电力现场安监追踪方法,包括以下步骤:Please refer to Fig. 1, a power site safety monitoring and tracking method includes the following steps:

S1、计算多个视角相机的内参参数及外参参数;根据所述内参参数及所述外参参数进行人员定位;S1. Calculating the internal parameters and external parameters of multiple view cameras; performing personnel positioning according to the internal parameters and the external parameters;

上述内参指的是对每个相机自身的焦距、畸变参数进行计算,每个相机需要录制一个包含棋盘格的视频,并确保棋盘格所有角点对相机均可见,对棋盘格角点进行检测,并利用相机成像模型结合相机图像畸变模型计算出每个相机的内参矩阵以及相机镜头的畸变参数。具体地,计算多个视角相机的内参参数,包括:The above internal reference refers to the calculation of the focal length and distortion parameters of each camera itself. Each camera needs to record a video containing a checkerboard, and ensure that all corners of the checkerboard are visible to the camera, and detect the corners of the checkerboard. And use the camera imaging model combined with the camera image distortion model to calculate the internal reference matrix of each camera and the distortion parameters of the camera lens. Specifically, calculate the internal parameter parameters of multiple viewing angle cameras, including:

接收所述相机录制的包含棋盘格的视频;receiving the video recorded by the camera including the checkerboard;

将所述视频输入相机成像模型,得到内参参数和畸变参数。Input the video into the camera imaging model to obtain internal parameters and distortion parameters.

上述相机的成像模型本实施例中为针孔相机模型,对应的内参矩阵如下:The imaging model of the above-mentioned camera is a pinhole camera model in this embodiment, and the corresponding internal parameter matrix is as follows:

Figure BDA0004090598880000051
Figure BDA0004090598880000051

其中fx,cx,fy,cy是相应的内参;Where f x , c x , f y , c y are the corresponding internal parameters;

所述畸变模型一般指由于相机透镜引起的径向畸变和切向畸变,如下:The distortion model generally refers to the radial distortion and tangential distortion caused by the camera lens, as follows:

xdistorted=x(1+k1r2+k2r4+k3r6)+2p1xy+p2(r2+2x2)x distorted =x(1+k 1 r 2 +k 2 r 4 +k 3 r 6 )+2p 1 xy+p 2 (r 2 +2x 2 )

ydistorted=y(1+k1r2+k2r4+k3r6)+2p2xy+p1(r2+2y2)y distorted = y(1+k 1 r 2 +k 2 r 4 +k 3 r 6 )+2p 2 xy+p 1 (r 2 +2y 2 )

其中(x,y)是畸变前的归一化坐标,(xdistorted,ydistorted)是畸变后的归一化坐标,k1,k2,k3是径向畸变参数,p1,p2是切向畸变参数;Where (x, y) are normalized coordinates before distortion, (x distorted , y distorted ) are normalized coordinates after distortion, k 1 , k 2 , k 3 are radial distortion parameters, p 1 , p 2 is the tangential distortion parameter;

通过对每个相机进行棋盘格标定,输入录制视频,输出内参和畸变参数Through checkerboard calibration for each camera, input recorded video, output internal reference and distortion parameters

S1中计算多个视角相机的外参参数,包括:In S1, the external parameter parameters of multiple view cameras are calculated, including:

接收所述相机发送的图像序列;receiving the image sequence sent by the camera;

根据所述图像序列,通过位姿算法输出相机棋盘格坐标位姿;According to the image sequence, the camera checkerboard coordinate pose is output through a pose algorithm;

选择一个相机作为世界坐标系,对其他相机的棋盘格坐标位姿进行三维坐标变换,得到世界坐标系位姿,作为所述外参参数。A camera is selected as the world coordinate system, and three-dimensional coordinate transformation is performed on the checkerboard coordinate poses of other cameras to obtain the world coordinate system pose as the extrinsic parameter.

本实施例的外参参数计算采用EasyMoCap算法,具体而言利用棋盘格架设相对于多相机的地面控制点,保证控制点同时对所有相机可见;然后输入录制的各相机图像序列,输出每个相机在所建立棋盘格坐标系下的位姿。定义棋盘格坐标系为O,各相机坐标系为Ci,i=1,2,...n,则通过标定得到相机在棋盘格坐标系的位姿为

Figure BDA0004090598880000061
接着以相机C1坐标系为世界坐标系,通过三维坐标变换得到其他相机在世界坐标系下的位姿
Figure BDA0004090598880000062
也即外参。变换过程满足The calculation of the external parameters in this embodiment adopts the EasyMoCap algorithm. Specifically, the checkerboard is used to set up ground control points relative to multiple cameras to ensure that the control points are visible to all cameras at the same time; then input the recorded image sequences of each camera, and output each camera The pose in the established checkerboard coordinate system. Define the checkerboard coordinate system as O, each camera coordinate system as C i , i=1, 2,...n, then the pose of the camera in the checkerboard coordinate system is obtained through calibration as
Figure BDA0004090598880000061
Then take the camera C 1 coordinate system as the world coordinate system, and obtain the poses of other cameras in the world coordinate system through three-dimensional coordinate transformation
Figure BDA0004090598880000062
That is, external reference. The conversion process satisfies

Figure BDA0004090598880000063
Figure BDA0004090598880000063

S21、接收所述相机发送的视频,根据所述视频进行骨架特征提取,并根据所述骨架特征匹配得到行为识别结果;S21. Receive the video sent by the camera, perform skeleton feature extraction according to the video, and obtain a behavior recognition result according to the skeleton feature matching;

上述骨架特征行为识别用于对电力现场作业人员的时序行为进行检测并记录。The above-mentioned skeleton feature behavior recognition is used to detect and record the time-series behavior of the electric field workers.

具体地,请参照图2所示,所述骨架特征的提取及行为识别结果的匹配,包括:Specifically, referring to Fig. 2, the extraction of the skeleton features and the matching of the behavior recognition results include:

S211、对所述视频进行预处理;S211. Preprocess the video;

上述预处理用于对多相机的图片流进行预处理,具体地,将来自多个相机地视频流按时间戳进行对齐,分别截取相同时间窗口内的10帧图片,进行归一化处理,并统一裁剪到256×256像素大小。The above preprocessing is used to preprocess the image streams of multiple cameras. Specifically, the video streams from multiple cameras are aligned according to timestamps, and 10 frames of images in the same time window are respectively intercepted and normalized. Crop uniformly to a size of 256×256 pixels.

S212、将预处理后的所述视频输入openpose人体姿态估计网络,得到骨骼特征图;S212. Input the preprocessed video into the openpose human pose estimation network to obtain a skeleton feature map;

S213、将所述骨骼特征图输入ST-GCN图卷积神经网络,得到256维特征。S213. Input the bone feature map into the ST-GCN graph convolutional neural network to obtain 256-dimensional features.

S214、将多个视角相机的256维特征进行串接,并进行2次降采样;S214. Concatenating the 256-dimensional features of multiple view cameras, and performing down-sampling twice;

上述串接以在场景四周架设4个相机为例,分别将来自4个视角的256维特征进行串接,经过2次降采样后重新得到256维特征,并输入到SoftMax分类器。The above concatenation takes setting up 4 cameras around the scene as an example, respectively concatenating 256-dimensional features from 4 perspectives, and re-obtaining 256-dimensional features after 2 times of downsampling, and inputting them into the SoftMax classifier.

S215、将经过降采样后的所述256维特征输入SoftMax分类器;S215. Input the down-sampled 256-dimensional feature into the SoftMax classifier;

S216、输出行为类别。S216. Output the behavior category.

本实施例中,行为类别包括站立、行走、奔跑、攀爬、翻越。当然,根据实际需求,也可以对行为类别进行增加或减少。In this embodiment, the behavior categories include standing, walking, running, climbing, and jumping. Of course, according to actual needs, the behavior category can also be increased or decreased.

S22、识别出所述相机中预设目标并进行轨迹追踪,得到目标检测结果;S22. Identifying the preset target in the camera and performing trajectory tracking to obtain a target detection result;

上述的预设目标,本实施例中包括但不限于:人员头部、安全帽、鸟类、小型的巡检机器人。The aforementioned preset targets in this embodiment include, but are not limited to: personnel heads, safety helmets, birds, and small inspection robots.

目标追踪用于对电力现场的特定小目标进行检测与追踪,以为工作现场提供安全判断的依据。Target tracking is used to detect and track specific small targets on the power site, so as to provide a basis for safety judgments at the work site.

本实施例中,使用Tracking-by-detection的策略作为实施目标追踪的总体策略。该策略是指通过目标检测找到单帧图像中的目标物体,再将不同帧之间的同一检测目标关联起来从而实现追踪,因此整个模块包括小目标检测网络模型VSSA-Net和目标追踪模型ByteTrack,结合实现小目标追踪功能。In this embodiment, the Tracking-by-detection strategy is used as an overall strategy for implementing target tracking. This strategy refers to finding the target object in a single frame image through target detection, and then associating the same detected target between different frames to achieve tracking. Therefore, the whole module includes the small target detection network model VSSA-Net and the target tracking model ByteTrack. Combined to realize the small target tracking function.

具体地,识别出所述相机中预设目标并进行轨迹追踪,得到目标检测结果,包括以下步骤:Specifically, identifying a preset target in the camera and performing trajectory tracking to obtain a target detection result includes the following steps:

对所述相机中的视频进行预处理;预处理主要包括将图片、视频序列中的图片数据进行归一化处理并缩放到640×640分辨率。Preprocessing the video in the camera; the preprocessing mainly includes normalizing the picture and picture data in the video sequence and scaling to 640×640 resolution.

将预处理后的所述视频输入检测神经网络模型VSSA-Net,检测当前图片中存在的特定的预设目标,得到目标类别;此外,对同时出现在多个相机中的被跟踪目标,也需要根据检测模型输出的检测类别进行匹配。Input the preprocessed video into the detection neural network model VSSA-Net, detect the specific preset target existing in the current picture, and obtain the target category; in addition, for the tracked target that appears in multiple cameras at the same time, also need Matching is performed based on the detection categories output by the detection model.

将所述目标类别输入目标追踪模型ByteTrack中进行运动轨迹追踪,对目标在对应相机视图中的运动轨迹进行追踪,输出被跟踪目标的历史运动轨迹,得到目标运动轨迹检测结果。Input the target category into the target tracking model ByteTrack to track the trajectory of the target, track the trajectory of the target in the corresponding camera view, output the historical trajectory of the tracked target, and obtain the detection result of the target trajectory.

选择VSSA-Net模型的原因在于其是一个高效的single-shot检测器,具有多尺度融合的特点,利用密集连接的deconvolution层和跳连接获取多尺度特征图,相比于普通目标检测器,提高了小目标即上述预设目标的检测性能。对于目标追踪所用的ByteTrack模型,该模型通过关联几乎所有的检测框而不仅是高分检测框来进行跟踪,通过利用检测框与轨迹的相似性来确定真正的目标物体并过滤背景。The reason for choosing the VSSA-Net model is that it is an efficient single-shot detector with the characteristics of multi-scale fusion. It uses densely connected deconvolution layers and skip connections to obtain multi-scale feature maps. Compared with ordinary target detectors, it improves The detection performance of the small target, that is, the preset target mentioned above, is improved. For the ByteTrack model used for target tracking, the model tracks by associating almost all detection frames instead of only high-score detection frames, and uses the similarity between the detection frame and the trajectory to determine the real target object and filter the background.

为了进一步增加目标检测的准确率,所述目标检测结果还包括目标定位,所述目标定位的检测包括:In order to further increase the accuracy of target detection, the target detection result also includes target location, and the detection of the target location includes:

根据多个所述相机中同一目标的像素坐标,通过多视图几何算法计算所述同一目标的世界坐标系坐标。According to the pixel coordinates of the same target in multiple cameras, the world coordinate system coordinates of the same target are calculated through a multi-view geometric algorithm.

具体而言,利用不同相机下同一目标的像素坐标,结合相机标定信息,使用多视图几何方法算出目标在世界坐标系的坐标[x,y,z]T,记为Pw。具体而言需要利用稳定存在而且无形变的目标,例如安全帽的检测结果。首先对检测框取中心点M,并视为空间中的同一点。M点在不同相机图像中的像素坐标记为像素坐标(ui,vi),i代表相机编号。将坐标Pw由相机坐标系转换到各自的相机坐标系Pi=[xi,yi,zi]T如下:Specifically, the coordinates [x, y, z] T of the target in the world coordinate system are calculated using the multi-view geometry method, denoted as P w , by using the pixel coordinates of the same target under different cameras, combined with the camera calibration information. Specifically, it is necessary to use objects that are stable and non-deformable, such as the detection results of hard hats. First, take the center point M of the detection frame and treat it as the same point in space. The pixel coordinates of point M in different camera images are marked as pixel coordinates (u i , v i ), where i represents the camera number. Transform the coordinate P w from the camera coordinate system to the respective camera coordinate system P i =[ xi ,y i ,zi ] T as follows:

Figure BDA0004090598880000081
Figure BDA0004090598880000081

其中

Figure BDA0004090598880000082
是此前计算的相机外参,另外公式中涉及到齐次坐标与非齐次坐标的转换,需要在Pw与Pi向量末尾添加1;in
Figure BDA0004090598880000082
is the previously calculated camera extrinsic parameter, and the formula involves the conversion of homogeneous coordinates and non-homogeneous coordinates, and 1 needs to be added at the end of the P w and P i vectors;

由相机的投影模型应有:The projection model by the camera should have:

Figure BDA0004090598880000083
Figure BDA0004090598880000083

其中Ki是此前计算的相机内参;where K i is the previously calculated camera internal reference;

联立各个相机方程可解得PwSimultaneously combining the camera equations can be solved to get P w ;

S3、输出所述行为识别结果、所述目标检测结果及作业人员定位结果,作为安监信息。S3. Outputting the behavior recognition result, the target detection result, and the operator positioning result as safety monitoring information.

通过S3中输出的行为识别结果、目标检测结果及作业人员定位结果,就可实现作业场景中作业人员的三维定位跟踪,并为监管人员或警示系统等提供安全警示依据,有效避免作业现场出现安全问题。Through the behavior recognition results, target detection results and operator positioning results output in S3, the three-dimensional positioning and tracking of operators in the operation scene can be realized, and safety warning basis can be provided for supervisors or warning systems, effectively avoiding safety hazards at the operation site. question.

实施例二Embodiment two

实施例二是对一种电力现场安监追踪系统进行的解释和说明。The second embodiment is an explanation and description of a power site safety monitoring and tracking system.

一种电力现场安监追踪系统,所述系统包括多相机内外参标定单元、基于骨架特征的行为识别单元和目标追踪单元;所述多相机内外参标定单元用于记录多相机之间的相对位姿变换并计算内参参数及外参参数;所述行为识别单元用于对所述相机视频中作业人员的行为进行识别;所述目标追踪单元用于对预设目标进行定位、追踪及识别。A power site security monitoring and tracking system, the system includes a multi-camera internal and external reference calibration unit, a behavior recognition unit based on skeleton features, and a target tracking unit; the multi-camera internal and external reference calibration unit is used to record the relative position between multiple cameras Pose transformation and calculation of internal parameters and external parameters; the behavior identification unit is used to identify the behavior of the operator in the camera video; the target tracking unit is used to locate, track and identify preset targets.

相机内参标定模块对每个相机自身焦距、畸变参数进行标定。首先每个相机各录一个包含棋盘格的视频,并确保棋盘格所有角点对相机均可见;接着利用相机成像模型结合相机畸变模型,计算出每个相机的内参矩阵。相机外参标定单元能够计算多相机之间的相对位姿变换。The camera internal reference calibration module calibrates the focal length and distortion parameters of each camera. First, each camera records a video containing a checkerboard, and ensures that all corners of the checkerboard are visible to the camera; then, the internal parameter matrix of each camera is calculated by using the camera imaging model combined with the camera distortion model. The camera extrinsic calibration unit can calculate the relative pose transformation between multiple cameras.

基于骨架特征的行为识别单元还可包括串行连接的预处理模块、特征提取模块、融合输出模块;各模块的运行逻辑、处理方法请参照实施例一中的相关描述。The behavior recognition unit based on skeleton features can also include a serially connected preprocessing module, feature extraction module, and fusion output module; for the operating logic and processing methods of each module, please refer to the relevant description in Embodiment 1.

目标追踪单元可以包括相互连接的图像预处理子模块、小目标检测子模块、目标追踪子模块和多视角定位子模块,该单元的具体运行逻辑、处理方法请参照实施例一中的相关描述。The target tracking unit may include interconnected image preprocessing sub-modules, small target detection sub-modules, target tracking sub-modules, and multi-view positioning sub-modules. For the specific operation logic and processing methods of this unit, please refer to the relevant description in Embodiment 1.

对本领域的技术人员来说,可根据以上描述的技术方案以及构思,做出其它各种相应的改变以及形变,而所有的这些改变以及形变都应该属于本发明权利要求的保护范围之内。Those skilled in the art can make various other corresponding changes and deformations according to the above-described technical solutions and concepts, and all these changes and deformations should fall within the protection scope of the claims of the present invention.

Claims (10)

1.一种电力现场安监追踪方法,其特征在于,包括以下步骤:1. A method for tracking safety on the spot of electric power, is characterized in that, comprises the following steps: 计算多个视角相机的内参参数及外参参数;根据所述内参参数及所述外参参数进行人员定位;Calculating internal parameters and external parameters of a plurality of viewing angle cameras; performing personnel positioning according to the internal parameters and the external parameters; 接收所述相机发送的视频,根据所述视频进行骨架特征提取,并根据所述骨架特征匹配得到行为识别结果;receiving the video sent by the camera, performing skeleton feature extraction according to the video, and matching the skeleton feature to obtain a behavior recognition result; 识别出所述相机中预设目标并进行轨迹追踪,得到目标检测结果;Recognizing the preset target in the camera and performing trajectory tracking to obtain a target detection result; 输出所述行为识别结果、所述目标检测结果及作业人员定位结果,作为安监信息。Outputting the behavior recognition result, the target detection result and the operator positioning result as safety monitoring information. 2.如权利要求1所述的电力现场安监追踪方法,其特征在于,计算多个视角相机的内参参数,包括:2. The electric power site safety monitoring and tracking method according to claim 1, wherein the calculation of internal parameters of a plurality of viewing angle cameras includes: 接收所述相机录制的包含棋盘格的视频;receiving the video recorded by the camera including the checkerboard; 将所述视频输入相机成像模型,得到内参参数和畸变参数。The video is input into the camera imaging model to obtain internal reference parameters and distortion parameters. 3.如权利要求1或2所述的电力现场安监追踪方法,其特征在于,计算多个视角相机的外参参数,包括:3. The power site safety monitoring and tracking method according to claim 1 or 2, wherein calculating the external parameter parameters of a plurality of viewing angle cameras includes: 接收所述相机发送的图像序列;receiving the image sequence sent by the camera; 根据所述图像序列,通过位姿算法输出相机棋盘格坐标位姿;According to the image sequence, the camera checkerboard coordinate pose is output through a pose algorithm; 选择一个相机作为世界坐标系,对其他相机的棋盘格坐标位姿进行三维坐标变换,得到世界坐标系位姿,作为所述外参参数。A camera is selected as the world coordinate system, and three-dimensional coordinate transformation is performed on the checkerboard coordinate poses of other cameras to obtain the world coordinate system pose as the extrinsic parameter. 4.如权利要求1所述的电力现场安监追踪方法,其特征在于,所述骨架特征的提取,包括:4. The electric power site safety monitoring and tracking method according to claim 1, wherein the extraction of the skeleton features includes: 对所述视频进行预处理;preprocessing the video; 将预处理后的所述视频输入openpose人体姿态估计网络,得到骨骼特征图;The preprocessed video is input to the openpose human pose estimation network to obtain a skeleton feature map; 将所述骨骼特征图输入ST-GCN图卷积神经网络,得到256维特征。The bone feature map is input into the ST-GCN graph convolutional neural network to obtain 256-dimensional features. 5.如权利要求4所述的电力现场安监追踪方法,其特征在于,根据所述骨架特征匹配得到行为识别结果,包括以下步骤:5. The electric power site safety monitoring and tracking method as claimed in claim 4, wherein obtaining the behavior recognition result according to the skeleton feature matching comprises the following steps: 将多个视角相机的256维特征进行串接,并进行2次降采样;Concatenate the 256-dimensional features of multiple perspective cameras and perform 2 times of downsampling; 将经过降采样后的所述256维特征输入SoftMax分类器;Input the SoftMax classifier through the 256-dimensional feature after downsampling; 输出行为类别。Output behavior categories. 6.如权利要求5所述的电力现场安监追踪方法,其特征在于,所述行为类别包括站立、行走、奔跑、攀爬、翻越。6. The power site safety monitoring and tracking method according to claim 5, wherein the behavior categories include standing, walking, running, climbing, and jumping over. 7.如权利要求1所述的电力现场安监追踪方法,其特征在于,识别出所述相机中预设目标并进行轨迹追踪,得到目标检测结果,包括以下步骤:7. The electric power site safety monitoring and tracking method according to claim 1, wherein identifying a preset target in the camera and performing trajectory tracking to obtain a target detection result comprises the following steps: 对所述相机中的视频进行预处理;Preprocessing the video in the camera; 将预处理后的所述视频输入检测神经网络模型VSSA-Net,得到目标类别;The preprocessed video input detection neural network model VSSA-Net is obtained to obtain the target category; 将所述目标类别输入目标追踪模型ByteTrack中进行运动轨迹追踪,得到目标运动轨迹检测结果。The target category is input into the target tracking model ByteTrack to track the motion trajectory, and the detection result of the target motion trajectory is obtained. 8.如权利要求1或7所述的电力现场安监追踪方法,其特征在于,所述目标检测结果还包括目标定位,所述目标定位的检测包括:8. The power site safety monitoring and tracking method according to claim 1 or 7, wherein the target detection result also includes target location, and the detection of the target location includes: 根据多个所述相机中同一目标的像素坐标,通过多视图几何算法计算所述同一目标的世界坐标系坐标。According to the pixel coordinates of the same target in multiple cameras, the world coordinate system coordinates of the same target are calculated through a multi-view geometric algorithm. 9.如权利要求7所述的电力现场安监追踪方法,其特征在于,所述目标类别包括:人员头部、安全帽、鸟类、小型的巡检机器人。9. The electric power site safety monitoring and tracking method according to claim 7, wherein the target categories include: personnel heads, safety helmets, birds, and small inspection robots. 10.一种电力现场安监追踪系统,其特征在于,所述系统包括多相机内外参标定单元、基于骨架特征的行为识别单元和目标追踪单元;所述多相机内外参标定单元用于记录多相机之间的相对位姿变换并计算内参参数及外参参数;所述行为识别单元用于对所述相机视频中作业人员的行为进行识别;所述目标追踪单元用于对预设目标进行定位、追踪及识别。10. A power site safety monitoring and tracking system, characterized in that the system includes a multi-camera internal and external reference calibration unit, a behavior recognition unit based on skeleton features, and a target tracking unit; the multi-camera internal and external reference calibration unit is used to record multiple The relative pose transformation between the cameras and the calculation of internal parameters and external parameters; the behavior recognition unit is used to identify the behavior of the operator in the camera video; the target tracking unit is used to locate the preset target , tracking and identification.
CN202310150307.9A 2023-02-15 2023-02-15 Electric power site safety monitoring and tracking method and system Pending CN115994953A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310150307.9A CN115994953A (en) 2023-02-15 2023-02-15 Electric power site safety monitoring and tracking method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310150307.9A CN115994953A (en) 2023-02-15 2023-02-15 Electric power site safety monitoring and tracking method and system

Publications (1)

Publication Number Publication Date
CN115994953A true CN115994953A (en) 2023-04-21

Family

ID=85992076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310150307.9A Pending CN115994953A (en) 2023-02-15 2023-02-15 Electric power site safety monitoring and tracking method and system

Country Status (1)

Country Link
CN (1) CN115994953A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117437595A (en) * 2023-11-27 2024-01-23 哈尔滨航天恒星数据系统科技有限公司 Fishing boat boundary crossing early warning method based on deep learning

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117437595A (en) * 2023-11-27 2024-01-23 哈尔滨航天恒星数据系统科技有限公司 Fishing boat boundary crossing early warning method based on deep learning

Similar Documents

Publication Publication Date Title
CN111191586B (en) Method and system for inspecting wearing condition of safety helmet of personnel in construction site
CN111079600A (en) Pedestrian identification method and system with multiple cameras
CN112235537B (en) Transformer substation field operation safety early warning method
CN102243765A (en) Multi-camera-based multi-objective positioning tracking method and system
CN113688817A (en) Instrument identification method and system for automatic inspection
CN109697428B (en) Unmanned aerial vehicle identification and positioning system based on RGB _ D and depth convolution network
CN111582073A (en) A method for identifying illegal behaviors in substations based on ResNet101 feature pyramid
Neves et al. Acquiring high-resolution face images in outdoor environments: A master-slave calibration algorithm
CN114494427A (en) Method, system and terminal for detecting illegal behavior of person standing under suspension arm
CN115994953A (en) Electric power site safety monitoring and tracking method and system
CN102291568A (en) Accelerated processing method of large-view-field intelligent video monitoring system
CN113743380B (en) Active tracking method based on video image dynamic monitoring
CN109360269B (en) Ground three-dimensional plane reconstruction method based on computer vision
CN114299153B (en) Camera array synchronous calibration method and system for oversized power equipment
CN112785564B (en) Pedestrian detection tracking system and method based on mechanical arm
CN114359712A (en) Safety violation analysis system based on unmanned aerial vehicle inspection
CN117689881B (en) Casting object tracking method based on event camera and CMOS camera
CN118658279A (en) Operation warning method, device and medium
KR20240040532A (en) Method for infrctious disease prevention based on deep learning, and computer-readable recording medium including the same
KR20240040530A (en) System for infectious disease prevention based on deep learning
CN117809351A (en) Method and device for detecting wearing state of safety helmet
CN114355083A (en) Inspection robot fault identification method and system based on artificial intelligence algorithm
Tulgaç et al. Incident detection on junctions using image processing
CN113884017A (en) A method and system for non-contact deformation detection of insulators based on trinocular vision
CN112800828A (en) Target track method for ground grid occupation probability

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination