Infrared-visible light image fusion-based integrated management and control method for grid field operation
Through self-loop learning and feature fusion technology, combined with 3D convolutional neural network and Fusion-GAN network, the imaging quality and recognition rate problems of infrared-visible light image systems in harsh environments in power operation scenarios are solved, and high-precision goals are achieved. and behavior recognition, improving the stability and adaptability of the monitoring system.
Patent Information
- Application Number
- PCT/CN2023/115233
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-07
- Filing Date
- 2023-08-28
- Publication Date
- 2024-09-12
AI Technical Summary
The existing infrared-visible light imaging system suffers from reduced imaging quality and reduced target recognition rate in harsh environments. Especially in power operation scenarios, it is difficult to accurately detect workers, safety helmets and equipment, resulting in insufficient monitoring stability and real-time performance.
A feature fusion method based on self-loop learning is used to extract multi-scale features and reduce redundant features of infrared-visible light images. The model efficiency is improved through feature enhancement mechanisms and iterative mechanisms, and a 3D convolutional neural network is used for human behavior recognition, combined with Fusion-GAN network and YOLOv5 perform target detection and abnormal behavior identification.
It achieves high-precision target recognition and behavior recognition in complex scenes, reaching a recognition accuracy of more than 90%. It has good adaptability and real-time performance, especially when there is less calibration data. The effect is remarkable.
Smart Images

