Power system video terminal picture detection method, evaluation method and system

The power system video terminal picture detection model constructed through the convolutional neural network solves the time-consuming and labor-intensive problem of video surveillance terminal detection in the existing technology, and achieves efficient and reliable video terminal picture detection and evaluation.

CN118609029APending Publication Date: 2024-09-06STATE GRID HUNAN ELECTRIC POWER COMPANY LIMITED +2
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410794493.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The detection of video surveillance terminals in existing power systems mainly relies on manual methods, which results in time-consuming, labor-intensive, high cost and poor reliability and accuracy.

Method used

A power system video terminal picture detection method based on convolutional neural network is adopted. By obtaining historical video data for preprocessing and training, a power system video terminal picture detection model is constructed to automatically detect picture problems in video surveillance terminals.

Benefits of technology

It achieves high efficiency, reliability and accuracy in power system video terminal picture detection, reduces manual participation and improves detection efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118609029A
    Figure CN118609029A
Patent Text Reader

Abstract

The invention discloses a power system video terminal picture detection method. The method comprises the steps of obtaining historical video data of a video monitoring terminal and preprocessing the historical video data to obtain a training data set; based on the convolutional neural network, constructing an initial power system video terminal picture detection model, and training to obtain a power system video terminal picture detection model; and adopting the obtained power system video terminal picture detection model to carry out actual power system video terminal picture detection. The invention also discloses an evaluation method comprising the power system video terminal picture detection method, and a system for realizing the power system video terminal picture detection method. According to the method, detection and evaluation of images of the video terminal of the power system can be achieved, a large amount of manual participation is not needed, efficiency is high, reliability is high, and accuracy is good.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of electrical automation, and in particular relates to a power system video terminal screen detection method, an evaluation method and a system. Background Art

[0002] With the development of economy and technology and the improvement of people's living standards, electricity has become an indispensable secondary energy source in people's production and life, bringing endless convenience to people's production and life. Therefore, ensuring the stable and reliable supply of electricity has become one of the most important tasks of the power system.

[0003] At present, there are a large number of video surveillance terminals in the power system, which greatly ensure the safe and stable operation of the power system. However, with the large-scale use of video surveillance terminals and long-term use, the screen of the video surveillance terminal continues to have problems such as distorted screen, blue screen, black screen, etc., which seriously affects the video viewing.

[0004] At present, the detection of video surveillance terminals is often done manually, that is, when a problem or possible problem is found in a video surveillance terminal, the screen of the video surveillance terminal is manually detected and reviewed in real time, and the number or frequency of problems such as distorted screen, blue screen, black screen, etc. is recorded, so as to evaluate the reliability of the video surveillance terminal. However, this manual detection method of video surveillance terminals is not only time-consuming and labor-intensive, but also costly, and has poor reliability and accuracy. Summary of the invention

[0005] One of the purposes of the present invention is to provide a method for detecting images of a video terminal of an electric power system with high reliability, good accuracy and high efficiency.

[0006] A second object of the present invention is to provide an evaluation method including the power system video terminal screen detection method.

[0007] A third objective of the present invention is to provide a system for implementing the power system video terminal screen detection method.

[0008] The power system video terminal screen detection method provided by the present invention comprises the following steps:

[0009] S1. Obtain historical video data of the video surveillance terminal;

[0010] S2. Preprocess the historical video data obtained in step S1 to obtain a training data set;

[0011] S3. Based on convolutional neural network, construct the initial model of power system video terminal image detection;

[0012] S4. Using the training data set constructed in step S2, the initial model for power system video terminal screen detection constructed in step S3 is trained to obtain a power system video terminal screen detection model;

[0013] S5. Using the power system video terminal screen detection model obtained in step S4, perform actual power system video terminal screen detection.

[0014] Step S2 preprocesses the historical video data obtained in step S1 to obtain a training data set, which specifically includes the following steps:

[0015] Extract frames from the historical video data obtained in step S1 to obtain key frame picture data;

[0016] The obtained key frame image data is labeled: the labeled categories include normal image, distorted image, black screen image and blue screen image;

[0017] Based on the marked key frame pictures, sample augmentation is performed; the sample augmentation includes picture translation, picture scaling, picture rotation and picture symmetry.

