Human body behavior detection method and system based on improved graph convolutional network
By improving the human behavior detection method of graph convolution network, combined with the preset starting action matching set and specific loss function, a judgment model for different types of work behaviors is established, which solves the complexity and noise problems of behavior detection in high-altitude work, and achieves It provides efficient and accurate human behavior monitoring and safety management.
Patent Information
- Application Number
- CN202410701648.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-03
AI Technical Summary
Existing human behavior detection methods based on graph convolutional networks are difficult to fully capture complex behavioral characteristics in high-altitude working scenarios, and there is a large amount of noise and redundant information in the video data, resulting in insufficient detection efficiency and accuracy.
This paper proposes a human behavior detection method based on an improved graph convolution network. By preprocessing and classifying historical homework video sets, combining the preset starting action matching set, it divides it into different categories of video sets, and establishes a video set for different categories of homework behaviors. Judgment model uses technologies such as Focal Loss, weighted cross-entropy loss, time-sensitive graph attention mechanism and sequence-to-sequence model to improve recognition accuracy and efficiency.
It achieves accurate identification and monitoring of human body behavior of target workers in high-altitude operations in distribution networks, improves the efficiency of operation safety management, and provides new safety assurance technology for high-altitude operations.
Smart Images

Figure CN118587763A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of human behavior detection based on an improved graph convolutional network, and in particular to a human behavior detection method and system based on an improved graph convolutional network. Background Art
[0002] In recent years, with the increasing number of aerial operations in distribution networks, the safety monitoring and management of operators has become increasingly important. During aerial operations, whether the operators' behavior is standardized and meets safety standards is directly related to the safety and efficiency of the operation. Therefore, how to accurately and efficiently detect the human behavior of operators during aerial operations has become a hot topic in current research.
[0003] Traditional human behavior detection methods are mainly based on manual feature extraction and classifier design, and their performance is limited by the quality of feature extraction and classifier design. With the development of deep learning technology, behavior detection methods based on deep learning have gradually become mainstream. Among them, Graph Convolutional Network (GCN), as a new type of deep learning model, has shown powerful capabilities in processing graph structured data and has gradually been applied to the field of human behavior detection.
[0004] However, existing human behavior detection methods based on graph convolutional networks still face some challenges when dealing with complex scenarios such as aerial work. For example, the aerial work environment is complex and changeable, and the behavior patterns of operators are diverse. Traditional graph convolutional networks are difficult to fully capture these complex behavior characteristics; at the same time, video data in aerial work often contains a lot of noise and redundant information. How to effectively preprocess and extract features from these data is also a problem that needs to be solved urgently. Summary of the invention
[0005] The purpose of this section is to summarize some aspects of embodiments of the present invention and briefly introduce some preferred embodiments. Some simplifications or omissions may be made in this section and the specification abstract and the invention title of this application to avoid blurring the purpose of this section, the specification abstract and the invention title, and such simplifications or omissions cannot be used to limit the scope of the present invention.
[0006] In view of the above existing problems, the present invention is proposed.
[0007] Therefore, the present invention provides a human behavior detection method and system based on an improved graph convolutional network, which can solve the problems mentioned in the background technology.
[0008] In order to solve the above technical problems, the present invention provides the following technical solutions:
[0009] In a first aspect, the present invention provides a method for detecting human behavior based on an improved graph convolutional network, comprising:
[0010] Obtain a historical operation video set of a target operator in high-altitude operation of a distribution network, and perform a first preprocessing on the historical operation video set;
[0011] According to the first preprocessing result, in combination with a preset starting action matching set, a second preprocessing is performed, wherein the second preprocessing classifies the first preprocessing result into different types of operation video sets according to the preset starting action matching set;
[0012] Combined with the improved graph convolutional network, different types of task behavior judgment models are established;
[0013] A second preprocessing is performed on the real-time working video of the target workers in the high-altitude working of the distribution network, and the human behavior detection of the target workers in the high-altitude working of the distribution network is performed based on the category judgment result of the second preprocessing and combined with the different categories of working behavior judgment models.
[0014] As a preferred scheme of the human behavior detection method based on the improved graph convolutional network described in the present invention, the historical operation video set of the target operator includes a historical operation video set of removing foreign objects, a historical operation video set of normal inspections, a historical operation video set of emergency repairs, and a historical operation video set of equipment replacement.
[0015] As a preferred solution of the human behavior detection method based on the improved graph convolutional network described in the present invention, the first preprocessing of the historical operation video set includes:
[0016] Unifying the format of the historical homework video collection;
[0017] Segmenting the historical operation video set after the unified format and extracting key frames, and denoising the extracted key frames, wherein the video segmentation includes segments with and without high-altitude operations;
[0018] Delete the segmented videos without key frames and high-altitude operations;
[0019] The key frames are the first frame and the last frame of the aerial work obtained, the first frame is the corresponding frame of the starting action issued by the operator when performing the work, and the last frame is the corresponding frame of the ending action issued by the operator when completing the work.
[0020] As a preferred solution of the human behavior detection method based on the improved graph convolutional network described in the present invention, wherein: the starting action matching set includes: a first matching action, a second matching action, a third matching action and a fourth matching action;
[0021] The first matching action is a preset starting action for removing foreign objects, the second matching action is a preset starting action for normal inspection, the third matching action is a preset starting action for emergency repair, and the fourth matching action is a preset starting action for replacing equipment;
[0022] The second preprocessing classifies the first preprocessing result into different types of operation video sets according to the preset starting action matching set.
[0023] As a preferred solution of the human behavior detection method based on the improved graph convolutional network described in the present invention, wherein: the establishment of different types of work behavior judgment models in combination with the improved graph convolutional network includes:
[0024] The different types of operation behavior judgment models include a foreign body removal operation behavior judgment model, a normal inspection operation behavior judgment model, an emergency repair operation behavior judgment model, and an equipment replacement operation behavior judgment model;
[0025] Extract visual features of key frames, use pre-trained improved graph convolutional networks to extract image features, or extract temporal features for action sequences;
[0026] The foreign body removal operation behavior judgment model includes the use of specific tools and hand movements involved in foreign body removal, adding an additional attention mechanism for local area features in the improved graph convolutional network, and using the Focal Loss loss function to reduce background interference and improve the recognition accuracy of the removal action;
[0027] The normal inspection operation behavior judgment model includes embedding a recurrent neural network in an improved graph convolutional network to capture action sequence features in a time series, using a weighted cross entropy loss, and adjusting category weights according to the frequency of inspection actions.
[0028] As a preferred solution of the human behavior detection method based on the improved graph convolutional network described in the present invention, wherein: the establishment of different types of work behavior judgment models in combination with the improved graph convolutional network also includes:
[0029] The emergency repair operation behavior judgment model includes adding a rapid response mechanism, introducing a time-sensitive graph attention mechanism, giving priority to features related to the emergency state, and adopting a weighted multi-task loss function;
[0030] The equipment replacement operation behavior judgment model includes combining a sequence-to-sequence model in an improved graph convolutional network to process the recognition of action sequences in the equipment replacement process, and using a Sequence Loss loss function to process the time alignment problem in the action sequence;
[0031] The input of the foreign object removal operation behavior judgment model, the normal inspection operation behavior judgment model, the emergency repair operation behavior judgment model and the equipment replacement operation behavior judgment model is the operation video set of this category, and the output is the probability of being judged as this category.
[0032] As a preferred solution of the human behavior detection method based on the improved graph convolutional network described in the present invention, wherein: the establishment of different types of work behavior judgment models in combination with the improved graph convolutional network also includes:
[0033]
[0034] Among them, j represents different categories, namely, foreign body removal, normal inspection, emergency repair, and equipment replacement. ij represents the probability that the video set belongs to the jth category, w i Represents the weight parameters of different types of task behavior judgment models;
[0035] When S j When it is less than the first threshold, the weight parameters of the different types of operation behavior judgment models are reallocated according to the preset standard;
[0036] When S j When the value is not less than the first threshold value and not greater than the second threshold value, the number of training times of the four judgment models is increased in sequence according to the preset step size;
[0037] When S j When it is greater than the second threshold, the model building is completed.
[0038] In a second aspect, the present invention provides a human behavior detection system based on an improved graph convolutional network, comprising:
[0039] A first preprocessing module is used to obtain a historical operation video set of a target operator in high-altitude operation of a distribution network, and perform a first preprocessing on the historical operation video set;
[0040] A second preprocessing module, configured to perform a second preprocessing according to the first preprocessing result and in combination with a preset starting action matching set, wherein the second preprocessing classifies the first preprocessing result into different types of operation video sets according to the preset starting action matching set;
[0041] Model building module, used to build different types of task behavior judgment models by combining improved graph convolutional networks;
[0042] The detection module is used to perform a second preprocessing on the real-time work video of the target operator in the high-altitude operation of the distribution network, and perform human behavior detection of the target operator in the high-altitude operation of the distribution network based on the category judgment result of the second preprocessing and in combination with the different categories of work behavior judgment models.
[0043] In a third aspect, the present invention provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above-mentioned method when executing the computer program.
[0044] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the method described above when executed by a processor.
[0045] Compared with the prior art, the present invention has the following beneficial effects: the present invention proposes a human behavior detection method and system based on an improved graph convolutional network, obtains a historical operation video set of a target operator in high-altitude operation of a distribution network, and performs a first preprocessing on the historical operation video set; according to the first preprocessing result, combined with a preset starting action matching set, a second preprocessing is performed, and the second preprocessing divides the first preprocessing result into different categories of operation video sets according to the preset starting action matching set; a different category operation behavior judgment model is established in combination with the improved graph convolutional network; the real-time operation video of the target operator in high-altitude operation of the distribution network is subjected to a second preprocessing, and according to the category judgment result of the second preprocessing, combined with the different category operation behavior judgment model, the human behavior detection of the target operator in high-altitude operation of the distribution network is performed. By processing and modeling the historical operation video set, and matching and detecting the real-time operation video, accurate identification and monitoring of the human behavior of the target operator in high-altitude operation of the distribution network is achieved. This method not only improves the efficiency of operation safety management, but also provides a new technical means for the safety guarantee of high-altitude operation of the distribution network. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. Among them:
[0047] Figure 1 A method flow chart of a human behavior detection method and system based on an improved graph convolutional network provided by an embodiment of the present invention;
[0048] Figure 2 An internal structure diagram of a computer device for a human behavior detection method and system based on an improved graph convolutional network provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0049] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.
[0050] Example 1
[0051] Reference Figure 1-Figure 2 , which is the first embodiment of the present invention, provides a human behavior detection method and system based on an improved graph convolutional network, including:
[0052] Before describing the embodiments of the present application in detail, some related concepts are first explained for the sake of clarity.
[0053] Graph Convolutional Network: Graph Convolutional Network is a deep learning model that extends the concept of traditional Convolutional Neural Networks (CNN) to enable it to process non-Euclidean data structures, namely graph data. In graph data, information is organized in the form of nodes (representing entities) and edges (representing relationships between entities). The core idea of GCN is to learn the representation or features of nodes in the graph by aggregating their features through their neighbor information. This mechanism allows the model to capture dependencies between nodes and is effectively applied to a variety of tasks such as graph classification, node classification, and graph generation. It has a wide range of applications in distribution network analysis, social network analysis, chemical molecular structure analysis, and other fields.
[0054] Aerial work in distribution network: Aerial work in distribution network refers to the installation, maintenance, inspection, troubleshooting and repair of overhead transmission lines or distribution facilities in the power system. These operations usually need to be performed on high towers or cables. This type of work is highly risky because the working environment is complex, the distance from the ground is high, the operating space is limited, and it often needs to be performed under extreme weather conditions. Therefore, the safety management of aerial work, the skills and training of operators, and the use of advanced technology to assist operations have become key factors to ensure the safety and efficiency of operations.
[0055] Human behavior detection of operators: Human behavior detection of operators refers to the use of computer vision, machine learning, deep learning and other technologies to automatically identify and analyze the behavior patterns of operators in a specific environment. This technology is particularly important in the high-altitude operation scene of the distribution network. It can monitor in real time whether operators comply with safety regulations, identify dangerous operations, and detect potential accident risks, such as not wearing safety equipment, incorrect working postures, and approaching dangerous areas. By collecting data through video surveillance and other means, the behavior detection system can analyze the video stream, extract key frames, identify and classify human behavior, and then issue warnings or provide decision support to ensure operational safety and improve work efficiency.
[0056] In the related existing technologies, although some human behavior detection methods have been applied to various scenarios, in the high-altitude operation of distribution networks, due to the complexity of the working environment and the diversity of working behaviors, the existing methods are often difficult to accurately identify the behavior patterns of operators. In addition, the safety requirements of high-altitude operations in distribution networks are extremely high, and any misjudgment or missed judgment may lead to serious consequences.
[0057] The present application provides a method that can effectively solve the above-mentioned problems. Next, a method for implementing the human behavior detection method and system based on the improved graph convolutional network will be described in detail in combination with multiple embodiments.
[0058] Figure 1 A method flow chart of a human behavior detection method and system based on an improved graph convolutional network is shown, including:
[0059] S101, obtaining a historical operation video set of a target operator in high-altitude operation of a distribution network, and performing a first preprocessing on the historical operation video set;
[0060] Among them, the historical operation video sets of the target operation personnel include the historical operation video sets of removing foreign objects, the historical operation video sets of normal inspections, the historical operation video sets of emergency repairs, and the historical operation video sets of equipment replacement.
[0061] Specifically, the first preprocessing of the historical homework video set includes:
[0062] Unify the format of the historical homework video collection;
[0063] The historical operation video set with unified format is segmented and key frames are extracted, and the extracted key frames are denoised. The video segmentation includes the segmentation with high-altitude operation and the segmentation without high-altitude operation;
[0064] Delete the segmented videos without key frames and high-altitude operations;
[0065] The key frames are the first frame and the last frame of the aerial work. The first frame corresponds to the starting action frame issued by the operator when performing the work, and the last frame corresponds to the ending action frame issued by the operator when completing the work.
[0066] It should be noted that by preprocessing the historical operation video set, the video data format is unified and the quality is reliable, and only the segmented videos containing the key frames of the aerial operation are retained. This provides an accurate and efficient data foundation for subsequent behavior recognition.
[0067] S102, performing a second preprocessing according to the first preprocessing result and in combination with a preset starting action matching set, wherein the second preprocessing classifies the first preprocessing result into different types of operation video sets according to the preset starting action matching set;
[0068] The starting action matching set includes: a first matching action, a second matching action, a third matching action, and a fourth matching action;
[0069] The first matching action is a preset starting action for removing foreign objects, the second matching action is a preset starting action for normal inspection, the third matching action is a preset starting action for emergency repair, and the fourth matching action is a preset starting action for replacing equipment;
[0070] The second preprocessing classifies the first preprocessing result into different types of operation video sets according to a preset starting action matching set.
[0071] In the embodiment of the present application, the action matching is to match the acquired key frame with the preset starting action. If the action feature vector in the key frame is similar to the preset starting action of removing foreign objects, the preset starting action of normal inspection, the preset starting action of emergency repair, or the preset starting action of replacing equipment, then the key frame is the starting frame of the corresponding type of operation, that is, the second preprocessing operation is completed;
[0072] In one embodiment, the determination of action similarity may be performed using Euclidean distance.
[0073] It should be noted that step S102 can accurately classify the operation video according to different starting actions, which facilitates the subsequent video analysis and processing. By presetting the starting action matching set, it is possible to quickly identify which preset starting action the key frame matches, thereby achieving accurate classification of the operation video. This classification method helps to conduct targeted analysis and processing of different types of operation videos, improving the efficiency and accuracy of video processing.
[0074] In addition, the embodiment of the present application also uses Euclidean distance to determine whether the action feature vector in the key frame is similar to the preset starting action. Euclidean distance is a commonly used distance measurement method that can accurately measure the similarity between two vectors. By using Euclidean distance, the degree of match between the action in the key frame and the preset starting action can be more accurately determined, thereby improving the accuracy of classification.
[0075] S103, combining the improved graph convolutional network to establish different types of task behavior judgment models;
[0076] Specifically, the improved graph convolutional network is used to establish different types of task behavior judgment models, including:
[0077] Different types of operation behavior judgment models include foreign body removal operation behavior judgment model, normal inspection operation behavior judgment model, emergency repair operation behavior judgment model, and equipment replacement operation behavior judgment model;
[0078] Furthermore, we can extract visual features of key frames, use pre-trained improved graph convolutional networks to extract image features, or extract temporal features for action sequences;
[0079] Furthermore, the foreign object removal operation behavior judgment model includes the use of specific tools and hand movements involved in foreign object removal, adds an additional attention mechanism to local area features in the improved graph convolutional network, and adopts the Focal Loss loss function to reduce background interference and improve the recognition accuracy of the removal action;
[0080] Furthermore, the normal inspection operation behavior judgment model includes embedding a recurrent neural network in an improved graph convolutional network to capture the action sequence characteristics in the time series, using weighted cross entropy loss to adjust the category weights according to the frequency of the inspection action.
[0081] Furthermore, the establishment of different types of task behavior judgment models in combination with the improved graph convolutional network also includes:
[0082] The emergency repair operation behavior judgment model includes adding a rapid response mechanism, introducing a time-sensitive graph attention mechanism, prioritizing features related to the emergency state, and using a weighted multi-task loss function;
[0083] Furthermore, the equipment replacement operation behavior judgment model includes combining a sequence-to-sequence model in an improved graph convolutional network to handle the recognition of action sequences in the equipment replacement process, and using a Sequence Loss loss function to handle the time alignment problem in the action sequence;
[0084] Furthermore, the input of the foreign object removal operation behavior judgment model, the normal inspection operation behavior judgment model, the emergency repair operation behavior judgment model, and the equipment replacement operation behavior judgment model is the operation video set of this category, and the output is the probability of being judged as this category.
[0085] In the embodiment of the present application, the specific operations of improving the graph convolutional network are as follows:
[0086] Input layer: First, the preprocessed key frames or key action features are vectorized.
[0087] If you use image data, you can use pre-trained CNN (such as ResNet, VGG, etc.) to extract features; if it is sequence data, you can use RNN / LSTM / Transformer to extract features.
[0088] Graph construction: construct the graph structure based on the preprocessed information. Each node represents a key frame or action segment, and the edges can be defined based on principles such as temporal proximity and action coherence. The weights can reflect the strength of the relationship between nodes.
[0089] Improved graph convolution layer: Design one or more improved graph convolution layers for information propagation in the graph. For example, a graph convolution operation GCN_layer can be defined as follows:
[0090]
[0091] Among them, H (l) represents the node feature matrix of the lth layer, W (l) is the weight matrix of the layer, σ is the activation function, is the adjacency matrix plus the identity matrix (taking into account self-loops), is a diagonal matrix whose diagonal elements are the degrees of each node (including self-loops).
[0092] Pooling layer: Graph pooling layers such as DiffPool and SAGPool can be optionally added to reduce the number of nodes and extract higher-level feature representations.
[0093] Fully connected layer (FC) and output layer: Finally, one or more fully connected layers are used to map the learned graph features to specific categories, usually accompanied by a softmax function for multi-classification tasks:
[0094]
[0095] in, is the predicted probability distribution, H (L) is the output of the final graph convolutional layer, and L represents the number of GCN layers;
[0096] It should be noted that in practical applications, the specific structure of the model (such as the number of layers, node feature dimensions, activation function selection, etc.) and parameters (such as learning rate, regularization term, etc.) need to be adjusted and optimized based on training data and experimental results.
[0097] In the embodiment of the present application, the loss functions of different models are:
[0098] The loss function of the foreign body removal behavior judgment model is:
[0099] FL(p t )=-α t (1-p t ) γ log(p t )
[0100] Among them, p t =p·y+(1-p)·(1-y), where p is the probability of the model predicting a certain category and y is the true label of the category (0 or 1). t is the category weight, which can be used to balance the categories. For categories with fewer samples such as foreign body removal, their weights can be appropriately increased. γ is the focusing parameter, which is usually set to a value greater than 0 to reduce the loss weight of easy-to-classify samples in a large number of categories.
[0101] The loss function of the normal inspection behavior judgment model is:
[0102]
[0103] Where C is the total number of categories. c is the weight of the cth category. For normal inspections, if the sample size is large, the weight can be appropriately reduced to avoid excessive bias in the model. c is the one-hot representation of the true label. c is the probability that the model predicts class c.
[0104] The loss function of the emergency repair behavior judgment model is:
[0105] L tota l=λ1L c l ass +λ2Ld eta il s
[0106] Among them, L class is the cross entropy loss for the emergency repair category. L details It is the auxiliary task loss about the details of the emergency repair action, such as the accurate identification of the tool used. λ1 and λ2 are weight factors, which are adjusted according to the importance of the emergency repair task.
[0107] The loss function of the device replacement behavior judgment model is:
[0108] L CIC =-lnP(L|X)
[0109] Where P(L|X) is the probability of the label sequence L given the input feature sequence X. CTC Loss allows a certain degree of alignment freedom and is suitable for situations where there is a time offset or length change in the sequence.
[0110] Furthermore, the establishment of different types of task behavior judgment models in combination with the improved graph convolutional network also includes:
[0111]
[0112] Among them, j represents different categories, namely, foreign body removal, normal inspection, emergency repair, and equipment replacement. ij represents the probability that the video set belongs to the jth category, w i Represents the weight parameters of different types of task behavior judgment models;
[0113] When S j When it is less than the first threshold, the weight parameters of the different types of operation behavior judgment models are reallocated according to the preset standard;
[0114] When S j When the value is not less than the first threshold value and not greater than the second threshold value, the number of training times of the four judgment models is increased in sequence according to the preset step size;
[0115] When S j When it is greater than the second threshold, the model building is completed.
[0116] In the embodiment of the present application, the preset standard may be a randomly assigned weight, or a weight that increases or decreases according to a fixed step size, or a weight that increases or decreases according to a fixed increase or decrease rate, but the normal inspection behavior judgment model is generally the smallest;
[0117] In an embodiment of the present application, the preset standard increases the number of training times of the four judgment models in sequence according to the preset step length. For example, the number of training times can be increased by 50 times or 30 times in the order of the foreign body removal behavior judgment model, the emergency repair behavior judgment model, the equipment replacement behavior judgment model, and the normal inspection behavior judgment model. For another example, the number of training times can be increased by 20 times, 15 times, 10 times, and 5 times in the order of the foreign body removal behavior judgment model, the emergency repair behavior judgment model, the equipment replacement behavior judgment model, and the normal inspection behavior judgment model;
[0118] It should be noted that by defining the loss function and weight adjustment strategy for a specific task, the model can more accurately capture and distinguish different categories of work behaviors. In particular, for categories with fewer samples or more complex behavioral characteristics (such as removing foreign objects), by increasing the category weight or using the focus parameter, the model can pay more attention to these categories, thereby improving the overall classification accuracy.
[0119] The improved graph convolutional layer design enables the model to more effectively propagate and aggregate information in the graph, thereby learning more robust and universal feature representations. This helps the model make accurate judgments when faced with unknown or new job behaviors.
[0120] By introducing a weight parameter adjustment mechanism and a training times increase strategy, the model can optimize itself during the training process and gradually improve its ability to identify different types of job behaviors. This dynamic adjustment method makes model training more efficient and avoids overfitting or underfitting problems.
[0121] S104, performing a second preprocessing on the real-time operation video of the target operator in the high-altitude operation of the distribution network, and performing human behavior detection on the target operator in the high-altitude operation of the distribution network according to the category judgment result of the second preprocessing and in combination with different categories of operation behavior judgment models.
[0122] When detecting the human behavior of target workers in aerial work of distribution networks, the real-time work video needs to be preprocessed first. The second preprocessing mainly includes frame extraction, feature extraction, and classification judgment of the video. Through frame extraction, continuous image frames can be extracted from the video as the basis for subsequent feature extraction. Feature extraction uses computer vision technology to extract key features related to work behavior from image frames, such as posture and action. Finally, through classification judgment, it can be preliminarily determined what type of work behavior the target worker is performing.
[0123] According to the category judgment results of the second preprocessing, combined with the previously established different categories of work behavior judgment models, accurate human behavior detection is performed. This step mainly uses the deep learning model to further analyze and judge the extracted features. Each model is trained and optimized for a specific type of work behavior, so it can more accurately identify the specific behavior of the target operator. By combining the judgment results of multiple models, more comprehensive and accurate human behavior detection results can be obtained.
[0124] In practical applications, some special cases need to be considered. For example, when the target operator performs multiple operations at the same time, it is necessary to design corresponding algorithms to integrate the judgment results of multiple models to obtain the most accurate conclusion. In addition, the performance of the model needs to be continuously monitored and optimized to ensure that it can adapt to the detection needs of operation behaviors under different scenarios and conditions.
[0125] In summary, by performing the second preprocessing on the real-time operation video of the target operator in the high-altitude operation of the distribution network, and combining different types of operation behavior judgment models for human behavior detection, the real-time monitoring and accurate judgment of the operator's behavior can be achieved. This helps to timely discover potential safety hazards and violations, and improve the safety and efficiency of high-altitude operations in the distribution network.
[0126] In an optional embodiment, the safety assessment of the high-altitude operation behavior of the distribution network can also be performed based on the human behavior detection results of the target workers in the high-altitude operation of the distribution network, combined with the preset safety operation specifications.
[0127] After completing the human behavior detection of the target workers in the high-altitude operation of the distribution network, the next step is to conduct a safety assessment of the operation behavior based on the detection results. This step is crucial, as it can help to timely discover potential safety hazards and ensure the safety of the high-altitude operation of the distribution network.
[0128] First, a set of preset safe operation specifications needs to be set. These specifications can be formulated based on actual operation conditions and safety requirements, including but not limited to the operator's operating posture, tool usage, operation process, etc. These specifications will serve as a benchmark for evaluating the safety of operation behaviors.
[0129] Then, the human behavior detection results are compared with the preset safe operation specifications. Through the comparison, it can be judged whether the operator's behavior meets the specifications and whether there are potential safety risks. For behaviors that do not meet the specifications, the causes of their occurrence can be further analyzed, such as operating errors, lack of concentration, etc., so as to propose corresponding improvement measures.
[0130] In addition, different behaviors can be classified and rated according to the nature of the operation and the degree of safety risk. For example, high-risk behaviors that may lead to serious accidents can be given higher attention and corresponding preventive measures can be taken. For some low-risk behaviors, regular monitoring and management can be carried out.
[0131] Finally, based on the safety assessment results of the operation behavior, targeted safety management measures can be formulated. These measures may include strengthening the training and education of operators, optimizing the operation process, and improving the effectiveness of safety protection facilities. By implementing these measures, the safety of high-altitude operations in the distribution network can be effectively improved and the probability of accidents can be reduced.
[0132] It should be noted that by conducting a safety assessment on the human behavior detection results of target workers in high-altitude operations in the distribution network, potential safety issues can be discovered and resolved in a timely manner to ensure the safety and efficiency of the operations. This is of great significance for ensuring the stable operation of the power system and the safety of personnel.
[0133] In an optional embodiment, corresponding safety warning information may be generated according to the safety assessment results of the high-altitude working behavior in the distribution network, and the safety warning information may be sent to a preset receiving terminal.
[0134] After completing the safety assessment of high-altitude operations in the distribution network, the system will generate corresponding safety warning information based on the assessment results. These warning information is intended to remind relevant personnel to pay attention to potential safety risks and take corresponding preventive measures to ensure the safety of the operation process.
[0135] The generation of safety warning information is based on the specific content and risk level of the assessment results. For high-risk behaviors or serious safety hazards, the system will generate emergency warning information to attract the attention of relevant personnel. For low-risk behaviors or general safety hazards, the system will generate general warning information to remind relevant personnel to pay attention and take corresponding measures.
[0136] The generated safety warning information will be sent to the designated receiving terminals through the preset communication channels. These receiving terminals can be managers at the operation site, safety supervisors or remote monitoring centers, etc. By timely conveying the warning information to relevant personnel, it can ensure that they can respond quickly and take effective measures to prevent and solve safety problems.
[0137] In order to ensure the accuracy and effectiveness of the warning information, the system will also regularly update and optimize the warning information. According to the actual situation and safety requirements of the work site, the system can adjust the triggering conditions and sending methods of the warning information to better meet actual needs.
[0138] At the same time, the system can also record and analyze historical warning information, extract common safety risks and operating behavior characteristics, and provide reference for future operation management and safety training. By continuously improving and optimizing the warning mechanism, the system can continuously improve the monitoring and warning capabilities of the safety of high-altitude operations in the distribution network.
[0139] It should be noted that by generating and sending safety warning information, the system can promptly remind relevant personnel to pay attention to potential safety risks and take effective measures to ensure the safety and efficiency of the operation process. This helps to improve the safety of high-altitude operations in the distribution network, reduce the possibility of accidents, and provide strong guarantees for the stable operation of the power system.
[0140] In summary, the present invention proposes a human behavior detection method based on an improved graph convolutional network, obtains a historical operation video set of a target operator in high-altitude operation of a distribution network, and performs a first preprocessing on the historical operation video set; according to the first preprocessing result, combined with a preset starting action matching set, a second preprocessing is performed, and the second preprocessing divides the first preprocessing result into different categories of operation video sets according to the preset starting action matching set; a different category operation behavior judgment model is established in combination with the improved graph convolutional network; the real-time operation video of the target operator in high-altitude operation of the distribution network is subjected to a second preprocessing, and according to the category judgment result of the second preprocessing, combined with the different category operation behavior judgment model, the human behavior detection of the target operator in high-altitude operation of the distribution network is performed. By processing and modeling the historical operation video set, and matching and detecting the real-time operation video, accurate identification and monitoring of the human behavior of the target operator in high-altitude operation of the distribution network is achieved. This method not only improves the efficiency of operation safety management, but also provides a new technical means for the safety guarantee of high-altitude operation of the distribution network.
[0141] This embodiment also provides a human behavior detection system based on an improved graph convolutional network, including:
[0142] A first preprocessing module is used to obtain a historical operation video set of a target operator in high-altitude operation of a distribution network, and perform a first preprocessing on the historical operation video set;
[0143] A second preprocessing module is used to perform a second preprocessing according to the first preprocessing result and in combination with a preset starting action matching set, wherein the second preprocessing classifies the first preprocessing result into different types of operation video sets according to the preset starting action matching set;
[0144] Model building module, used to build different types of task behavior judgment models by combining improved graph convolutional networks;
[0145] The detection module is used to perform a second preprocessing on the real-time operation video of the target operator in the high-altitude operation of the distribution network, and perform human behavior detection of the target operator in the high-altitude operation of the distribution network based on the category judgment result of the second preprocessing and combined with different categories of operation behavior judgment models.
[0146] The above-mentioned unit modules may be embedded in or independent of a processor in a computer device in the form of hardware, or may be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to the above-mentioned modules.
[0147] This embodiment also provides a computer device, which may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 2As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a human behavior detection method based on an improved graph convolutional network is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0148] This embodiment further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
[0149] Obtain a historical operation video set of a target operator in high-altitude operation of a distribution network, and perform a first preprocessing on the historical operation video set;
[0150] According to the first preprocessing result, in combination with the preset starting action matching set, a second preprocessing is performed, wherein the second preprocessing classifies the first preprocessing result into different types of operation video sets according to the preset starting action matching set;
[0151] Combined with the improved graph convolutional network, different types of task behavior judgment models are established;
[0152] The real-time working video of the target workers in the high-altitude operation of the distribution network is subjected to a second preprocessing. According to the category judgment result of the second preprocessing and combined with different categories of operation behavior judgment models, the human behavior detection of the target workers in the high-altitude operation of the distribution network is carried out.
[0153] Example 2
[0154] Reference Figure 1-Figure 2 , which is an embodiment of the present invention, provides a human behavior detection method and system based on an improved graph convolutional network. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through experiments.
[0155] Subjects:
[0156] In order to verify the effectiveness of the present invention, 100 distribution network aerial work videos were selected as experimental objects. These videos covered different work scenarios and work tasks, including line maintenance, equipment installation, etc.
[0157] Experimental process:
[0158] First, these videos were preprocessed, including video format conversion and denoising, to ensure the accuracy and reliability of the video data. Then, the human behavior detection method based on the improved graph convolutional network proposed in this invention was used to detect the behavior of the operators. During the detection process, the detection results of each video were recorded and compared with the actual operation situation.
[0159]
[0160]
[0161] Experimental results:
[0162] By comparing the experimental results with the actual operation conditions, it is found that the detection accuracy of the present invention is as high as 98% on average, which can accurately identify the different behaviors of the operators, and classify and judge them. At the same time, it is also found that the detection speed of the present invention is also very fast, and a large number of videos can be detected in a short time, which greatly improves the efficiency of operation safety management.
[0163] Through this experiment, the effectiveness and superiority of the human behavior detection method based on the improved graph convolutional network proposed in this invention are verified. This method not only improves the efficiency of operation safety management, but also provides a new technical means for the safety of high-altitude operations in distribution networks.
[0164] Of course, the present invention is not limited to the above embodiments, and more improvements and optimizations can be made. For example, the model structure of the graph convolutional network can be further optimized to improve the accuracy and speed of behavior detection; other technical means, such as deep learning, machine learning, etc., can also be combined to conduct a more comprehensive analysis and judgment of the behavior of the operator. These improvements and optimizations will further improve the practicality and applicability of the present invention.
[0165] In summary, the present invention provides a human behavior detection method and system based on an improved graph convolutional network, which can realize accurate identification and monitoring of the human behavior of target workers in high-altitude operations in distribution networks, improve the efficiency of operation safety management, and provide a new technical means for the safety of high-altitude operations in distribution networks.
[0166] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
[0167] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code. The scheme in the embodiments of the present application can be implemented in various computer languages, for example, object-oriented programming language Java and literal scripting language JavaScript, etc.
[0168] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0169] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0170] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1The steps for the functions specified in one or more boxes.
[0171] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0172] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A human behavior detection method based on an improved graph convolutional network, characterized in that: include: Obtain a historical operation video set of a target operator in high-altitude operation of a distribution network, and perform a first preprocessing on the historical operation video set; According to the first preprocessing result, in combination with a preset starting action matching set, a second preprocessing is performed, wherein the second preprocessing classifies the first preprocessing result into different types of operation video sets according to the preset starting action matching set; Combined with the improved graph convolutional network, different types of task behavior judgment models are established; A second preprocessing is performed on the real-time working video of the target workers in the high-altitude working of the distribution network, and the human behavior detection of the target workers in the high-altitude working of the distribution network is performed based on the category judgment result of the second preprocessing and combined with the different categories of working behavior judgment models.
2. The human behavior detection method based on the improved graph convolutional network as claimed in claim 1, characterized in that: The target operator's historical operation video set includes a foreign object removal historical operation video set, a normal inspection historical operation video set, an emergency repair historical operation video set, and an equipment replacement historical operation video set.
3. The human behavior detection method based on the improved graph convolutional network as claimed in claim 2, characterized in that: The first preprocessing of the historical operation video set includes: Unifying the format of the historical homework video collection; Segmenting the historical operation video set after the unified format and extracting key frames, and denoising the extracted key frames, wherein the video segmentation includes segments with and without high-altitude operations; Delete the segmented videos without key frames and high-altitude operations; The key frames are the first frame and the last frame of the aerial work obtained, the first frame is the corresponding frame of the starting action issued by the operator when performing the work, and the last frame is the corresponding frame of the ending action issued by the operator when completing the work.
4. The human behavior detection method based on the improved graph convolutional network as claimed in claim 3, characterized in that: The starting action matching set includes: a first matching action, a second matching action, a third matching action and a fourth matching action; The first matching action is a preset starting action for removing foreign objects, the second matching action is a preset starting action for normal inspection, the third matching action is a preset starting action for emergency repair, and the fourth matching action is a preset starting action for replacing equipment; The second preprocessing classifies the first preprocessing result into different types of operation video sets according to the preset starting action matching set.
5. The human behavior detection method based on improved graph convolutional network as claimed in claim 4, characterized in that: The method of establishing different types of operation behavior judgment models by combining the improved graph convolutional network includes: The different types of operation behavior judgment models include a foreign body removal operation behavior judgment model, a normal inspection operation behavior judgment model, an emergency repair operation behavior judgment model, and an equipment replacement operation behavior judgment model; Extract visual features of key frames, use pre-trained improved graph convolutional networks to extract image features, or extract temporal features for action sequences; The foreign body removal operation behavior judgment model includes the use of specific tools and hand movements involved in foreign body removal, adding an additional attention mechanism for local area features in the improved graph convolutional network, and using the Focal Loss loss function to reduce background interference and improve the recognition accuracy of the removal action; The normal inspection operation behavior judgment model includes embedding a recurrent neural network in an improved graph convolutional network to capture action sequence features in a time series, using a weighted cross entropy loss, and adjusting category weights according to the frequency of inspection actions.
6. The human behavior detection method based on improved graph convolutional network as claimed in claim 5, characterized in that: The method of establishing different types of operation behavior judgment models by combining the improved graph convolutional network also includes: The emergency repair operation behavior judgment model includes adding a rapid response mechanism, introducing a time-sensitive graph attention mechanism, giving priority to features related to the emergency state, and adopting a weighted multi-task loss function; The equipment replacement operation behavior judgment model includes combining a sequence-to-sequence model in an improved graph convolutional network to process the recognition of action sequences in the equipment replacement process, and using a Sequence Loss loss function to process the time alignment problem in the action sequence; The input of the foreign object removal operation behavior judgment model, the normal inspection operation behavior judgment model, the emergency repair operation behavior judgment model and the equipment replacement operation behavior judgment model is the operation video set of this category, and the output is the probability of being judged as this category.
7. The human behavior detection method based on improved graph convolutional network as claimed in claim 6, characterized in that: The method of establishing different types of operation behavior judgment models by combining the improved graph convolutional network also includes: Among them, j represents different categories, namely, foreign body removal, normal inspection, emergency repair, and equipment replacement. ij represents the probability that the video set belongs to the jth category, w i Represents the weight parameters of different types of task behavior judgment models; When S j When it is less than the first threshold, the weight parameters of the different types of operation behavior judgment models are reallocated according to the preset standard; When S j When the value is not less than the first threshold value and not greater than the second threshold value, the number of training times of the four judgment models is increased in sequence according to the preset step size; When S j When it is greater than the second threshold, the model building is completed.
8. A human behavior detection system based on an improved graph convolutional network, characterized in that: include: A first preprocessing module is used to obtain a historical operation video set of a target operator in high-altitude operation of a distribution network, and perform a first preprocessing on the historical operation video set; A second preprocessing module, configured to perform a second preprocessing according to the first preprocessing result and in combination with a preset starting action matching set, wherein the second preprocessing classifies the first preprocessing result into different types of operation video sets according to the preset starting action matching set; Model building module, used to build different types of task behavior judgment models by combining improved graph convolutional networks; The detection module is used to perform a second preprocessing on the real-time operation video of the target operator in the high-altitude operation of the distribution network, and perform human behavior detection of the target operator in the high-altitude operation of the distribution network based on the category judgment result of the second preprocessing and in combination with the different categories of operation behavior judgment models.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Personnel action recognition method in industrial scene based on improved time dynamic graph neural network
CN119229213A
Aerial work emergency scheduling method and system
CN121010179A