Figure CN2023115233_12092024_PF_FP_ABST
Abstract
Description
Integrated control method for power grid field operations based on infrared-visible light image fusion Technical Field
[0001] The present invention relates to the technical field of power grid monitoring image processing, and in particular to a method for integrated power grid on-site operation control based on infrared-visible light image fusion. Background Art
[0002] Infrared-visible light systems utilize both visible light and infrared technology to achieve 24 / 7 surveillance. Through various transmission methods, such as networks, wireless transmission, or optical cables, surveillance transmission is achieved, enabling superiors to intuitively monitor on-site conditions in real time and operate cameras from thousands of miles away to focus on key observations. The system can also be used in critical areas requiring 24 / 7 monitoring, such as the military, public security, firefighting, oilfield and forest fire prevention, traffic management, and the power grid industry. However, existing systems are subject to severe interference and artifacts in harsh environments, such as fog, insufficient light, and inclement weather. This can degrade image quality, reduce target recognition rates, and even render the surveillance system inoperable, impacting operational stability. Therefore, research on multi-feature infrared-visible multi-source image enhancement technology to provide remote monitoring personnel with improved video quality has become a key industry topic.
[0003] The main purpose of image enhancement is to use convolutional neural networks to solve the problems of complex backgrounds and low light. It mainly extracts image feature points and repeatedly enhances them through convolution to maximize the required target difference features, improve recognition accuracy, and provide better monitoring video effects for remote monitoring personnel.
[0004] Human behavior recognition and deep learning theory are research hotspots in the field of intelligent video analysis. In recent years, they have received widespread attention from academia and engineering communities and are the theoretical basis for many fields, including intelligent video analysis and understanding, video surveillance, and human-computer interaction. In recent years, the widely-regarded deep learning algorithms have been successfully applied to various fields, such as speech recognition and image recognition. Deep learning theory has achieved remarkable success in feature extraction from static images and has gradually been extended to the study of behavior recognition in videos with time series. How to further improve the accuracy of human behavior recognition in video images under low-light conditions is the technical problem to be solved by this invention.
[0005] In power operation scenarios, neural networks still struggle to effectively detect objects in complex scenes with background interference, such as specific workers, helmets, safety belts, and equipment being used. Feature fusion has achieved significant breakthroughs in these areas. Feature fusion is a key approach to improving segmentation performance. It addresses the issue of fusing multi-scale features extracted by the backbone network, generating information encompassing different scales and spatial locations. Feature fusion improves detection performance by combining detection results from different layers. Because information propagation within neural networks is crucial, feature fusion facilitates information transfer between multi-level features extracted by the backbone network. However, in the current industry, many computing systems are located at the terminal, requiring real-time and timely delivery through network communication. This results in poor practicality and unreliable and unstable timeliness. Given this, we propose a method for integrated power grid field operation control based on infrared-visible image fusion.
[0006] Summary of the Invention
[0007] The purpose of the present invention is to provide an integrated control method for power grid field operations based on infrared-visible light image fusion to solve the problems raised in the above background technology.
[0008] To solve the above technical problems, one of the objectives of the present invention is to provide an integrated control method for power grid field operations based on infrared-visible light image fusion, comprising the following steps:
[0009] S1, based on the feature fusion step of self-loop learning, the features of the multi-scale feature image output by the feature pyramid FPN are re-learned;
[0010] S2, based on the multi-channel residual enhancement step, reduces the redundant feature interference of the re-learned feature image;
[0011] S3, based on the feature fusion step of different sample features, adds a feature enhancement mechanism to the network, and improves model efficiency by sharing targets between different images; it can modify and improve the RFP model, shorten the information path while reducing redundant features, and use an iterative mechanism to implement the feature fusion model;
[0012] S4, abnormal behavior recognition step based on infrared-visible light image fusion, is used to classify and label the output fused image, normalize it according to the category coordinate information to build a target detection model, input the feature vector corresponding to the fused image information into the target detection model to obtain the recognition result; it can perform feature calculations on the time dimension and spatial dimension of the video data, use a 3D convolutional neural network to extract features of data related to human joints, and detect abnormal behavior based on the posture information obtained by extracting the human skeleton and the target position information obtained by perspective transformation.
[0013] As a further improvement of the present technical solution, in step S1, the feature fusion step includes, during the fusion process of the infrared-visible light multi-source image, correcting the difference between the images caused by the physical distance between the image sensors;
[0014] The infrared and visible light images are dedistorted separately. Based on the monocular intrinsic parameter data obtained after camera calibration and the relative position relationship between the two cameras, the left and right views are dedistorted and aligned. The two cameras are calibrated using the parallel correction method to correct for the physical differences between the two images.
[0015] The calibration process includes:
[0016] (1) Convert the pixel coordinate systems of the two images to the camera coordinate system through a common intrinsic parameter matrix:
[0017] (2) Rotate the two camera coordinate systems to obtain the new camera coordinate system by left-multiplying the rotation matrices R1 and R2;
[0018] (3) Dedistortion operations are performed on the left and right cameras respectively based on the new camera coordinates;
[0019] (4) After the dedistortion operation is completed, the left and right camera coordinate systems are converted back to the left and right image pixel coordinate systems using the intrinsic parameter matrices of the left and right cameras respectively;
[0020] (5) The pixel values of the left and right source images are used to interpolate the pixel points of the new left and right images respectively.
[0021] As a further improvement of the present technical solution, in step S1, the feature fusion step is modified and improved for the RFP model, and further includes: filling in the blank information through REAML to obtain the feature R i , and then the feedback is connected to the top-down pyramid structure. After the second propagation, the output feature defines an iterative operation:
[0022] Among them, F n (X) represents the process of feature fusion, n∈[1,…,N] is the number of times the feature pyramid is expanded; W is the weight w of the multi-level feature number i i Composition; B is a learnable constant, and the output result Sp is obtained by the above calculation.
[0023] As a further improvement of the present technical solution, in step S2, the redundant feature interference of the relearned feature image is reduced based on the remaining enhancement step of the multi-channel, including using the model formula:
[0024] This model retains the output of the first feature pyramid FPN n represents the i-th layer feature map extracted by the module, Contains can be used with F t+1 Complementary information; Dconv is a 3×3 dilated convolution with two gaps; R represents the calculation process of REAML.
[0025] As a further improvement of the present technical solution, in step S2, the residual enhancement system module based on the multi-channel is used to filter the information of each layer of features and fuse the filtered results according to the contribution of the features. The residual implementation method includes:
[0026] x=Δρ+x
[0027] Among them, Δρ is the residual structure in the model; n∈[1,…,n], p (i) represents the i-th channel of the feature map, w (i) and b (i) Represent the weight and self-learning constant of the channel respectively.
[0028] As a further improvement of the present technical solution, in step S2, the multi-channel residual enhancement system module further includes: after extracting the image feature points, repeatedly performing feature enhancement through the algorithm and training of a deep convolutional neural network to maximize the required target difference features and improve recognition accuracy, and adding a Norm normalization layer after the convolution layer to improve the distinction between the main body and other parts;
[0029] The deep convolutional neural network consists of 5 convolutional layers (conv), 3 pooling layers (pool), 2 LRN layers (norm), 2 random sampling layers (drop), 3 fully connected layers (fc) and 1 softmax classification and regression layer; the convolutional layers (conv) and pooling layers (pool) appear alternately, and the pooling layer (pool) is max-pooling;
[0030] The convolutional layer and the ReLU layer appear in pairs. The expression of the ReLU activation function is: y = {0, max(x)}. When the input x>0, the output is x itself; if the input is less than or equal to 0, the output is 0.
[0031] The convolutional layer parameters are: the blob types of conv1, conv2, conv3, conv4, and conv5 are [1, 96, 55, 55], [1, 256, 27, 27], [1, 384, 13, 13], [1, 384, 13, 13], and [1, 256, 13, 13], respectively, and the step sizes are 4, 2, 1, 1, and 1, respectively;
[0032] The pool layer parameters are: pool1: [1, 96, 27, 27], pool2: [1, 256, 13, 13], pool5: [1, 256, 6, 6];
[0033] The calculation formula for convolution is:
[0034] Where M j is the input feature map set, is the j-th output of the current first layer, Is the convolution kernel, respectively for the input feature map Perform convolution, is the bias, ReLU represents the activation function;
[0035] The output dimension of the convolutional layer is calculated as:
[0036] N2=(N1-F1+2P) / S+1
[0037] Where, the size of the input image is N1×N1, the size of the convolution kernel is F1×F1, the step size is S, P represents the number of padding pixels, that is, the expansion width; the output image size is N2×N2;
[0038] The output dimension of the pool layer is calculated as follows:
[0039] N3=(N1-F2) / S+1
[0040] Where, the kernel size of the pooling layer is F2.
[0041] As a further improvement of the present technical solution, in step S3, the feature fusion step based on different sample features includes:
[0042] Gp=S+F t
[0043] Among them, S represents the sampled sample; i∈[1,…,n] represents the number of feature maps in batch t; d∈[1,…,D] represents the number of channels of the sample feature; Gp is the output with complex sample features.
[0044] As a further improvement of the present technical solution, in step S4, the abnormal behavior recognition step based on infrared-visible light image fusion can input the image-enhanced visible light and infrared light into the generator of the Fusion-GAN network, change the convolution of the generator and the discriminator to a depth-separable convolution, adopt the Mobilenet-v3 architecture for processing, reduce the amount of calculation, and output the fused image; input the output fused image into the discriminator to separately adjust the fused image information to obtain the result; in the adversarial learning process of the generator and the discriminator, the fused image is continuously optimized, and after the loss function reaches a balance, the image with the best effect is retained;
[0045] The fused image is classified and labeled, normalized according to the category coordinate information, and input into the YOLOv5 network together with the fused image. The fused image is subjected to HLV color transformation and spliced using Mosaic data enhancement as a training sample. An improved feature pyramid model named AF-FPN is proposed. It uses the adaptive attention module (AAM) and feature enhancement module (FEM) to reduce information loss in the feature map generation process and enhance the representation capability of the feature pyramid. It improves the detection performance of the YOLOv5 network for multi-scale targets while ensuring real-time detection. A target detection model is constructed, and the feature vector corresponding to the fused image information is input into the target detection model to obtain the recognition result.
[0046] After the Fusion-GAN network fuses the infrared and visible light images, the infrared and visible light fusion video stream is input into the 3D neural network to perform feature calculations in the temporal and spatial dimensions of the video data.
[0047] The input video is divided into two independent data streams: a low-resolution data stream and an original resolution data stream. Both data streams alternately contain convolutional layers, regularization layers, and extraction layers. At the same time, the two data streams are finally merged into two fully connected layers for subsequent feature recognition.
[0048] A 3D convolutional neural network is used to extract features from data related to human joints, and abnormal behaviors are detected based on the posture information obtained by extracting the human skeleton and the target position information obtained by perspective transformation.
[0049] As a further improvement of this technical solution, the loss function set by the generator is:
[0050] Among them, H and W represent the height and width of the input image respectively. represents the matrix norm, represents the gradient operator, ξ is a positive parameter that controls the trade-off between the two terms;
[0051] The loss function set by the discriminator is as follows:
[0052] Among them, a and b represent the fused image I v and visible light image I f Tags, D θD (I v ) and D θD (I f ) is the classification result of the two images;
[0053] The target categories include helmet, not wearing helmet, reflective clothing, not wearing reflective clothing;
[0054] The fused image can be transformed into HLV color and spliced using Mosaic data augmentation as training samples. The learning rate is set to 0.001, the batch size is 16, and the loss function is optimized using gradient descent. The model is evaluated using accuracy, recall, and F1 score, which are calculated based on the self-calibrated categories and the categories detected by the algorithm. They are divided into true positive examples (TP), false positive examples (FP), true negative examples (TN), and false negative examples (FN).
[0055] The formulas for precision, recall, and F1-score are as follows:
[0056] Among them, P and R are the calculated precision and recall respectively;
[0057] The trained model is tested, and the feature vector corresponding to the fused image information is input into the target detection model to obtain the final recognition result.
[0058] As a further improvement of the present technical solution, in step S4, the abnormal behavior recognition step of infrared-visible light image fusion performs feature calculation in the time dimension and spatial dimension of the video data; wherein: the first layer of the convolutional neural network is a hard-coded convolution kernel, including grayscale data, gradients in the z and y directions, and optical flows in the z and y directions, and also includes 3 convolution layers, 2 downsampling layers and 1 fully connected layer;
[0059] 3DCNN is used within a fixed-length video block, and multi-resolution convolutional neural networks are used to extract video features. The static frame data stream uses single-frame data, and the inter-frame dynamic data stream uses optical flow data. A deep convolutional neural network is used for feature extraction in each data set.
[0060] The 3DCNN network structure can be used to estimate the posture of the human body in the fusion video and obtain the skeleton points of the human body; the 3DCNN network structure can output several key skeleton points of the human body in real time; the coordinates of the skeleton points of these parts in the image are recorded as (x i ,y i ), subscript i represents the joint point of the i-th part; use D body To represent the length of the human torso, where x1, x8, x 11 ,y1,y8,y 11 Represent the coordinates of the neck and left and right waist bone points respectively; the feature points obtained by the fusion image through 3DCNN are input into the SVM network for classification, and the categories are divided into unsafe behaviors such as falling, climbing or pushing, and finally the final recognition result is obtained.
[0061] The second object of the present invention is to provide an integrated power grid field operation management and control platform device, including a processor, a memory, and a computer program stored in the memory and running on the processor, and the processor is used to implement the steps of the above-mentioned integrated power grid field operation management and control method based on infrared-visible light image fusion when executing the computer program.
[0062] The third object of the present invention is to provide a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, it implements the steps of the above-mentioned method for integrated control of power grid field operations based on infrared-visible light image fusion.
[0063] Compared with the prior art, the present invention has the following beneficial effects:
[0064] 1. This integrated power grid field operation control method based on infrared-visible light image fusion provides a model based on self-recurrent learning fusion. Comparison with public datasets verifies the advantages of the fusion module, which can accurately extract precise targets from monitoring data in complex scenarios in real-world situations. It demonstrates high recognition accuracy in complex real-world scenario datasets. In relatively fixed power production scenarios, the model achieves an accuracy of over 90%, and is capable of flexibly handling targets in the scenario.
[0065] 2. This integrated control method for power grid field operations based on infrared-visible light image fusion has strong adaptability to data, and can achieve better results, especially when there is less calibration data. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] FIG1 is a flow chart of an exemplary overall method of the present invention;
[0067] FIG2 is a schematic diagram of an exemplary framework of an integrated control method for power grid field operations based on infrared-visible light image fusion according to the present invention;
[0068] FIG3 is an exemplary 3DCNN structure diagram of the present invention;
[0069] FIG4 is a diagram showing an exemplary multi-resolution convolutional neural network structure in the present invention;
[0070] FIG5 is a schematic diagram of an exemplary method of obtaining skeleton points of a human body in the present invention;
[0071] FIG6 is an exemplary ReLU function diagram of the present invention;
[0072] FIG7 is a structural diagram of an exemplary back propagation algorithm in the present invention;
[0073] FIG8 is a schematic diagram of an exemplary deep convolutional neural network structure in the present invention;
[0074] FIG9 is a diagram showing exemplary test results in Example 2 of the present invention;
[0075] FIG10 is a structural diagram of an exemplary electronic computer platform in the present invention. DETAILED DESCRIPTION
[0076] The following will provide a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0077] Example 1
[0078] As shown in Figures 1 to 5, this embodiment provides an integrated control method for power grid field operations based on infrared-visible light image fusion, including the following steps:
[0079] S1, based on the feature fusion step of self-loop learning, the features of the multi-scale feature image output by the feature pyramid FPN are re-learned;
[0080] S2, based on the multi-channel residual enhancement step, reduces the redundant feature interference of the re-learned feature image;
[0081] S3, based on the feature fusion step of different sample features, adds a feature enhancement mechanism to the network, and improves model efficiency by sharing targets between different images; it can modify and improve the RFP model, shorten the information path while reducing redundant features, and use an iterative mechanism to implement the feature fusion model;
[0082] S4, abnormal behavior recognition step based on infrared-visible light image fusion, is used to classify and label the output fused image, normalize it according to the category coordinate information to build a target detection model, input the feature vector corresponding to the fused image information into the target detection model to obtain the recognition result; it can perform feature calculations on the time dimension and spatial dimension of the video data, use a 3D convolutional neural network to extract features of data related to human joints, and detect abnormal behavior based on the posture information obtained by extracting the human skeleton and the target position information obtained by perspective transformation.
[0083] In this embodiment, a target detection model based on multi-channel enhanced self-loop learning and fusion of different sample features should be constructed first, and its structure is shown in Figure 2. The model includes feature fusion based on self-loop learning (SLFF), residual enhancement architecture based on multi-channel (REAML), fusion based on different sample features (GSFF), and abnormal behavior recognition steps based on infrared-visible light image fusion. The RFP model is modified and improved to shorten the information path while reducing redundant features. The specific contents are as follows: The SLFF module re-learns the features of the multi-scale feature map output by FPN, and then reduces the redundant feature interference through REAML. At the same time, a feature enhancement mechanism is added to the network to improve the efficiency of the model by sharing targets between different images.
[0084] In this embodiment, the feature fusion based on self-loop learning includes:
[0085] The concept of RFP is to enable tasks to better process sequential information, creating connections between previous and subsequent inputs and forming a loop. However, a contradiction in the feature pyramid that includes feedback connections is that it extends the scope of the two-step observation and thinking mechanism.
[0086] When multi-source infrared and visible light fusion image data is input into the target model for training, the DSFF module uses two features to extract low-resolution and super-resolution images, and uses the attention channel to extract features, which are then input into the global average pooling layer and the fully connected layer. The FPN network is used to extract multi-channel and multi-scale features, which are then input into the SLFF module for self-circular learning. The SLFF module uses REAML to fill in the blank information of the original feature map to obtain the feature R i , and then the feedback is connected to the top-down pyramid structure; after the second propagation, the output feature is defined as:
[0087] Among them, F n (X) represents the process of feature fusion, n∈[1,…,N] is the number of times the feature pyramid is expanded; W is the weight w of the multi-level feature number i iComposition; B is a learnable constant, and the output result Sp is obtained by the above calculation.
[0088] Furthermore, for the multi-channel based residual enhancement structure:
[0089] Redundant features exist in the background of the feature map, reducing the ratio of explicit features to implicit features. The background contains a variety of features with different information content, and some features will interfere with the calculation. Background information with low sensitivity also contains a lot of interference information, confusing the network and making it unable to judge the target. Inputting feature maps with enhanced features but containing more redundant features into the network will cause the feature pyramid to have lower sensitivity, and the network structure will be confused about which features to enhance and which to extract. Therefore, the model designed in this embodiment realizes information dissemination while reducing redundant feature interference.
[0090] The model formula is as follows:
[0091] This model retains the output of the first feature pyramid FPN n represents the i-th layer feature map extracted by the module, Contains can be used with F t+1 Complementary information; Dconv is a 3×3 dilated convolution with two gaps; R represents the calculation process of REAML.
[0092] After dilated convolution resizing Compared with ordinary convolution, it has a larger receptive field. Based on F t+1 Learning weights. This embodiment operates to filter the information of each layer of features and fuses the filtered results according to the contribution of the features. The residual is implemented as follows:
[0093] x=Δρ+x
[0094] Among them, Δρ is the residual structure in the model; n∈[1,…,n], p (i) represents the i-th channel of the feature map, w (i) and b (i) Represent the weight and self-learning constant of the channel respectively.
[0095] In networks without REAML processing, information propagation, while shared between multi-scale feature maps, also results in the propagation of redundant information. This meaningless transmission of redundant information not only pollutes the feature maps but also adds significant computational overhead. Consequently, redundant features not only affect multi-scale feature representation, thereby reducing the ability of iterative feature enhancement, but also hinder information propagation efficiency.
[0096] Furthermore, for feature fusion based on multiple samples:
[0097] Based on the concept of data enhancement and basic operations, this embodiment proposes a simple sample complication model within the neural network. This model realizes the automatic enrichment of the data set capacity, and improves the learning and generalization capabilities of the model by increasing the number of targets in the picture. The GDFF model will iteratively omit part of the backbone network. Therefore, in order to avoid the data augmentation method as an independent preprocessing method, this embodiment proposes the GSFF model, a data enhancement model integrated into the network structure. The purpose of GSFF is to enhance the features of simple samples across two samples with a certain distance, thereby improving the generalization ability of the network model. There is a huge information difference between the two pictures, and the information of the feature points at the same position is not necessarily compatible. A simple fusion operation is likely to destroy the information needed to detect the target and obtain counterproductive results. Therefore, there are:
[0098] Gp=S+F t
[0099] Among them, S represents the sampled sample; i∈[1,…,n] represents the number of feature maps in batch t; d∈[1,…,D] represents the number of channels of the sample feature; Gp is the output with complex sample features.
[0100] This example designs a model based on self-recurrent learning fusion. Comparisons with public datasets demonstrate the advantages of the fusion module. In a relatively complex real-world scenario dataset, the model achieves an accuracy of 66.2%, surpassing current mainstream models such as Libra R-CNN, Faster R-CNN, and RefineDet. In a relatively fixed power production scenario, the model achieves an accuracy exceeding 90%. This model improves the detection accuracy of small objects and handles targets in the scene more flexibly.
[0101] Furthermore, for abnormal behavior recognition based on infrared-visible light image fusion, there are:
[0102] Step 1: Input the enhanced visible light and infrared light into the generator of the Fusion-GAN network to output the fused image; input the output fused image into the discriminator to separately adjust the fused image information to obtain the result.
[0103] The enhanced visible and infrared images are fed into the Fusion-GAN network's generator, which outputs a fused image. This fused image is then fed into the discriminator to individually adjust the fused image information and obtain the result.
[0104] Set the generator's loss function to:
[0105] Among them, H and W represent the height and width of the input image respectively. represents the matrix norm, represents the gradient operator and ξ is a positive parameter that controls the trade-off between the two terms.
[0106] The loss function of the discriminator is set as follows:
[0107] Among them, a and b represent the fused image I v and visible light image I f Tags, D θD (Iv) and D θD (I f ) is the classification result of the two images.
[0108] During the adversarial learning process between the generator and the discriminator, the fused image is continuously optimized, and after the loss function reaches a balance, the image with the best effect is retained.
[0109] Step 2: Use labelimg annotation software to annotate the fused image, labeling categories such as helmet, not wearing a helmet, reflective clothing, and not wearing reflective clothing. Save the image in XML format and normalize the category coordinates in XML format to create a txt file to store the category coordinates. Subsequently, the txt file and the fused image are input into the YOLOv5 network. The fused image is transformed into an HLV color space and stitched together using Mosaic data augmentation. This serves as a training sample. An improved feature pyramid model, named AF-FPN, is proposed. It uses an adaptive attention module (AAM) and a feature enhancement module (FEM) to reduce information loss during feature map generation and enhance the representation capability of the feature pyramid. This improves the YOLOv5 network's detection performance for multi-scale targets while ensuring real-time detection, and constructs a target detection model. The learning rate is set to 0.001, the batch size is 16, and the loss function is optimized using gradient descent. The model is evaluated using precision, recall, and F1-score, which are calculated based on the self-calibrated categories and the categories detected by the algorithm. They are divided into the following four categories: true positive examples (TP), false positive examples (FP), true negative examples (TN), and false negative examples (FN). The formulas for precision, recall, and F1-score are as follows:
[0110] Among them, P and R are the calculated precision and recall respectively;
[0111] Finally, the trained model is tested, and the feature vector corresponding to the fused image information is input into the target detection model to obtain the final recognition result.
[0112] Step 3: After the Fusion-GAN network fuses the infrared and visible light images, the infrared and visible light fusion video stream is input into the 3D neural network. 3DCNN is a traditional CNN extended to a 3DCNN with time information, as shown in Figure 3. It calculates features in the time and space dimensions of the video data.
[0113] The first layer of the convolutional neural network consists of a hard-coded convolution kernel, which includes grayscale data, z- and y-direction gradients, and z- and y-direction optical flows. It also includes three convolutional layers, two downsampling layers, and one fully connected layer. Its architecture is shown in Figure 4. Finally, the resulting features are used with an SVM for action recognition. They proposed using only data related to the joints of human poses to extract features using a deep convolutional network. Finally, using statistical methods, the entire video is converted into a feature vector, and an SVM is used to train the final classification model and perform recognition.
[0114] Use 3DCNN in video blocks of a certain length and use multi-resolution convolutional neural networks to extract video features;
[0115] The input video is divided into two independent data streams: a low-resolution data stream and an original-resolution data stream. Both data streams alternately contain convolutional layers, regularization layers, and extraction layers. At the same time, the two data streams are finally merged into two fully connected layers for subsequent feature recognition. The structure diagram is shown in Figure 4.
[0116] They also use a two-stream convolutional neural network for video action recognition. They divide the video into a static frame data stream and an inter-frame dynamic data stream. The static frame data stream uses single-frame data, while the inter-frame dynamic data stream uses optical flow data. Each data stream uses a deep convolutional neural network for feature extraction.
[0117] Utilize 3D convolutional neural networks to extract features from data related to human joints, and detect abnormal behaviors based on posture information obtained from the human skeleton and target position information obtained from perspective transformation.
[0118] The 3DCNN was designed to consist of 8 convolutional layers, 5 pooling layers, and 2 fully connected layers, including a softmax function. The network's input size was 3×16×112×112. The convolution kernel size was set to 3×3×3 with a stride of 1×1×1. Convolution calculations were performed on the input fused video stream. After the calculations were completed, the feature images were pooled with a pooling kernel size of 2×2×2 and a stride of 2×2×2, resulting in a total of 4098 outputs. The learning rate for training was set to 0.001, and the number of training batches was set to 100. Training was terminated when the loss function was minimized to obtain the optimal model.
[0119] The 3DCNN network structure is used to estimate the posture of the human body in the fused video and obtain the human skeleton points. As shown in Figure 5, the 3DCNN network structure outputs 18 key skeleton points such as the eyes, arms, and knees in real time.
[0120] The coordinates of the 18 bone points in the image are recorded as (x i ,y i ), subscript i represents the joint point of the i-th part; use D body To represent the length of the human torso, where x1, x8, x 11 ,y1,y8,y 11 The coordinates of the neck and left and right waist bone points are represented respectively. The feature points obtained by the fusion image through 3DCNN are input into the SVM network for classification. The categories are divided into unsafe behaviors such as falling, climbing, and pushing, and the final recognition result is obtained.
[0121] Example 2
[0122] As shown in FIG6 to FIG9, this embodiment, based on the embodiment 1, further includes:
[0123] After extracting the image feature points, the features are repeatedly enhanced through the algorithm and training of the deep convolutional neural network. Before training the model, this embodiment uses Python crawler technology to obtain 993 images in 10 categories, which are divided into a test set of 200 images and a training set of 793 images. The convolutional neural network can directly input the image itself without complex preprocessing operations. Due to hardware limitations, this embodiment only unifies the image resolution and converts it to 256×256. Then, 20 images from each of the 10 categories are randomly selected and placed in the test set, and the remaining images are placed in the training set. The mean calculation file provided by Caffe is then used to subtract the mean from the image before training. This calculation can reduce the similarity between the image data, thereby greatly improving the accuracy and speed of training.
[0124] In convolutional neural layers, the size of the convolution kernel affects the abstraction of image features. Generally speaking, larger kernels produce better results, but more training parameters lead to smaller kernels. Fewer training parameters result in finer processing, which requires more layers to achieve the same effect. In the structure of this embodiment, the first convolution layer uses an 11×11 convolution kernel. While this large kernel can achieve a relatively good abstraction effect, the processing is relatively coarse. Therefore, a Norm normalization layer is added after Conv to improve the distinction between the main body and other parts.
[0125] Typically, convolutional layers and ReLU layers appear in pairs. The standard ReLU activation function is expressed as: y = {0, max(x)}. When the input x > 0, the output is x itself; if the input is less than or equal to 0, the output is 0. In convolutional neural networks, the ReLU excitation function is generally used to replace previous activation functions such as tanh and sigmoid. As shown in Figure 6, when x > 0, the derivative of the ReLU function is constant, while the tanh and sigmoid functions are not. Therefore, the ReLU function avoids the problem that the derivatives of the tanh and sigmoid functions become smaller when approaching the target at both ends, resulting in slower convergence due to BP backpropagation errors during neural network training, as shown in Figure 7. The advantages of ReLU are fast convergence, simple gradient calculation, and sparsity after training, which can reduce data redundancy and enhance the expressiveness of special zone features.
[0126] Pooling layers, also known as spatial downsampling layers, are typically implemented after convolutional layers in convolutional neural networks. Pooling is used after image convolution to aggregate feature points within a small neighborhood to generate new features. Convolution and pooling are typically combined in a Conv-Pool configuration to reduce information redundancy caused by convolution. Pooling layers, also known as downsampling layers, achieve dimensionality reduction by reducing the dimension of the feature vector output by the previous convolutional layer. They also help reduce overfitting.
[0127] This embodiment uses max-pooling to reduce image noise and reduce the overfitting phenomenon in which the convolution output of the image is too sensitive to input errors.
[0128] The max-pooling algorithm employed in this embodiment ensures position and rotation invariance of features for images. This is a valuable property because it allows the extraction of valid features obtained after convolution regardless of their location. Furthermore, max-pooling in this embodiment significantly reduces the number of model parameters, significantly reducing the number of neurons in the norm layer following the pool layer.
[0129] In this embodiment, the algorithms and training based on deep convolutional neural networks are:
[0130] As shown in Figure 8, the deep convolutional neural network in this embodiment includes 5 convolutional layers (conv), 3 pooling layers (pool), 2 LRN layers (norm), 2 random sampling layers (drop), 3 fully connected layers (fc) and 1 softmax classification regression layer.
[0131] The convolution layer parameters are: conv1, conv2, conv3, conv4, conv5, the blob types are [1, 96, 55, 55], [1, 256, 27, 27], [1, 384, 13, 13], [1, 384, 13, 13], and [1, 256, 13, 13], respectively, with step sizes of 4, 2, 1, 1, 1. The pool layer parameters are: pool1: [1, 96, 27, 27], pool2: [1, 256, 13, 13], pool5: [1, 256, 6, 6]. The convolution calculation formula is:
[0132] Where M j is the input feature map set, is the j-th output of the current first layer, Is the convolution kernel, respectively for the input feature map Perform convolution, is the bias, and ReLU represents the activation function. The formula for calculating the output dimension of the convolutional layer is: N2 = (N1-F1+2P) / S+1
[0133] In the formula, the size of the input image is N1×N1, the size of the convolution kernel is F1×F1, the stride is S, and P represents the number of padding pixels, that is, the expansion width; the output image size is N2×N2. The output dimension of the pool layer is calculated as follows:
[0134] N3=(N1-F2) / S+1
[0135] Where, the kernel size of the pooling layer is F2.
[0136] This example uses the Anaconda scientific computing environment, with the Jupyter Notebook tool included in Anaconda, to visualize the changing trends of some model parameters throughout the process. As shown in Figure 9, the horizontal axis is the number of iterations, and the vertical axis is the loss value and accuracy.
[0137] This example sets specific network parameters based on its own dataset. Figure 9 shows 1000 iterations. Every 50 iterations, the trained network is tested on the test set, outputting the loss and accuracy. A snapshot of the current state is taken every 200 iterations. After multiple iterations of adjusting the Batch-Size value and training, the optimal convergence accuracy is achieved when the Batch-Size is set to 50. This model achieves the highest average recognition rate for images, reaching 92.50%.
[0138] Analysis shows that a too small Batch-Size can cause excessive fluctuations in recognition rate. Adjusting the Batch-Size can improve recognition accuracy because, when the dataset is small, appropriately increasing the Batch_Size accurately determines the direction of descent, reducing training fluctuations, improving CPU utilization, and increasing the efficiency of large matrix multiplications. Because the final convergence accuracy will fall into different local extremes, increasing the Batch_Size to a certain value achieves the optimal final convergence accuracy.
[0139] In addition, this solution is based on an infrared-visible light multi-source image fusion remote safety control method that integrates "visible light + infrared light + algorithm + computing power". At least two complex background and low-light operation scenarios are selected to verify the accuracy and reliability of the algorithm and model. Through artificial intelligence edge computing devices (such as Cambrian MLU270 and NVIDIA Xavier), the fusion and recognition algorithms are embedded in the front-end infrared-visible light multi-source image fusion remote safety control method. Core tasks such as infrared-visible light fusion and abnormal behavior recognition are completed directly in the front-end device, realizing real-time sound warnings for abnormal behavior at the operation site. At the same time, relevant components and models can be put on the Southern Power Grid artificial intelligence platform. Relevant personnel are prompted and their behavior is recorded through the infrared-visible light multi-source image fusion remote safety control mobile application. The detection results are archived by the infrared-visible light multi-source image fusion remote safety control system for power field operations for future data analysis and statistics, so that our data has the ability to provide services for related applications (operation video surveillance systems). To address the problem of identifying target human behavior in low-light conditions, infrared and visible light image fusion is combined with behavior recognition. Abnormal behavior is detected based on posture information extracted from the human skeleton and target position information obtained through viewpoint transformation. To address the problem of identifying target human behavior in low-light conditions, infrared and visible light image fusion is combined with behavior recognition. A 3D convolutional neural network is used to extract features from human joint data. Abnormal behavior is detected based on posture information extracted from the human skeleton and target position information obtained through viewpoint transformation. This creates a human motion feature model library for illegal behaviors. Once the model library is established, actions in on-site construction videos that match the model library are considered illegal behaviors. This project, based on infrared and visible light image fusion, aims to implement the following illegal behavior detection in low-light conditions: climbing detection, person identification, area intrusion detection, safety belt detection, insulator detection, and hardhat detection. The target precision (accuracy) is ≥95%, the recall rate (recall) is ≥90%, and the speed (FPS) is 30. Because deep networks can learn features from data in an unsupervised manner, and this learning method is consistent with the human perception of the world, when there are enough training samples, the features learned by deep networks often have certain semantic characteristics and are more suitable for target and behavior recognition. This method has strong adaptability to data, and can achieve better results when there is less calibration data. Convolutional neural networks have achieved excellent results in image recognition.
[0140] As shown in FIG10 , this embodiment further provides a power grid field operation integrated management and control platform device, which includes a processor, a memory, and a computer program stored in the memory and running on the processor.
[0141] The processor includes one or more processing cores, and the processor is connected to the memory via a bus. The memory is used to store program instructions. When the processor executes the program instructions in the memory, the steps of the above-mentioned integrated control method for power grid field operations based on infrared-visible light image fusion are implemented.
[0142] Alternatively, the memory may be implemented by any type of volatile or non-volatile memory device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0143] In addition, the present invention also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the steps of the above-mentioned integrated control method for power grid field operations based on infrared-visible light image fusion.
[0144] Optionally, the present invention also provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the steps of the above-mentioned method for integrated control of power grid field operations based on infrared-visible light image fusion.
[0145] Those skilled in the art will appreciate that the process of implementing all or part of the steps of the above embodiments may be accomplished by hardware, or may be accomplished by instructing the relevant hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk, or an optical disk, etc.
[0146] The above shows and describes the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions are merely preferred examples of the present invention and are not intended to limit the present invention. Various changes and improvements may be made to the present invention without departing from the spirit and scope of the present invention. Such changes and improvements fall within the scope of the present invention. The scope of protection claimed in the present invention is defined by the appended claims and their equivalents.
Claims
1. A method for integrated control of power grid field operations based on infrared-visible light image fusion, characterized in that: The steps include: S1, based on the feature fusion step of self-loop learning, the multi-scale feature image output by the feature pyramid FPN is re-learned; S2, based on the multi-channel residual enhancement step, to reduce the redundant feature interference of the re-learned feature image; S3, based on the feature fusion step of different sample features, adds a feature enhancement mechanism in the network, improves the model efficiency by sharing targets between different images; can modify and improve the RFP model, shorten the information path while reducing redundant features, and use an iterative mechanism to implement the feature fusion model; S4, abnormal behavior recognition step based on infrared-visible light image fusion, is used to classify and annotate the output fused image, normalize it according to the category coordinate information to build a target detection model, input the feature vector corresponding to the fused image information into the target detection model to obtain the recognition result; it can perform feature calculation on the time dimension and space dimension of the video data, use the 3D convolutional neural network to extract features of the data related to the human joint points, and detect abnormal behavior based on the posture information obtained by extracting the human skeleton and the target position information obtained by the perspective transformation.
2. The integrated control method for power grid field operations based on infrared-visible light image fusion according to claim 1 is characterized in that: In step S1, the feature fusion step includes, during the process of fusion of infrared-visible light multi-source images, correcting the difference between images caused by the physical distance between image sensors; Eliminate the distortion of infrared and visible light images respectively, and eliminate the distortion and align the left and right views respectively according to the monocular intrinsic parameter data obtained after camera calibration and the relative position relationship between the two cameras; The two cameras are calibrated by parallel correction method, completing a correction for the physical difference between the two images; The calibration process includes: (1) The pixel coordinate systems of the two images are converted to the camera coordinate system through a common intrinsic parameter matrix: (2) Rotate the two camera coordinate systems respectively to obtain a new camera coordinate system; (3) Dedistortion operations are performed on the left and right cameras respectively according to the new camera coordinates; (4) After the de-distortion operation is completed, the left and right camera coordinate systems are converted back to the left and right image pixel coordinate systems using the intrinsic parameter matrices of the left and right cameras respectively; (5) The pixel values of the left and right source images are used to interpolate the pixel points of the new left and right images respectively.
3. The integrated control method for power grid field operations based on infrared-visible light image fusion according to claim 2 is characterized in that: In step S1, the feature fusion step modifies and improves the RFP model, and also includes: filling in the blank information through REAML to obtain feature R i , and then the feedback is connected to the top-down pyramid structure. After the second propagation, the output feature defines an iterative operation: Among them, F n (X) represents the process of feature fusion, n∈[1,…,N] is the number of times the feature pyramid is cyclically expanded; W is the weight w of the multi-level feature number i i Composition; B is a learnable constant, and the output result Sp is obtained by the above calculation.
4. The integrated control method for power grid field operations based on infrared-visible light image fusion according to claim 1 is characterized in that: In step S2, based on the remaining enhancement steps of the multi-channel, redundant feature interference is reduced for the re-learned feature image, including using the model formula: This model retains the output of the first feature pyramid FPN n represents the i-th layer feature map extracted by the module, Contains can be used with F t+1 Complementary information; Dconv is a 3×3 hole convolution with two gaps; R represents the calculation process of REAML.
5. The integrated control method for power grid field operations based on infrared-visible light image fusion according to claim 4 is characterized in that: In step S2, based on the multi-channel residual enhancement system module, the information of each layer of features is screened, and the screened results are merged according to the contribution degree of the features. The residual realization method includes: x = Δρ + x Among them, Δρ is the residual structure in the model; n∈[1,…,n], p (i) represents the i-th channel of the feature map, w (i) and b (i) Represent the weight and self-learning constant of the channel respectively.
6. The integrated control method for power grid field operations based on infrared-visible light image fusion according to claim 5 is characterized in that: In the step S2, the multi-channel residual enhancement system module further includes: after extracting the image feature points, repeatedly performing feature enhancement through the algorithm and training of the deep convolutional neural network to maximize the required target difference features and improve the recognition accuracy, and adding a Norm normalization layer after the convolution layer to improve the distinction between the main body and other parts; The deep convolutional neural network includes 5 convolutional layers, 3 pooling layers, 2 LRN layers, 2 random sampling layers, 3 fully connected layers and 1 softmax classification regression layer; the convolutional layers and pooling layers appear alternately, and the pooling layer is max-pooling; The convolutional layer and the ReLU layer appear in pairs. The expression of the ReLU activation function is: y = {0, max(x)}. When the input x>0, the output is x itself; if the input is less than or equal to 0, the output is 0. The calculation formula for convolution is: Where M j is the input feature map set, is the jth output of the current first layer, is the convolution kernel, respectively, for the input feature map Perform convolution, is the bias, ReLU represents the activation function; The output dimension of the convolutional layer is calculated as: N2=(N1-F1+2P) / S+1 In the formula, the size of the input image is N1×N1, the size of the convolution kernel is F1×F1, the step size is S, and P represents the number of padding pixels, that is, the expansion width; the output image size is N2×N2; The output dimension calculation formula of the pool layer is as follows: N3=(N1-F2) / S+1 Where, the kernel size of the pooling layer is F2.
7. The integrated control method for power grid field operations based on infrared-visible light image fusion according to claim 1, characterized in that: In step S3, the feature fusion step based on different sample features includes: Gp = S + F t Among them, S represents the sampled sample; i∈[1,…,n] represents the number of feature maps in t batches; d∈[1,…,D] represents the number of channels of the sample feature; Gp is the output with complex sample features.
8. The integrated control method for power grid field operations based on infrared-visible light image fusion according to claim 1 is characterized in that: In the step S4, the abnormal behavior recognition step based on infrared-visible light image fusion can input the image-enhanced visible light and infrared light into the generator of the Fusion-GAN network, change the convolution of the generator and the discriminator to a depth-separable convolution, use the mobilenet-v3 architecture for processing, and output the fused image; input the output fused image into the discriminator to adjust the fused image information separately to obtain the result; in the adversarial learning process of the generator and the discriminator, continuously optimize the fused image, and retain the image with the best effect after the loss function reaches a balance; The fused image is classified and labeled, normalized according to the category coordinate information, and input into the yolov5 network with the fused image. The fused image is transformed into HLV color, and the image is spliced using Mosaic data enhancement. As a training sample, a target detection model is constructed, and the feature vector corresponding to the fused image information is input into the target detection model to obtain the recognition result. After the Fusion-GAN network fuses the infrared and visible light images, the infrared and visible light fusion video stream is input into the 3D neural network to perform feature calculations in the temporal and spatial dimensions of the video data. The input video is divided into two independent data streams: a low-resolution data stream and an original-resolution data stream. Both data streams contain convolutional layers, regularization layers, and extraction layers alternately. At the same time, the two data streams are finally merged into two fully connected layers for subsequent feature recognition. A 3D convolutional neural network is used to extract features from data related to human joints, and abnormal behaviors are detected based on the posture information obtained by extracting the human skeleton and the target position information obtained by perspective transformation.
9. The integrated control method for power grid field operations based on infrared-visible light image fusion according to claim 8 is characterized in that: The loss function set by the generator is: Among them, H and W represent the height and width of the input image respectively. represents the matrix norm, represents the gradient operator, ξ is a positive parameter that controls the trade-off between the two terms; The loss function set by the discriminator is as follows: Where a and b represent the fused image I v and visible light image I f Label, D θD (I v ) and D θD (I f ) is the classification result of the two images; The fused image can be transformed into HLV color, and the image can be spliced using Mosaic data enhancement as a training sample; the learning rate is set to 0.001, the batch size is 16, and the gradient descent method is used to optimize the loss function; the accuracy, recall rate, and F1 score are used to evaluate the model, which are calculated based on the self-calibrated categories and the categories detected by the algorithm, and are divided into: true positive examples TP, false positive examples FP, true negative examples TN, and false negative examples FN; The formulas for accuracy, recall, and F1-score are as follows: Among them, P and R are the calculated precision and recall respectively; The trained model is tested, and the feature vector corresponding to the fused image information is input into the target detection model to obtain the final recognition result.
10. The integrated control method for power grid field operations based on infrared-visible light image fusion according to claim 9, characterized in that: In the step S4, the abnormal behavior recognition step of infrared-visible light image fusion performs feature calculation in the time dimension and space dimension of the video data; wherein: the first layer of the convolutional neural network is a hard-coded convolution kernel, including grayscale data, gradients in the z and y directions, and optical flows in the z and y directions, and also includes 3 convolutional layers, 2 downsampling layers and 1 fully connected layer; 3DCNN is used in video blocks of a certain length, and multi-resolution convolutional neural networks are used to extract video features. The static frame data stream uses single-frame data, and the inter-frame dynamic data stream uses optical flow data. Deep convolutional neural networks are used to extract features in each data. The 3DCNN network structure can be used to estimate the posture of the human body in the fusion video and obtain the skeleton points of the human body; the 3DCNN network structure can output several key skeleton points of the human body in real time; the coordinates of the skeleton points of these parts in the image are recorded as (x i ,y i ), subscript i represents the joint point of the i-th part; using D body To represent the length of the human body, where x1, x8, x 11 ,y1,y8,y 11 They represent the coordinates of the neck and left and right waist bone points respectively; the feature points obtained by 3DCNN of the fused image are input into the SVM network for classification, and the categories are divided into unsafe behaviors such as falling, climbing or pushing, and finally the final recognition result is obtained.
Citation Information
Patent Citations
Power transmission line defect detection method and system and electronic equipment
CN109785289A
Method for identifying and detecting abnormal behaviors in transformer substation based on artificial intelligence in complex scene
CN111339883A
Power equipment fault diagnosis method based on combination of image fusion and target detection
CN112733950A
Infrared-visible light multi-source image fusion integrated management and control system and device
CN116343329A
Power grid field operation integrated management and control method based on infrared-visible light image fusion
CN116363748A
Cited By
Dynamic storage and correction method and system based on meter reading data
CN118869190A
Tunnel earthquake-electricity-radar joint inversion and analysis method based on multi-modal learning
CN119087541A
Cutting quality evaluation method and system for automobile caliper production line
CN119206374A
Skeleton action recognition method based on feature pyramid
CN119206868A
Infrared light-based plastic discharge cutting time determination method, medium and system
CN119228677A