[0018] The construction of the initial model for detecting the video terminal image of the power system based on the convolutional neural network described in step S3 specifically includes the following steps:

[0019] The constructed initial model for power system video terminal screen detection includes a first convolutional layer, a maximum pooling layer, a first residual connection layer, a second residual connection layer, a third residual connection layer, a fourth residual connection layer, an average pooling layer and an output layer connected in series in sequence;

[0020] The first convolutional layer is used to extract data features from the input original picture data;

[0021] The maximum pooling layer is used to perform maximum pooling processing on the extracted data features;

[0022] The first residual connection layer, the second residual connection layer, the third residual connection layer, and the fourth residual connection layer are used to extract feature data of each dimension from the input feature data;

[0023] The average pooling layer is used to perform average pooling processing on the feature data of each dimension;

[0024] The output layer is used to classify and predict the input feature data to obtain the final image detection results.

[0025] The processing of the first convolutional layer specifically includes the following steps:

[0026] The convolution kernel size of the first convolutional layer is 7*7, the number of channels is 64, the stride is 2, and the padding value is 3.

[0027] The maximum pooling layer processing process specifically includes the following steps:

[0028] The convolution kernel size of the maximum pooling layer is 3*3, the number of channels is 64, the stride is 2, and the padding value is 1.

[0029] The processing of the first residual connection layer specifically includes the following steps:

[0030] The first residual connection layer includes a main branch and a sub-branch;

[0031] The main branch consists of two convolutional sublayers connected in series. The two convolutional sublayers have the same structure, with a convolution kernel size of 3*3, 64 channels, a step size of 1, and a padding value of 1.

[0032] The sub-branch includes two convolutional sub-layers connected in series. The two convolutional sub-layers have the same structure, with a convolution kernel size of 3*3, 64 channels, a step size of 1, and a padding value of 1.

[0033] The output of the main branch and the output of the sub-branch are added together and used as the output of the first residual connection layer.

[0034] The processing process of the second residual connection layer specifically includes the following steps:

[0035] The second residual connection layer includes four residual connection modules;

[0036] The first residual connection module includes a main branch and a sub-branch; the main branch includes a first convolution sublayer and a second convolution sublayer connected in series: the convolution kernel size of the first convolution sublayer is 3*3, the number of channels is 128, the step size is 2, and the padding value is 1; the convolution kernel size of the second convolution sublayer is 3*3, the number of channels is 128, the step size is 1, and the padding value is 1; the sub-branch includes a convolution sublayer, the convolution kernel size of the convolution sublayer is 1*1, the number of channels is 128, the step size is 2, and the padding value is 0; the output of the main branch and the output of the sub-branch are added as the output of the first residual connection module;

[0037] The second residual connection module, the third residual connection module and the fourth residual connection module have the same structure, and all include a main branch and a sub-branch: the main branch includes two convolutional layers connected in series, the convolutional layers have the same structure, the convolutional kernel size is 3*3, the number of channels is 128, the step size is 1, and the padding value is 1; the sub-branch includes two convolutional layers connected in series, the convolutional layers have the same structure, the convolutional kernel size is 3*3, the number of channels is 128, the step size is 1, and the padding value is 1; the output of the main branch and the output of the sub-branch are added as the output of the corresponding residual connection module;

[0038] The output of the fourth residual connection module is used as the output of the second residual connection layer.

[0039] The processing process of the third residual connection layer specifically includes the following steps:

[0040] The third residual connection layer includes 6 residual convolution connection modules connected in series;

[0041] The first residual connection module includes a main branch and a sub-branch: the main branch includes a first convolution sublayer and a second convolution sublayer connected in series: the convolution kernel size of the first convolution sublayer is 3*3, the number of channels is 256, the step size is 2, and the padding value is 1; the convolution kernel size of the second convolution sublayer is 3*3, the number of channels is 256, the step size is 1, and the padding value is 1; the sub-branch includes a convolution sublayer, the convolution kernel size of the convolution sublayer is 1*1, the number of channels is 256, the step size is 2, and the padding value is 0; the output of the main branch and the output of the sub-branch are added as the output of the first residual connection module;

[0042] The second residual connection module, the third residual connection module, the fourth residual connection module, the fifth residual connection module and the sixth residual connection module have the same structure, and all include a main branch and a sub-branch: the main branch includes two convolutional layers connected in series, the convolutional layers have the same structure, the convolutional kernel size is 3*3, the number of channels is 256, the step size is 1, and the padding value is 1; the sub-branch includes two convolutional layers connected in series, the convolutional layers have the same structure, the convolutional kernel size is 3*3, the number of channels is 256, the step size is 1, and the padding value is 1; the output of the main branch and the output of the sub-branch are added as the output of the corresponding residual connection module;

[0043] The output of the sixth residual connection module is used as the output of the third residual connection layer.

[0044] The processing process of the fourth residual connection layer specifically includes the following steps:

[0045] The fourth residual connection layer includes three residual connection modules connected in series;

[0046] The first residual connection module includes a main branch and a sub-branch: the main branch includes a first convolution sublayer and a second convolution sublayer connected in series: the convolution kernel size of the first convolution sublayer is 3*3, the number of channels is 512, the step size is 2, and the padding value is 1; the convolution kernel size of the second convolution sublayer is 3*3, the number of channels is 512, the step size is 1, and the padding value is 1; the sub-branch includes a convolution sublayer, the convolution kernel size of the convolution sublayer is 1*1, the number of channels is 512, the step size is 2, and the padding value is 0; the output of the main branch and the output of the sub-branch are added as the output of the first residual connection module;

[0047] The second residual connection module and the third residual connection module have the same structure, and both include a main branch and a sub-branch: the main branch includes two convolutional layers connected in series, the convolutional layers have the same structure, the convolutional kernel size is 3*3, the number of channels is 512, the step size is 1, and the padding value is 1; the sub-branch includes two convolutional layers connected in series, the convolutional layers have the same structure, the convolutional kernel size is 3*3, the number of channels is 512, the step size is 1, and the padding value is 1; the output of the main branch and the output of the sub-branch are added as the output of the corresponding residual connection module;

[0048] The output of the third residual connection module is used as the output of the fourth residual connection layer.

[0049] The output layer processing process specifically includes the following steps:

[0050] The output layer includes a fully connected layer and an activation function layer;

[0051] The activation function layer uses the softmax function as the activation function.

[0052] The training described in step S4 specifically includes the following steps:

[0053] Forward propagation: During the forward propagation process, the training data is input into the model, the output of the model is calculated layer by layer, and the difference between the output and the actual label is calculated;

[0054] Back propagation: Calculate the gradient information according to the loss function, and back propagate the gradient information from the output layer to the first convolutional layer layer by layer;

[0055] Weight update: After obtaining the gradient information, an optimization algorithm is used to update the weights and biases of the neurons.

[0056] The present invention also provides an evaluation method including the power system video terminal screen detection method, which also includes the following steps:

[0057] S6. Record the detection results of the power system video terminal screen to be detected and make statistics;

[0058] S7. Based on the statistical results, complete the evaluation of the power system video terminal to be tested.

[0059] The present invention also provides a system for implementing the power system video terminal screen detection method, comprising a data acquisition module, a data processing module, a model construction module, a model training module and a screen detection module; the data acquisition module, the data processing module, the model construction module, the model training module and the screen detection module are connected in series in sequence; the data acquisition module is used to acquire the historical video data of the video monitoring terminal, and upload the data information to the data processing module; the data processing module is used to pre-process the acquired historical video data according to the received data information, obtain a training data set, and upload the data information to the model construction module; the model construction module is used to construct an initial model for power system video terminal screen detection based on a convolutional neural network according to the received data information, and upload the data information to the model training module; the model training module is used to train the constructed initial model for power system video terminal screen detection according to the received data information, using the constructed training data set, to obtain a power system video terminal screen detection model, and upload the data information to the screen detection module; the screen detection module is used to perform actual power system video terminal screen detection according to the received data information, using the obtained power system video terminal screen detection model.

[0060] The power system video terminal screen detection method, evaluation method and system provided by the present invention obtain a power system video terminal screen detection model by acquiring historical data and constructing and training a detection model based on a convolutional neural network, and are used for the detection of power system video terminal screens; therefore, the present invention can not only realize the detection and evaluation of power system video terminal screens without the need for a large amount of manual participation, but also has high efficiency, high reliability and good accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] Figure 1 The figure is a schematic diagram of the method flow of the detection method of the present invention.

[0062] Figure 2 Schematic diagram of the process flow of the evaluation method of the present invention.

[0063] Figure 3 Schematic diagram of the functional modules of the system of the present invention DETAILED DESCRIPTION

[0064] like Figure 1 The method flow diagram of the detection method of the present invention is shown as follows: The power system video terminal screen detection method provided by the present invention comprises the following steps:

[0065] S1. Obtain historical video data of the video surveillance terminal;

[0066] S2. Preprocess the historical video data obtained in step S1 to obtain a training data set; specifically, the steps include:

[0067] Extract frames from the historical video data obtained in step S1 to obtain key frame picture data;

[0068] The obtained key frame image data is labeled: the labeled categories include normal image, distorted image, black screen image and blue screen image;

[0069] Based on the marked key frame pictures, sample amplification is performed; the sample amplification includes picture translation, picture scaling, picture rotation and picture symmetry;

[0070] S3. Based on the convolutional neural network, an initial model for detecting the video terminal image of the power system is constructed; specifically, the following steps are included:

[0071] The constructed initial model for power system video terminal screen detection includes a first convolutional layer, a maximum pooling layer, a first residual connection layer, a second residual connection layer, a third residual connection layer, a fourth residual connection layer, an average pooling layer and an output layer connected in series in sequence;

[0072] The first convolutional layer is used to extract data features from the input original picture data;

[0073] The maximum pooling layer is used to perform maximum pooling processing on the extracted data features;

[0074] The first residual connection layer, the second residual connection layer, the third residual connection layer, and the fourth residual connection layer are used to extract feature data of each dimension from the input feature data;

[0075] The average pooling layer is used to perform average pooling processing on the feature data of each dimension;

[0076] The output layer is used to classify and predict the input feature data to obtain the final image detection result;

[0077] In a specific implementation, the processing process of the first convolutional layer specifically includes the following steps:

[0078] The convolution kernel size of the first convolutional layer is 7*7, the number of channels is 64, the step size is 2, and the padding value is 3; at this time, the output data dimension is 112*112*64;

[0079] The maximum pooling layer processing process specifically includes the following steps:

[0080] The convolution kernel size of the maximum pooling layer is 3*3, the number of channels is 64, the step size is 2, and the padding value is 1; at this time, the output data dimension is 56*56*64;

[0081] The processing of the first residual connection layer specifically includes the following steps:

[0082] The first residual connection layer includes a main branch and a sub-branch;

[0083] The main branch consists of two convolutional sublayers connected in series. The two convolutional sublayers have the same structure, with a convolution kernel size of 3*3, 64 channels, a step size of 1, and a padding value of 1. The output data dimension is 56*56*64.

[0084] The sub-branch includes two convolutional sub-layers connected in series. The two convolutional sub-layers have the same structure, with a convolution kernel size of 3*3, 64 channels, a step size of 1, and a padding value of 1. At this time, the output data dimension is 56*56*64.

[0085] The output of the main branch and the output of the sub-branch are added together and used as the output of the first residual connection layer;

[0086] The processing process of the second residual connection layer specifically includes the following steps:

[0087] The second residual connection layer includes four residual connection modules;

[0088] The first residual connection module includes a main branch and a sub-branch; the main branch includes a first convolution sublayer and a second convolution sublayer connected in series: the convolution kernel size of the first convolution sublayer is 3*3, the number of channels is 128, the step size is 2, and the padding value is 1, so the output data dimension is 28*28*128; the convolution kernel size of the second convolution sublayer is 3*3, the number of channels is 128, the step size is 1, and the padding value is 1, so the output data dimension is 28*28*128; the sub-branch includes a convolution sublayer, the convolution kernel size of the convolution sublayer is 1*1, the number of channels is 128, the step size is 2, and the padding value is 0, so the output data dimension is 28*28*128; the output of the main branch and the output of the sub-branch are added as the output of the first residual connection module;

[0089] The second residual connection module, the third residual connection module and the fourth residual connection module have the same structure, and all include a main branch and a sub-branch: the main branch includes two convolutional layers connected in series, the convolutional layers have the same structure, the convolutional kernel size is 3*3, the number of channels is 128, the step size is 1, and the padding value is 1. At this time, the output data dimension is 28*28*128; the sub-branch includes two convolutional layers connected in series, the convolutional layers have the same structure, the convolutional kernel size is 3*3, the number of channels is 128, the step size is 1, and the padding value is 1. At this time, the output data dimension is 28*28*128; the output of the main branch and the output of the sub-branch are added as the output of the corresponding residual connection module;

[0090] The output of the fourth residual connection module is used as the output of the second residual connection layer;

[0091] The processing process of the third residual connection layer specifically includes the following steps:

[0092] The third residual connection layer includes 6 residual convolution connection modules connected in series;

[0093] The first residual connection module includes a main branch and a sub-branch: the main branch includes a first convolution sublayer and a second convolution sublayer connected in series: the convolution kernel size of the first convolution sublayer is 3*3, the number of channels is 256, the step size is 2, and the padding value is 1. At this time, the output data dimension is 14*14*256; the convolution kernel size of the second convolution sublayer is 3*3, the number of channels is 256, the step size is 1, and the padding value is 1. At this time, the output data dimension is 14*14*256; the sub-branch includes a convolution sublayer, the convolution kernel size of the convolution sublayer is 1*1, the number of channels is 256, the step size is 2, and the padding value is 0. At this time, the output data dimension is 14*14*256; the output of the main branch and the output of the sub-branch are added as the output of the first residual connection module;

[0094] The second residual connection module, the third residual connection module, the fourth residual connection module, the fifth residual connection module and the sixth residual connection module have the same structure, and all include a main branch and a sub-branch: the main branch includes two convolutional layers connected in series, the convolutional layers have the same structure, the convolutional kernel size is 3*3, the number of channels is 256, the step size is 1, and the padding value is 1. At this time, the output data dimension is 14*14*256; the sub-branch includes two convolutional layers connected in series, the convolutional layers have the same structure, the convolutional kernel size is 3*3, the number of channels is 256, the step size is 1, and the padding value is 1. At this time, the output data dimension is 14*14*256; the output of the main branch and the output of the sub-branch are added as the output of the corresponding residual connection module;

[0095] The output of the sixth residual connection module is used as the output of the third residual connection layer;

[0096] The processing process of the fourth residual connection layer specifically includes the following steps:

[0097] The fourth residual connection layer includes three residual connection modules connected in series;

[0098] The first residual connection module includes a main branch and a sub-branch: the main branch includes a first convolution sublayer and a second convolution sublayer connected in series: the convolution kernel size of the first convolution sublayer is 3*3, the number of channels is 512, the step size is 2, and the padding value is 1. At this time, the output data dimension is 7*7*512; the convolution kernel size of the second convolution sublayer is 3*3, the number of channels is 512, the step size is 1, and the padding value is 1. At this time, the output data dimension is 7*7*512; the sub-branch includes a convolution sublayer, the convolution kernel size of the convolution sublayer is 1*1, the number of channels is 512, the step size is 2, and the padding value is 0. At this time, the output data dimension is 7*7*512; the output of the main branch and the output of the sub-branch are added as the output of the first residual connection module;

[0099] The second residual connection module and the third residual connection module have the same structure, and both include a main branch and a sub-branch: the main branch includes two convolutional layers connected in series, the convolutional layers have the same structure, the convolutional kernel size is 3*3, the number of channels is 512, the step size is 1, and the padding value is 1. At this time, the output data dimension is 7*7*512; the sub-branch includes two convolutional layers connected in series, the convolutional layers have the same structure, the convolutional kernel size is 3*3, the number of channels is 512, the step size is 1, and the padding value is 1. At this time, the output data dimension is 7*7*512; the output of the main branch and the output of the sub-branch are added as the output of the corresponding residual connection module;

[0100] The output of the third residual connection module is used as the output of the fourth residual connection layer;

[0101] The data dimension of the average pooling layer in the middle is 1*1*512;

[0102] The output layer processing process specifically includes the following steps:

[0103] The output layer includes a fully connected layer and an activation function layer;

[0104] The activation function layer uses the softmax function as the activation function;

[0105] S4. Using the training data set constructed in step S2, the initial model for power system video terminal screen detection constructed in step S3 is trained to obtain a power system video terminal screen detection model;

[0106] In specific implementation, the training comprises the following steps:

[0107] Forward propagation: During the forward propagation process, the training data is input into the model, the output of the model is calculated layer by layer, and the difference between the output and the actual label is calculated;

[0108] Back propagation: Calculate the gradient information according to the loss function, and back propagate the gradient information from the output layer to the first convolutional layer layer by layer;

[0109] Weight update: After obtaining the gradient information, the optimization algorithm is used to update the weights and biases of the neurons;

[0110] S5. Using the power system video terminal screen detection model obtained in step S4, perform actual power system video terminal screen detection.

[0111] like Figure 2 The method flow diagram of the evaluation method of the present invention is shown as follows: the evaluation method disclosed by the present invention, which includes the power system video terminal screen detection method, also includes the following steps:

[0112] S1. Obtain historical video data of the video surveillance terminal;

[0113] S2. Preprocess the historical video data obtained in step S1 to obtain a training data set;

[0114] S3. Based on convolutional neural network, construct the initial model of power system video terminal image detection;

[0115] S4. Using the training data set constructed in step S2, the initial model for power system video terminal screen detection constructed in step S3 is trained to obtain a power system video terminal screen detection model;

[0116] S5. Using the power system video terminal screen detection model obtained in step S4, the actual power system video terminal screen detection;

[0117] S6. Record the detection results of the power system video terminal screen to be detected and make statistics; in specific implementation, the total number of flower screens, the total number of black screens and the total number of blue screens can be counted, as well as the corresponding proportion of the total number of flower screens to the total number of screens, the total number of black screens to the total number of screens and the total number of blue screens to the total number of screens;

[0118] S7. Based on the statistical results, the evaluation of the power system video terminal to be detected is completed; in specific implementation, the evaluation of the power system video terminal to be detected can be performed based on the comparison between the corresponding ratio value and the set threshold value.

[0119] like Figure 3The functional module schematic diagram of the system of the present invention is shown as follows: the system for realizing the power system video terminal screen detection method disclosed in the present invention comprises a data acquisition module, a data processing module, a model construction module, a model training module and a screen detection module; the data acquisition module, the data processing module, the model construction module, the model training module and the screen detection module are connected in series in sequence; the data acquisition module is used to acquire the historical video data of the video monitoring terminal and upload the data information to the data processing module; the data processing module is used to pre-process the acquired historical video data according to the received data information to obtain a training data set, and upload the data information to the model construction module; the model construction module is used to construct an initial model for power system video terminal screen detection based on a convolutional neural network according to the received data information, and upload the data information to the model training module; the model training module is used to train the constructed initial model for power system video terminal screen detection according to the received data information using the constructed training data set to obtain a power system video terminal screen detection model, and upload the data information to the screen detection module; the screen detection module is used to detect the actual power system video terminal screen according to the received data information using the obtained power system video terminal screen detection model.

Claims

1. A method for detecting a video terminal image in a power system, comprising the following steps: S1. Obtain historical video data of the video surveillance terminal; S2. Preprocess the historical video data obtained in step S1 to obtain a training data set; S3. Based on convolutional neural network, construct the initial model of power system video terminal image detection; S4. Using the training data set constructed in step S2, the initial model for power system video terminal screen detection constructed in step S3 is trained to obtain a power system video terminal screen detection model; S5. Using the power system video terminal screen detection model obtained in step S4, perform actual power system video terminal screen detection.

2. The method for detecting a video terminal image in a power system according to claim 1 is characterized in that Step S2 preprocesses the historical video data obtained in step S1 to obtain a training data set, which specifically includes the following steps: Extract frames from the historical video data obtained in step S1 to obtain key frame picture data; The obtained key frame image data is labeled: the labeled categories include normal image, distorted image, black screen image and blue screen image; Based on the marked key frame pictures, sample augmentation is performed; the sample augmentation includes picture translation, picture scaling, picture rotation and picture symmetry.

3. The method for detecting a video terminal image in a power system according to claim 2 is characterized in that The construction of the initial model for detecting the video terminal image of the power system based on the convolutional neural network described in step S3 specifically includes the following steps: The constructed initial model for power system video terminal screen detection includes a first convolutional layer, a maximum pooling layer, a first residual connection layer, a second residual connection layer, a third residual connection layer, a fourth residual connection layer, an average pooling layer and an output layer connected in series in sequence; The first convolutional layer is used to extract data features from the input original picture data; The maximum pooling layer is used to perform maximum pooling processing on the extracted data features; The first residual connection layer, the second residual connection layer, the third residual connection layer, and the fourth residual connection layer are used to extract feature data of each dimension from the input feature data; The average pooling layer is used to perform average pooling processing on the feature data of each dimension; The output layer is used to classify and predict the input feature data to obtain the final image detection results.

4. The method for detecting a video terminal image in a power system according to claim 3 is characterized in that The processing of the first convolutional layer specifically includes the following steps: The convolution kernel size of the first convolutional layer is 7*7, the number of channels is 64, the stride is 2, and the padding value is 3; The maximum pooling layer processing process specifically includes the following steps: The convolution kernel size of the maximum pooling layer is 3*3, the number of channels is 64, the stride is 2, and the padding value is 1.

5. The method for detecting the video terminal image of the power system according to claim 4 is characterized in that The processing of the first residual connection layer specifically includes the following steps: The first residual connection layer includes a main branch and a sub-branch; The main branch consists of two convolutional sublayers connected in series. The two convolutional sublayers have the same structure, with a convolution kernel size of 3*3, 64 channels, a step size of 1, and a padding value of 1. The sub-branch includes two convolutional sub-layers connected in series. The two convolutional sub-layers have the same structure, with a convolution kernel size of 3*3, 64 channels, a step size of 1, and a padding value of 1. The output of the main branch and the output of the sub-branch are added together and used as the output of the first residual connection layer.

6. The method for detecting the video terminal image of the power system according to claim 5 is characterized in that The processing process of the second residual connection layer specifically includes the following steps: The second residual connection layer includes four residual connection modules; The first residual connection module includes a main branch and a sub-branch; the main branch includes a first convolution sublayer and a second convolution sublayer connected in series: the convolution kernel size of the first convolution sublayer is 3*3, the number of channels is 128, the step size is 2, and the padding value is 1; the convolution kernel size of the second convolution sublayer is 3*3, the number of channels is 128, the step size is 1, and the padding value is 1; the sub-branch includes a convolution sublayer, the convolution kernel size of the convolution sublayer is 1*1, the number of channels is 128, the step size is 2, and the padding value is 0; the output of the main branch and the output of the sub-branch are added as the output of the first residual connection module; The second residual connection module, the third residual connection module and the fourth residual connection module have the same structure, and all include a main branch and a sub-branch: the main branch includes two convolutional layers connected in series, the convolutional layers have the same structure, the convolutional kernel size is 3*3, the number of channels is 128, the step size is 1, and the padding value is 1; the sub-branch includes two convolutional layers connected in series, the convolutional layers have the same structure, the convolutional kernel size is 3*3, the number of channels is 128, the step size is 1, and the padding value is 1; the output of the main branch and the output of the sub-branch are added as the output of the corresponding residual connection module; The output of the fourth residual connection module is used as the output of the second residual connection layer.

7. The method for detecting the video terminal image of a power system according to claim 6 is characterized in that The processing process of the third residual connection layer specifically includes the following steps: The third residual connection layer includes 6 residual convolution connection modules connected in series; The first residual connection module includes a main branch and a sub-branch: the main branch includes a first convolution sublayer and a second convolution sublayer connected in series: the convolution kernel size of the first convolution sublayer is 3*3, the number of channels is 256, the step size is 2, and the padding value is 1; the convolution kernel size of the second convolution sublayer is 3*3, the number of channels is 256, the step size is 1, and the padding value is 1; the sub-branch includes a convolution sublayer, the convolution kernel size of the convolution sublayer is 1*1, the number of channels is 256, the step size is 2, and the padding value is 0; the output of the main branch and the output of the sub-branch are added as the output of the first residual connection module; The second residual connection module, the third residual connection module, the fourth residual connection module, the fifth residual connection module and the sixth residual connection module have the same structure, and all include a main branch and a sub-branch: the main branch includes two convolutional layers connected in series, the convolutional layers have the same structure, the convolutional kernel size is 3*3, the number of channels is 256, the step size is 1, and the padding value is 1; the sub-branch includes two convolutional layers connected in series, the convolutional layers have the same structure, the convolutional kernel size is 3*3, the number of channels is 256, the step size is 1, and the padding value is 1; the output of the main branch and the output of the sub-branch are added as the output of the corresponding residual connection module; The output of the sixth residual connection module is used as the output of the third residual connection layer.

8. The method for detecting the video terminal image of a power system according to claim 7, characterized in that The processing process of the fourth residual connection layer specifically includes the following steps: The fourth residual connection layer includes three residual connection modules connected in series; The first residual connection module includes a main branch and a sub-branch: the main branch includes a first convolution sublayer and a second convolution sublayer connected in series: the convolution kernel size of the first convolution sublayer is 3*3, the number of channels is 512, the step size is 2, and the padding value is 1; the convolution kernel size of the second convolution sublayer is 3*3, the number of channels is 512, the step size is 1, and the padding value is 1; the sub-branch includes a convolution sublayer, the convolution kernel size of the convolution sublayer is 1*1, the number of channels is 512, the step size is 2, and the padding value is 0; the output of the main branch and the output of the sub-branch are added as the output of the first residual connection module; The second residual connection module and the third residual connection module have the same structure, and both include a main branch and a sub-branch: the main branch includes two convolutional layers connected in series, the convolutional layers have the same structure, the convolutional kernel size is 3*3, the number of channels is 512, the step size is 1, and the padding value is 1; the sub-branch includes two convolutional layers connected in series, the convolutional layers have the same structure, the convolutional kernel size is 3*3, the number of channels is 512, the step size is 1, and the padding value is 1; the output of the main branch and the output of the sub-branch are added as the output of the corresponding residual connection module; The output of the third residual connection module is used as the output of the fourth residual connection layer; The output layer processing process specifically includes the following steps: The output layer includes a fully connected layer and an activation function layer; The activation function layer uses the softmax function as the activation function; The training described in step S4 specifically includes the following steps: Forward propagation: During the forward propagation process, the training data is input into the model, the output of the model is calculated layer by layer, and the difference between the output and the actual label is calculated; Back propagation: Calculate the gradient information according to the loss function, and back propagate the gradient information from the output layer to the first convolutional layer layer by layer; Weight update: After obtaining the gradient information, an optimization algorithm is used to update the weights and biases of the neurons.

9. An evaluation method comprising the power system video terminal image detection method according to any one of claims 1 to 8, characterized in that The following steps are also included: S6. Record the detection results of the power system video terminal screen to be detected and make statistics; S7. Based on the statistical results, complete the evaluation of the power system video terminal to be tested.

10. A system for implementing the method for detecting images of a video terminal in a power system according to any one of claims 1 to 9, characterized in that It includes a data acquisition module, a data processing module, a model building module, a model training module and a picture detection module; the data acquisition module, the data processing module, the model building module, the model training module and the picture detection module are connected in series in sequence; the data acquisition module is used to obtain the historical video data of the video surveillance terminal and upload the data information to the data processing module; The data processing module is used to pre-process the acquired historical video data according to the received data information, obtain the training data set, and upload the data information to the model construction module; The model building module is used to build an initial model for detecting the video terminal image of the power system based on the convolutional neural network according to the received data information, and upload the data information to the model training module; The model training module is used to train the constructed power system video terminal screen detection initial model based on the received data information and the constructed training data set to obtain the power system video terminal screen detection model, and upload the data information to the screen detection module; The picture detection module is used to detect the actual power system video terminal picture according to the received data information and using the obtained power system video terminal picture detection model.

Citation Information

Patent Citations

  • Video playing test method and device, electronic equipment and memory medium

    CN107948640A

  • Camera monitoring state classification method based on attention mechanism residual network

    CN111709265A

  • Method and device for identifying black and blurred screen image, equipment and storage medium

    CN114140743A

  • Video picture detection method and device, equipment and storage medium

    CN114663339A

  • Human behavior recognition method based on improved deep residual network

    CN116229323A