A power operation risk behavior identification method, system, device, medium and product

By extracting and repairing semantic features at multiple scales from power operation video frames, and combining this with an enhanced detection model for occluded targets, the stability problem of target detection in power operations is solved, thus improving the safety of power operations.

CN123142168APending Publication Date: 2026-11-20GUANGDONG POWER GRID CORP ZHAOQING POWER SUPPLY BUREAU
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611421647.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-14
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing power operation target detection methods are difficult to reliably detect large-scale personnel and equipment targets, small-scale protective equipment targets, and fine-grained risk targets. In particular, when there is obstruction, overlap, excessively small scale, or strong background interference, small targets are easily missed, obstructed targets are falsely detected, and risk targets are not accurately located, which reduces the safety of power operations.

Method used

By acquiring video frames of power operations, multi-scale semantic features are extracted, a feature reconstruction model is used for semantic repair, and an occlusion target enhancement detection model is combined to enhance the detection of occlusion targets. Finally, risk perception is performed to identify risky behaviors in power operations.

Benefits of technology

It improves the detection accuracy of small-sized risk targets under obstructed conditions, enhances the safety of power operations, and effectively alleviates the problems of missed and false detections of targets under obstructed conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123142168A_ABST
    Figure CN123142168A_ABST
Patent Text Reader

Abstract

The application discloses a power operation risk behavior identification method, system, device, medium and product, relates to the technical field of power operation monitoring, obtains a power operation video frame, carries out multi-scale semantic feature extraction on the power operation video frame, obtains a corresponding multi-scale target feature parameter domain, carries out semantic repair operation on the multi-scale target feature parameter domain through a preset feature reconstruction model, obtains corresponding cross-scale reconstruction features, carries out shield target enhancement detection on the cross-scale reconstruction features through a preset operation shield target enhancement detection model, obtains a corresponding shield target enhancement detection result, carries out risk perception according to the shield target enhancement detection result, and obtains a corresponding risk behavior identification result. The existing power operation target detection method is based on a general target detection network, and problems such as small target missed detection, shield target false detection and inaccurate risk target positioning are prone to occur.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power operation monitoring technology, and in particular to a method, system, equipment, medium and product for identifying risky behaviors in power operations. Background Technology

[0002] Power work sites typically involve a variety of tasks, including equipment maintenance, switchgear operation, grounding wire installation and removal, pole and tower work, live equipment inspection, and tool usage. The work site contains various visual objects, such as workers, protective equipment, tools, electrical equipment, work areas, and hazardous targets. Among these, targets like safety helmets, insulated gloves, safety belt attachment points, grounding wire ends, tool edges, and hazardous area boundaries are often small in scale, have significant shape variations, and are easily affected by factors such as personnel obstruction, equipment obstruction, changes in lighting, complex backgrounds, and changes in shooting angles. Failure to accurately identify these fine-grained targets and their risk attributes can easily lead to inaccurate assessments of safety protection status, thereby affecting the effectiveness of power site safety supervision and risk warning.

[0003] Existing target detection methods for power operations are mostly based on general target detection networks or scene risk identification models. They detect targets such as workers, safety helmets, work clothes, safety belts, insulating gloves, and grounding wires, and determine whether there is a violation by combining the target's positional relationship or scene category. However, these methods usually focus on the direct matching of target detection results with preset risk rules, and do not adequately consider the feature hierarchy relationship between targets of different scales, semantic backflow relationship, and the completeness representation of targets under occlusion. They are difficult to reliably detect large-scale personnel and equipment targets, small-scale protective equipment targets, and fine-grained risk targets. When targets are occluded, overlapping, too small in scale, or have strong background interference, problems such as missed detection of small targets, false detection of occluded targets, and inaccurate location of risk targets are likely to occur, reducing the safety of power operations. Summary of the Invention

[0004] This invention provides a method, system, device, medium, and product for identifying risk behaviors in power operations. It addresses the shortcomings of existing power operation target detection methods, which are mostly based on general target detection networks or scene risk identification models. These methods detect targets such as workers, safety helmets, work clothes, safety belts, insulating gloves, and grounding wires, and determine the existence of violations based on target position relationships or scene categories. However, these methods typically focus on the direct matching of target detection results with preset risk rules, neglecting the hierarchical relationships of features between targets of different scales, semantic backflow relationships, and the completeness of target representation under occlusion. They struggle to stably detect large-scale personnel and equipment targets, small-scale protective equipment targets, and fine-grained risk targets. When targets are occluded, overlapping, too small, or have strong background interference, problems such as missed detection of small targets, false detection of occluded targets, and inaccurate location of risk targets easily occur, reducing the safety of power operations.

[0005] The first aspect of this invention provides a method for identifying risky behaviors in power operations, comprising: Acquire power operation video frames, perform multi-scale semantic feature extraction on the power operation video frames, and obtain the corresponding multi-scale target feature parameter domain; The semantic repair operation is performed on the multi-scale target feature parameter domain by a preset feature reconstruction model to obtain the corresponding cross-scale reconstructed features. The cross-scale reconstructed features are subjected to occlusion target enhancement detection using a preset task occlusion target enhancement detection model to obtain the corresponding occlusion target enhancement detection results; Risk perception is performed based on the enhanced detection results of the occluded target to obtain the corresponding risk behavior identification results.

[0006] Optionally, the step of extracting multi-scale semantic features from the power operation video frame to obtain the corresponding multi-scale target feature parameter domain includes: The power operation video frames are preprocessed to obtain corresponding valid image frames; A pre-trained target detection network is used to perform target detection on each of the effective image frames to obtain multiple target detection results. Each of the target detection results is divided into scales to obtain multiple target scale feature parameters; A corresponding multi-scale feature parameter domain is constructed using the feature parameters of each target scale; The multi-scale feature parameter domain is subjected to associated feature extraction to obtain the corresponding multi-scale target feature parameter domain.

[0007] Optionally, the feature reconstruction model includes a backbone network, a global scene editor, a local interactive encoder, a semantic reflow network, a saliency compensation network, and a feature fusion layer. The step of performing semantic repair operations on the multi-scale target feature parameter domain through the preset feature reconstruction model to obtain the corresponding cross-scale reconstructed features includes: The backbone network is used to extract features from the multi-scale target feature parameter domain to obtain small-scale feature response maps, medium-scale feature response maps and large-scale feature response maps. The global scene encoder extracts global semantic features from the large-scale feature response map to obtain the corresponding global semantic feature map. The local semantic feature map is obtained by extracting local semantic features from the mesoscale feature response map using the local interactive encoder. Based on the semantic backflower, semantic backflow operation is performed on the small-scale feature response map according to the global semantic feature map and the local semantic feature map to obtain the corresponding semantic backflow enhancement feature; The semantic backflow enhancement features are compensated by the saliency compensation network to obtain the corresponding fine-grained saliency enhancement features; The semantic backflow enhancement feature and the fine-grained saliency enhancement feature are fused by a feature fusion layer to obtain the corresponding cross-scale reconstruction feature.

[0008] Optionally, the task occlusion target enhancement detection model includes an occlusion perception network, a context repair network, a correction network, and a detection network. The step of performing occlusion target enhancement detection on the cross-scale reconstructed features using the preset task occlusion target enhancement detection model to obtain the corresponding occlusion target enhancement detection result includes: The occlusion perception network is used to mark the occlusion regions of the cross-scale reconstructed features to obtain the corresponding occlusion perception response map. The context repair network is used to perform feature repair operations on the occlusion perception response map to obtain the corresponding occlusion semantic integrity repair features. The spatial relationship constraint processing of the occlusion semantic integrity repair features is performed through the correction network to obtain the corresponding spatial relationship constraint results. The detection network is used to perform target detection on the spatial relationship constraint results to obtain the corresponding occluded target enhancement detection results.

[0009] Optionally, the enhanced detection result of the occluded target includes multiple target detection results, and the step of performing risk perception based on the enhanced detection result of the occluded target to obtain the corresponding risk behavior identification result includes: The corresponding coupling mapping relationship is constructed using the detection results of each target. Based on the coupling mapping relationship, the confidence of each target detection result is corrected according to the preset confidence correction function to obtain multiple risk constraint confidences; When the risk constraint confidence level and the corresponding target detection result meet the preset risk triggering conditions, a corresponding risk label is generated based on the risk constraint confidence level. The risk behavior identification results are generated by using the confidence scores of each risk constraint, the risk labels, and the target detection results.

[0010] Optionally, the target detection results include target category, target location, original detection confidence, occlusion status, and semantic integrity score.

[0011] A second aspect of the present invention provides a power operation risk behavior identification system, comprising: The acquisition module is used to acquire power operation video frames, extract multi-scale semantic features from the power operation video frames, and obtain the corresponding multi-scale target feature parameter domain. The repair module is used to perform semantic repair operations on the multi-scale target feature parameter domain through a preset feature reconstruction model to obtain the corresponding cross-scale reconstructed features. The detection module is used to perform occlusion target enhancement detection on the cross-scale reconstructed features using a preset task occlusion target enhancement detection model, and obtain the corresponding occlusion target enhancement detection result; The perception module is used to perform risk perception based on the enhanced detection results of the occluded target and obtain the corresponding risk behavior identification results.

[0012] A third aspect of the present invention provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the steps of the power operation risk behavior identification method described above.

[0013] The fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed, implements the power operation risk behavior identification method as described above.

[0014] The fifth aspect of the present invention provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, wherein, when the program instructions are executed by a computer, the computer performs the power operation risk behavior identification method as described above.

[0015] As can be seen from the above technical solutions, the present invention has the following advantages: This invention acquires video frames of power operation work, extracts multi-scale semantic features from these frames to obtain corresponding multi-scale target feature parameter domains, performs semantic repair operations on these domains using a pre-set feature reconstruction model to obtain corresponding cross-scale reconstructed features, and then uses a pre-set operation occlusion target enhancement detection model to perform occlusion target enhancement detection on the cross-scale reconstructed features to obtain corresponding occlusion target enhancement detection results. Based on these results, risk perception is performed to obtain corresponding risk behavior identification results. This invention overcomes the problems of existing power operation target detection methods, which are mostly based on general target detection networks or scene risk identification models. These methods are prone to problems such as missed detection of small targets, false detection of occluded targets, and inaccurate location of risk targets when targets are occluded, overlapped, too small, or have strong background interference. Compared with traditional methods for identifying risk behaviors in power operations, this invention starts from power operation video frames and sequentially completes multi-scale semantic feature extraction, semantic repair and reconstruction, enhanced detection of occluded targets, and risk perception reasoning. It can fully explore the multi-layer semantic information of large-scale scene constraints, medium-scale operation interactions, and small-scale fine-grained targets in the image. By using a feature reconstruction model to compensate for and repair the missing semantic information of occluded targets, it effectively alleviates the problem of missed and false detection of targets caused by mutual occlusion of personnel, protective equipment, and tools in the operation scene, improves the detection accuracy of small-sized risk targets under occlusion conditions, and enhances the safety of power operations. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0017] Figure 1 This is a flowchart illustrating the steps of a method for identifying risky behaviors in power operations according to Embodiment 1 of the present invention. Figure 2 This is a flowchart illustrating the steps of a method for identifying risky behaviors in power operations according to Embodiment 2 of the present invention. Figure 3 This is a structural block diagram of a power operation risk behavior identification system provided in Embodiment 3 of the present invention; Figure 4 This is a structural block diagram of an electronic device provided in Embodiment 4 of the present invention. Detailed Implementation

[0018] This invention provides a method, system, device, medium, and product for identifying risk behaviors in power operations. It addresses the shortcomings of existing power operation target detection methods, which are often based on general target detection networks or scene risk identification models. These methods detect targets such as workers, safety helmets, work clothes, safety belts, insulating gloves, and grounding wires, and determine the presence of violations based on target position relationships or scene categories. However, these methods typically focus on the direct matching of target detection results with preset risk rules, neglecting the hierarchical relationships of features between targets of different scales, semantic backflow relationships, and the completeness of target representation under occlusion. They struggle to stably detect large-scale personnel and equipment targets, small-scale protective equipment targets, and fine-grained risk targets. When targets are occluded, overlapping, too small, or have strong background interference, problems such as missed detection of small targets, false detection of occluded targets, and inaccurate location of risk targets easily occur, reducing the safety of power operations.

[0019] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0020] Please see Figure 1 , Figure 1 The flowchart illustrates the steps of a method for identifying risky behaviors in power operations, as provided in Embodiment 1 of the present invention.

[0021] This invention provides a method for identifying risky behaviors in power operations, comprising: Step 101: Obtain power operation video frames, extract multi-scale semantic features from the power operation video frames, and obtain the corresponding multi-scale target feature parameter domain.

[0022] A power operation video frame refers to a single frame image obtained by decoding the video stream collected by power operation site monitoring equipment. The image contains power operation-related content such as personnel operations, equipment operation, and tool usage.

[0023] The multi-scale target feature parameter domain refers to the feature set formed by structuring all targets detected in the power operation scenario according to their scale level (small, medium, large), semantic category, risk attribute, and scenario anchoring attribute. It is used to uniformly represent the information of different targets at the visual, semantic, and risk levels.

[0024] In this embodiment of the invention, video frames of power operation are acquired, and basic quality screening and scene validity judgment are performed on the video frames. Invalid image frames that are blurry, overexposed, severely occluded, or irrelevant to power operation are removed to obtain the corresponding valid image frames. A pre-trained target detection network is used to perform target detection on each valid image frame, extracting targets such as workers, protective equipment, tools, power equipment, work areas, and hazard sources from each valid image frame. Semantic category annotation and risk attribute annotation are performed on each type of target to obtain multiple target detection results. The scale of each target detection result is divided according to the target pixel ratio, actual physical size, and risk correlation degree to obtain multiple target scale feature parameters. The corresponding multi-scale feature parameter domain is constructed using the target scale feature parameters.

[0025] It should be noted that the specific expression for the multi-scale feature parameter domain is as follows: ; in, For the multi-scale target feature parameter domain of power operation scenarios, For the first At the scale level, the target The visual feature parameters below, For the first The semantic category of each target, For the first The security risk attributes corresponding to each target For the first The contextual anchoring attribute of each target in the work process. N This represents the number of targets to be modeled in the current image or video frame. This represents a small-scale, fine-grained target hierarchy. This is the target level for mesoscale operational interactions. To constrain the target hierarchy in large-scale scenes. For the target index, This is a size-level index.

[0026] Step 102: Perform semantic repair operation on the multi-scale target feature parameter domain through a preset feature reconstruction model to obtain the corresponding cross-scale reconstructed features.

[0027] Cross-scale reconstruction features refer to comprehensive features that integrate large-scale scene constraints, medium-scale operation interactions, and small target saliency information.

[0028] In this embodiment of the invention, the multi-scale target feature parameter domain is input into a preset feature reconstruction model to perform cross-scale semantic backflow and fine-grained saliency compensation, thereby obtaining the corresponding cross-scale reconstructed features.

[0029] It is worth mentioning that the training process of the feature reconstruction model is carried out end-to-end on a labeled power operation scene image dataset. Its core objective is to enable the model to effectively learn the mapping relationship between cross-scale semantic backflow, fine-grained saliency compensation, and feature reconstruction from the multi-scale target feature parameter domain, and finally output cross-scale reconstructed features that are beneficial for occluded target detection. Before training, a training dataset containing a large number of power operation scene images or video frames is first constructed. For each frame of the image, the bounding box annotation, semantic category annotation, risk attribute annotation, and scale level annotation are performed on the workers, protective equipment, tools, power equipment, work areas, and hazard sources. At the same time, for targets with occlusion, the masks of their visible and occluded areas are additionally annotated to provide ground truth for occlusion perception training. During training, labeled images are input into the feature reconstruction model. The model sequentially passes through a backbone network to extract multi-scale feature response maps, then through a semantic reflow and a saliency compensation network to generate semantic reflow enhancement features and fine-grained saliency enhancement features. Finally, a feature fusion layer outputs cross-scale reconstructed features. These reconstructed features are then input into a pre-defined auxiliary detection head (with the same structure as the subsequent occluded target enhancement detection model but with independent parameters) to obtain target detection results. The detection loss, including classification loss, localization loss, and confidence loss, is calculated by comparing these results with manually labeled ground truth values. Simultaneously, to ensure the effectiveness of the semantic reflow enhancement features and saliency compensation features, two auxiliary supervision methods are introduced during training: first, semantic consistency loss, which constrains the semantic consistency between small-scale features after semantic reflow and their corresponding large-scale scene features and mesoscale interaction features in the semantic space. This is achieved by calculating the cosine similarity between the reflow enhancement features and the semantic encoding of the real scene; second, saliency response loss, which constrains the feature response output by the saliency compensation branch on labeled potential fine-grained target regions to be higher than that on unlabeled regions, thereby strengthening the model's ability to detect small targets that are easily missed. The model's total loss function is a weighted sum of detection loss, semantic consistency loss, and saliency response loss. During training, stochastic gradient descent or the Adam optimizer is used to iteratively update all trainable parameters of the backbone network, semantic backflow network, saliency compensation network, and feature fusion layer through backpropagation until the total loss converges.

[0030] Step 103: Perform occlusion target enhancement detection on the cross-scale reconstructed features using the preset task occlusion target enhancement detection model to obtain the corresponding occlusion target enhancement detection results.

[0031] The enhanced detection results for occluded targets refer to the structured data output by the model, which includes target category, target location, original detection confidence, degree of occlusion, and semantic integrity score.

[0032] In this embodiment of the invention, cross-scale reconstruction features are input into a preset task occlusion target enhancement detection model to perform explicit perception of occlusion regions and semantic integrity repair, thereby obtaining the corresponding occlusion target enhancement detection results.

[0033] Step 104: Perform risk perception based on the enhanced detection results of occluded targets to obtain the corresponding risk behavior identification results.

[0034] In this embodiment of the invention, the target category, target location, original detection confidence level, occlusion degree, semantic integrity score, and risk attributes are extracted from the enhanced detection results of occluded targets. A coupled mapping relationship between the target and power safety operation rules is constructed. Object combinations such as personnel-protective equipment, personnel-tools, personnel-equipment, personnel-hazard sources, and tool-equipment operation areas are used as rule matching objects. The risk constraint confidence level of each target is calculated using a pre-set confidence correction function. When the risk constraint confidence level and the corresponding target category, spatial location, occlusion state, and risk attribute meet the preset risk triggering conditions, a corresponding risk label is generated based on the risk constraint confidence level. The corresponding risk behavior identification results are generated using each risk constraint confidence level, each risk label, and each target detection result.

[0035] In this embodiment of the invention, by acquiring power operation video frames, multi-scale semantic feature extraction is performed on the power operation video frames to obtain the corresponding multi-scale target feature parameter domain. A preset feature reconstruction model is used to perform semantic repair operations on the multi-scale target feature parameter domain to obtain the corresponding cross-scale reconstructed features. A preset operation occlusion target enhancement detection model is used to perform occlusion target enhancement detection on the cross-scale reconstructed features to obtain the corresponding occlusion target enhancement detection result. Risk perception is performed based on the occlusion target enhancement detection result to obtain the corresponding risk behavior identification result. This overcomes the problems of existing power operation target detection methods, which are mostly based on general target detection networks or scene risk identification models. When targets are occluded, overlapped, too small in scale, or have strong background interference, problems such as missed detection of small targets, false detection of occluded targets, and inaccurate location of risk targets easily occur. Compared with traditional methods for identifying risk behaviors in power operations, this invention starts from power operation video frames and sequentially completes multi-scale semantic feature extraction, semantic repair and reconstruction, enhanced detection of occluded targets, and risk perception reasoning. It can fully explore the multi-layer semantic information of large-scale scene constraints, medium-scale operation interactions, and small-scale fine-grained targets in the image. By using a feature reconstruction model to compensate for and repair the missing semantic information of occluded targets, it effectively alleviates the problem of missed and false detection of targets caused by mutual occlusion of personnel, protective equipment, and tools in the operation scene, improves the detection accuracy of small-sized risk targets under occlusion conditions, and enhances the safety of power operations.

[0036] Please see Figure 2 , Figure 2This is a flowchart illustrating the steps of a method for identifying risky behaviors in power operations, as provided in Embodiment 2 of the present invention.

[0037] This invention provides a method for identifying risky behaviors in power operations, comprising: Step 201: Obtain power operation video frames, perform image preprocessing on the power operation video frames to obtain the corresponding valid image frames.

[0038] A valid image frame refers to an image frame that, after basic quality screening and scene validity assessment, is deemed to be clear, properly exposed, scene-relevant, and suitable for subsequent analysis.

[0039] Image preprocessing refers to a series of preprocessing operations performed on an image before target detection and feature extraction to improve image quality and adapt to the input requirements of the model. These operations include quality screening, noise reduction, illumination normalization, and size normalization.

[0040] In this embodiment of the invention, power operation video frames are acquired, and image frames are extracted from the power operation video frames at fixed time intervals. Image quality detection and scene validity judgment are carried out in sequence. Frames with blurry images, overexposure or underexposure, large-area occlusion, and invalid frames that are irrelevant to the power operation scene are filtered out. At the same time, image resolution normalization and noise suppression processing are completed, and images with complete content and valid operation scenes are selected as valid image frames.

[0041] Step 202: Use a pre-trained target detection network to perform target detection on each valid image frame to obtain multiple target detection results.

[0042] The target detection result refers to the structured data unit output after target detection is performed on each valid image frame, which contains at least three pieces of information: target category, target location, and original detection confidence.

[0043] In this embodiment of the invention, each valid image frame is input into a pre-trained target detection network for target detection. The network extracts targets such as workers, protective equipment, tools, electrical equipment, work areas, and hazardous sources from each valid image frame. Semantic category and risk attribute annotations are then applied to each type of target, resulting in multiple target detection results. Protective equipment includes at least safety helmets, insulating gloves, safety belts, insulating boots, and reflective clothing. Tools include at least voltage detectors, grounding wires, insulating rods, and metering tools. Electrical equipment includes at least electricity meters, transformers, switch cabinets, metering boxes, and secondary terminals. Hazardous sources include at least live parts, high edges, exposed terminals, temporary obstacles, and safety isolation boundaries.

[0044] It's worth noting that the underlying network for object detection can employ a general object detection architecture based on convolutional neural networks (CNNs), specifically mainstream networks such as the YOLO series (e.g., YOLOv5, YOLOv8), RT-DETR, or Faster R-CNN. Taking the YOLO series as an example, this network uses a single-stage end-to-end detection paradigm, dividing the input image into a grid. Each grid is responsible for predicting the target falling within it, simultaneously outputting class probabilities and bounding box coordinates. It features fast detection speed and high accuracy, suitable for the real-time processing requirements of power operation video frames. If RT-DETR is chosen, it is based on a Transformer architecture, achieving end-to-end object detection through a deformable attention mechanism. It eliminates the need for non-maximum suppression post-processing and exhibits good robustness against occlusion and small object detection in complex scenes. If Faster R-CNN is selected, it employs a two-stage detection strategy, first generating region candidate boxes, then classifying and refining the candidate boxes through regression. It boasts high detection accuracy but relatively slow inference speed, making it suitable for offline analysis scenarios with high accuracy requirements.

[0045] The training process of the target detection network is based on a pre-labeled dataset of power operation scene images. Supervised learning is used to optimize the network parameters, enabling it to accurately identify various operation targets in power scenarios. First, a dedicated training dataset for power operation scenarios is constructed. A large number of images are collected from different operation types (such as equipment maintenance, switchgear operation, grounding wire installation and removal, pole tower operation, etc.), under different lighting conditions, different shooting angles, and different degrees of occlusion. For each image, precise bounding box annotations and category labels are applied to the workers, protective equipment (safety helmets, insulating gloves, safety belts, insulating boots, reflective clothing), tools (voltage detectors, grounding wires, insulating poles, metering tools), power equipment (electricity meters, transformers, switchgear, metering boxes, secondary terminals), work areas, and hazardous targets (live parts, high edges, exposed terminals, temporary obstacles, safety isolation boundaries), forming a high-quality training annotation set. Building upon this foundation, online data augmentation operations are performed on the training images, including random rotation, horizontal flipping, scaling, color jittering, and Mosaic blending, to broaden the diversity of training samples and improve the network's generalization ability to different scenes and lighting variations. During training, the augmented images are input into the object detection base network in batches. After forward propagation, the network outputs the class prediction probability and bounding box regression offset for each candidate region, which are then compared with manually labeled ground truth values ​​to calculate the total loss. This total loss is typically a weighted sum of classification loss and localization loss. The classification loss uses binary cross-entropy loss or FocalLoss to mitigate the imbalance between positive and negative samples, while the localization loss uses CIoU loss or SmoothL1 loss to measure the differences in position, size, and aspect ratio between the predicted and ground truth bounding boxes. During optimization, stochastic gradient descent with momentum or the AdamW optimizer is used, combined with learning rate preheating and cosine annealing decay strategies. All trainable parameters of the network's backbone feature extraction layer and detection head are iteratively updated through backpropagation. During training, the network performance is evaluated using a validation set after each training round, and the optimal model weights are selected based on the mean average accuracy metric. Training is stopped when the mean average accuracy on the validation set stabilizes and no longer increases significantly. The model parameters of that round are saved as the final target detection base network weights for subsequent target detection inference on actual power operation video frames.

[0046] Step 203: Divide the detection results of each target into scales to obtain multiple target scale feature parameters.

[0047] Target scale feature parameters refer to structured parameter units that encapsulate a single target scale level identifier, visual features, semantic category, security risk attributes, and scene anchoring attributes.

[0048] In this embodiment of the invention, based on the pixel area of ​​the detection box of the target in each group of target detection results, combined with the actual physical size of the target, the degree of visual discernibility, and the degree of correlation with the operational risk, all targets are divided into scale levels corresponding to small-scale fine-grained targets, medium-scale operational interaction targets, and large-scale scene constraint targets. At the same time, the visual features of each target are extracted, and the corresponding semantic category labels, safety risk attributes, and scene anchoring attributes are matched. The scale level identifier is bound and encapsulated with the above-mentioned information to generate the target scale feature parameters corresponding to each target.

[0049] It should be noted that small-scale fine-grained targets are used to characterize protective equipment and small tools that are small in area in the image, easily affected by background interference, and easily missed, such as insulating gloves, voltage detectors, the ends of grounding wires, and the edge areas of safety helmets; medium-scale operational interaction targets are used to characterize the operational relationships between workers, tools, and equipment, such as the contact relationship between workers' hands and tools, and the working distance relationship between workers and switch cabinets; large-scale scene constraint targets are used to characterize scene range information such as work areas, equipment intervals, dangerous boundaries, and safety passages, and are used to provide scene semantic constraints for fine-grained target detection.

[0050] Step 204: Construct the corresponding multi-scale feature parameter domain using the feature parameters of each target scale.

[0051] In this embodiment of the invention, all target scale feature parameters are traversed, and the parameters are grouped and collected according to three levels: small-scale fine-grained targets, medium-scale operation interaction targets, and large-scale scene constraint targets. The scale dependence, semantic association, and risk constraint relationship between different targets are explored. Parameters related to missing protective equipment, operation boundary crossing, and non-standard use of tools are marked as risk-sensitive parameters. The binding and recording of the relationship between parameters are completed, and a structured multi-scale feature parameter domain is formed.

[0052] Step 205: Extract associated features from the multi-scale feature parameter domain to obtain the corresponding multi-scale target feature parameter domain.

[0053] In this embodiment of the invention, based on the target scale feature parameters grouped and collected within the multi-scale feature parameter domain, and based on the recorded scale dependencies, semantic associations, and risk constraints, spatial location association features, operational semantic association features, and risk association features between different targets are extracted. The extracted association features are then appended and bound to the corresponding target scale feature parameters. The feature information of each target within the parameter domain is updated, and conflicting logic and invalid redundant information within the parameters are removed. This completes the optimization and update of the parameter domain, generating a multi-scale target feature parameter domain that integrates the features of a single target and the interrelationship features of multiple targets.

[0054] It should be noted that scale dependency is used to describe the spatial inclusion, proximity, and subordination relationships between small-scale targets and medium-scale and large-scale targets; semantic association is used to describe the correspondence between personnel, protective equipment, tools, and equipment in the power operation process; and risk constraint is used to describe the safety risks that may be caused when targets are missing, misplaced, cross boundaries, or abnormally close to hazards.

[0055] Step 206: Perform semantic repair operation on the multi-scale target feature parameter domain through a preset feature reconstruction model to obtain the corresponding cross-scale reconstructed features.

[0056] Furthermore, the feature reconstruction model includes a backbone network, a global scene editor, a local interaction encoder, a semantic reflow network, a saliency compensation network, and a feature fusion layer. Step 206 includes the following sub-steps: S11. Feature extraction is performed on the multi-scale target feature parameter domain through the backbone network to obtain small-scale feature response maps, medium-scale feature response maps and large-scale feature response maps.

[0057] Small-scale feature response maps refer to feature maps that focus on preserving detailed information of small targets such as safety helmets and insulating gloves, and are used for fine-grained target feature calculation.

[0058] Mesoscale feature response map refers to a feature map that carries information about the interaction between workers, tools, and equipment, and represents the local operation interaction characteristics.

[0059] Large-scale feature response maps refer to feature maps that store large-scale scene information such as work areas and dangerous boundaries, providing a global scene semantic foundation.

[0060] In this embodiment of the invention, the multi-scale target feature parameter domain is input into the backbone network, and the features are abstracted layer by layer through multi-layer convolution operations. The feature splitting is performed in combination with the pre-divided scale level labels in the parameter domain, and the small-scale feature response map corresponding to the fine-grained small target, the medium-scale feature response map corresponding to the task interaction object, and the large-scale feature response map corresponding to the scene constraint object are parsed and output respectively.

[0061] It should be noted that the backbone network can adopt a deep convolutional neural network architecture with multi-level feature extraction capabilities, specifically mainstream models such as ResNet (residual network), HRNet (high resolution network), CSPDarknet, or EfficientNet.

[0062] S12. Global semantic features are extracted from the large-scale feature response map by a global scene encoder to obtain the corresponding global semantic feature map.

[0063] The global semantic feature map refers to the feature map output by the encoder, which condenses global constraint information such as the overall scene of the power operation site, dangerous boundaries, and operation scope.

[0064] It should be noted that the global scene encoder consists of a 1×1 two-dimensional average pooling layer, a fully connected layer, and a ReLU activation function layer connected in sequence.

[0065] In this embodiment of the invention, a large-scale feature response map is input into a global scene encoder, which then passes through a 1×1 two-dimensional average pooling layer to compress the feature dimension, and then through a fully connected layer and a ReLU activation function layer to complete a nonlinear mapping. This process extracts overall scene constraint information such as the work area, equipment intervals, and dangerous boundaries, filters out local irrelevant details, and encodes a global semantic feature map that can represent the global work scene of the entire image.

[0066] S13. Local semantic features are extracted from the mesoscale feature response map using a local interactive encoder to obtain the corresponding local semantic feature map.

[0067] Local semantic feature maps refer to the feature maps output by local interactive encoders, which record local operation interaction information such as contact, distance, and relative position between personnel, tools, and equipment.

[0068] It should be noted that the local interactive encoder consists of a 1×1 convolutional layer and a 3×3 deformable convolutional layer connected in sequence.

[0069] In this embodiment of the invention, the mesoscale feature response map is input into the local interactive encoder. It first passes through a 1×1 convolutional layer to complete the channel dimension adjustment, and then is sent to a 3×3 deformable convolutional layer to adaptively focus on the work interaction areas such as the personnel's hands and tool contact positions. This captures the position, contact, and distance interaction relationships between the workers, tools, and power equipment, suppresses invalid feature interference in non-interactive areas, and encodes and generates a local semantic feature map that represents the local work behavior logic.

[0070] S14. Based on the semantic backflower, perform semantic backflow operation on the small-scale feature response map according to the global semantic feature map and the local semantic feature map to obtain the corresponding semantic backflow enhancement features.

[0071] Semantic backflow enhancement features refer to small-scale target features obtained after high-level semantic information injection, which have incorporated scene constraints and prior knowledge of task interaction.

[0072] In this embodiment of the invention, the global semantic feature map, the local semantic feature map, and the small-scale feature response map are input into the semantic reflow converter. First, the global and local semantic features are mapped to the small-scale feature response map through a feature size alignment operation. Figure 1Based on the spatial dimensions and channel dimensions, the cross-scale semantic backflow function is invoked to complete the splicing and fusion of multi-source features. Then, a risk anchoring compensation function is introduced to supplement the saliency compensation information by combining the target risk attribute and the scene anchoring attribute. The weighted superposition operation is completed by relying on the preset cross-scale semantic backflow weight and risk anchoring saliency compensation weight, so that the high-level scene and interaction semantic information are injected into the small-scale original features to generate semantic backflow enhanced features.

[0073] It should be noted that the specific expression for the semantic backflow enhancement feature is as follows: ; ; ; in, For the first i Enhanced features after semantic backflow For the first i Small-scale original features of each target For cross-scale semantic backflow weights, For the cross-scale semantic backflow function value, To anchor the significance of risk with a weighted average, The risk-anchored compensation function value, In order to be with the first i Mesoscale task interaction features related to each objective In order to be with the first i Large-scale scene constraint features related to each target For the first i The semantics of the category of each target, For feature size alignment operations, For the first i The category semantic encoding of each target, The first feature mapping parameter, For the first bias term, For the first The security risk attributes corresponding to each target For the first The contextual anchoring attribute of each target in the work process. For the second feature mapping parameters, For the second bias term, Encode the risk attributes. Format the scene anchor attribute. i For the target index.

[0074] It is worth mentioning that the semantic reflow processor works as follows: First, it performs size alignment on the large-scale and medium-scale feature response maps by bilinear interpolation or transposed convolution to match their spatial resolution with that of the small-scale feature response map. Then, it concatenates the aligned multi-scale features along the channel dimension and then fuses and compresses them through a feature map block consisting of 1×1 and 3×3 convolutions to output an enhanced feature with the same number of channels as the small-scale feature.

[0075] S15. The semantic backflow enhancement features are compensated by a saliency compensation network to obtain the corresponding fine-grained saliency enhancement features.

[0076] Fine-grained saliency enhancement features refer to the compensation features output after the small target region is enhanced and the background interference is suppressed by the saliency compensation network.

[0077] In this embodiment of the invention, semantic backflow enhancement features are input into a saliency compensation network for feature compensation. Based on the target boundary response, local texture and color differences, and by associating the spatial proximity between the target and key parts of the human body such as the head and hands, potential fine-grained target regions with weak feature activation, such as safety helmets, insulating gloves, and electroscopes, are identified. The boundary features and category distinction features of these regions are strengthened in a targeted manner, while the feature response of irrelevant background regions is suppressed. This completes the feature compensation for low-response fine-grained targets, resulting in the corresponding fine-grained saliency enhancement features.

[0078] It is worth mentioning that the saliency compensation network's processing procedure is as follows: First, a channel attention module recalibrates the weights of each channel of the input feature to select the channel dimensions that are more sensitive to small-scale target responses; at the same time, a spatial attention module generates an attention weight map in the spatial dimension, focusing on regions with strong target boundary responses, obvious texture changes, or prominent color differences. The outputs of the two attention modules are fused with the original features through element-wise multiplication and residual connections, thereby significantly improving the feature response intensity of easily missed target regions while maintaining the original feature information.

[0079] S16. The semantic backflow enhancement feature and the fine-grained saliency enhancement feature are fused through the feature fusion layer to obtain the corresponding cross-scale reconstruction feature.

[0080] In this embodiment of the invention, the semantic backflow enhancement features and fine-grained saliency enhancement features are spliced ​​together by a feature fusion layer to obtain the corresponding cross-scale reconstruction features.

[0081] It is worth mentioning that the cross-scale reconstruction features simultaneously include large-scale operational scenario constraint information, medium-scale personnel and equipment interaction information, and small-scale fine-grained target saliency information. This can enhance the detectability of key targets such as safety helmets, insulating gloves, grounding wires, and voltage detectors in complex power operation scenarios, and reduce the impact of complex backgrounds, target scale differences, local weak responses, and operational environment interference on the detection results.

[0082] Step 207: Perform occlusion target enhancement detection on the cross-scale reconstructed features using the preset task occlusion target enhancement detection model to obtain the corresponding occlusion target enhancement detection results.

[0083] Furthermore, the task-based occlusion target enhancement detection model includes an occlusion perception network, a context repair network, a correction network, and a detection network. Step 207 includes the following sub-steps: S21. The occlusion region is marked on the cross-scale reconstructed features through the occlusion perception network to obtain the corresponding occlusion perception response map.

[0084] Occlusion perception response map refers to a two-dimensional feature map where the value at each location represents the probability of occlusion at that location, distinguishing between visible and invisible areas of the target.

[0085] In this embodiment of the invention, cross-scale reconstruction features are input into an occlusion perception network. Target candidate regions and their surrounding contextual features are extracted from these cross-scale reconstruction features. Combining the continuity of the candidate region's internal boundaries, the degree of texture interruption, the degree of target overlap, and the proportion of locally visible areas, the network distinguishes between true target absence and visual invisibility caused by occlusion. Explicit labeling of occlusion boundaries, locally missing regions, and target overlap regions within the image is performed, generating an occlusion perception response map that can quantify the occlusion probability of each region.

[0086] It is worth mentioning that the structure of the occlusion perception network is as follows: taking cross-scale reconstruction features as input, it first extracts the boundary continuity features, texture interruption features, target overlap features, and local visible area proportion features within the target candidate region through multiple parallel convolutional branches. Then, these features are concatenated in the channel dimension, and an occlusion perception response map is output through a prediction layer composed of 1×1 convolution and sigmoid activation function. The value of each pixel represents the probability that the position is occluded.

[0087] S22. Perform feature repair operation on the occlusion perception response map through the context repair network to obtain the corresponding occlusion semantic integrity repair features.

[0088] Occlusion semantic integrity restoration features refer to the features obtained after the context restoration network compensates for the missing information due to occlusion.

[0089] In this embodiment of the invention, the occlusion-aware response map is input into the context repair network for feature repair operation to obtain the corresponding occlusion semantic integrity repair features.

[0090] It should be noted that the specific expression for the occlusion semantic integrity repair feature is as follows: ; in, For the first i Features of an object after semantic integrity restoration following occlusion. For the first i The visible area characteristics of each target For the first i The occlusion repair weight of each target To obscure the semantic repair function value, For the first i Response map of the occlusion area of ​​each target. For the first i Contextual features surrounding a target For the first i The semantic category of each target, This is a convolutional feature fusion operation. To weight each element, Semantic encoding for the target category.

[0091] It is worth mentioning that the specific structure of the context repair network is as follows: it takes cross-scale reconstructed features and occlusion-aware response maps as dual inputs. First, the occlusion-aware response map is... Figure 2 Values ​​are converted into masks to mark visible and invisible regions. Then, gated convolution or partial convolution is used to replace regular convolution. In invisible regions, feature filling is performed based solely on the contextual information of the visible regions. The repair is carried out gradually from the edge to the inside. At the same time, the semantic encoding of the target category is combined as a conditional guide, so that the repair process can perceive the category specificity of the target. After multiple repairs, the occlusion semantic integrity repair features are output.

[0092] S23. By modifying the network, spatial relationship constraints are applied to the occlusion semantic integrity repair features to obtain the corresponding spatial relationship constraint results.

[0093] Spatial relationship constraint results refer to intermediate output data that includes occlusion enhancement candidate boxes and category responses, after spatial logic verification and correction.

[0094] In this embodiment of the invention, the occlusion semantic integrity repair features are input into the correction network for spatial relationship constraint processing to obtain the corresponding spatial relationship constraint results.

[0095] The existing description states that the structure of the correction network is as follows: taking the occlusion semantic integrity repair features as input, a lightweight convolutional module predicts the offset field and scale factor of each spatial location, and directly performs regression fine-tuning on the position and size of the candidate box; at the same time, a spatial attention branch is designed to determine the feature consistency between the current target region and its surrounding context region. When the consistency is lower than the threshold, the feature representation of the region is adjusted by feature reweighting to make it more consistent with the prior distribution of the category, and then the boundary correction is completed by combining non-maximum suppression post-processing.

[0096] S24. Target detection is performed on the spatial relationship constraint results through the detection network to obtain the corresponding occluded target enhancement detection results.

[0097] In this embodiment of the invention, the spatial relationship constraint results are input into the detection network for target detection to obtain the corresponding enhanced detection results of occluded targets.

[0098] It is worth mentioning that the detection network can be the detection head part of YOLO, RT-DETR, Faster R-CNN, or a detection network based on the Transformer decoder. Among them, the detection network based on the Transformer decoder treats the corrected target candidate boxes as learnable object queries. The Transformer decoder performs cross-attention calculation on cross-scale reconstructed features and occlusion-aware response maps, directly decoding the category, bounding box, occlusion degree, and semantic integrity score of each target.

[0099] Step 208: Perform risk perception based on the enhanced detection results of the occluded target to obtain the corresponding risk behavior identification results.

[0100] Furthermore, the enhanced detection result for occluded targets includes multiple target detection results, and step 208 includes the following sub-steps: S31. Construct the corresponding coupling mapping relationship using the detection results of each target.

[0101] It should be noted that the target detection results include target category, target location, original detection confidence, occlusion status, and semantic integrity score.

[0102] The coupling mapping relationship refers to the dynamic logical correspondence that binds and associates the detected target entities, target state parameters and safety judgment conditions with the power operation safety rules as the core.

[0103] In this embodiment of the invention, the target category, spatial location, degree of occlusion, semantic integrity score, and risk attribute information from all enhanced detection results of occluded targets are summarized. Based on the power operation safety specifications, a bidirectional association mapping between the detected target entities and preset safety rules is established. The detected targets such as workers, protective equipment, tools, power equipment, and hazard sources are matched in pairs to build a multi-dimensional association correspondence between personnel and protective equipment, personnel and operating equipment, personnel and hazardous areas, and tools and operating scenarios. At the same time, the occlusion status parameters and confidence parameters of each target are bound to form a dynamic coupling mapping relationship that can adapt to occlusion conditions.

[0104] It is worth mentioning that safety rules refer to the pre-set safety guidelines for power field operations, which include standardized constraints such as the wearing of protective equipment, equipment operation, work area management, and hazard avoidance.

[0105] S32. Based on the coupling mapping relationship, the confidence of each target detection result is corrected according to the preset confidence correction function to obtain multiple risk constraint confidences.

[0106] Risk constraint confidence refers to the final confidence level obtained after correction for occlusion factors, semantic integrity, and risk weights.

[0107] In this embodiment of the invention, the detection results of each target are input into a preset confidence correction function. The weighted correction operation is performed according to the risk attribute weight of the corresponding target in the coupling mapping relationship. The confidence of the judgment of targets with high occlusion and low semantic integrity is reduced, while the confidence weight of targets with high visibility is retained. The risk constraint confidence of each target after working condition correction is output one by one.

[0108] It should be noted that the confidence correction function is as follows: ; in, For the first i Confidence level of risk constraints for each objective For the first i The original detection confidence of each target. The semantic integrity enhancement coefficient, For the first i The semantic integrity score of each target This is the occlusion suppression coefficient. For the first i The degree of occlusion of each target, For the safety rule coupling enhancement coefficient, for.

[0109] S33. When the risk constraint confidence level and the corresponding target detection result meet the preset risk triggering conditions, the corresponding risk label is generated based on the risk constraint confidence level.

[0110] Risk triggering conditions refer to a set of multi-dimensional judgment rules predefined for each type of risk event. Each rule specifies the specific conditions that must be met to trigger the risk, such as the target combination, spatial location constraints, scale level requirements, occlusion state threshold, and lower limit of risk constraint confidence.

[0111] In this embodiment of the invention, when the risk constraint confidence level and the corresponding target detection result meet the preset risk triggering conditions, the corresponding standardized risk label is automatically matched and generated according to the preset label mapping rules, based on the current work scenario and risk level. This accurately marks various safety risk types present on-site, such as lack of protection, operational violations, area boundary crossing, and proximity of hazardous sources, and generates corresponding risk labels. For example, when a worker is detected near live equipment and no corresponding protective equipment is identified, a protective equipment missing risk label is generated; when a worker or tool crosses a preset safety boundary, a work area boundary crossing risk label is generated; and when the tool type does not match the current equipment operation area, an abnormal tool use risk label is generated.

[0112] S34. Generate corresponding risk behavior identification results by using the confidence levels of each risk constraint, each risk label, and each target detection result.

[0113] In this embodiment of the invention, the corrected risk constraint confidence, the matched risk labels, and the target detection results including target category, spatial location, and occlusion status are fused and integrated. Multiple risk information in the same scenario is deduplicated and associated, invalid and falsely triggered risk data are eliminated, and the risk behavior identification results are generated in a unified structured package according to the power operation risk output specification, which includes operation target information, risk location, risk type, risk confidence and risk level.

[0114] In this embodiment of the invention, by acquiring power operation video frames, multi-scale semantic feature extraction is performed on the power operation video frames to obtain the corresponding multi-scale target feature parameter domain. A preset feature reconstruction model is used to perform semantic repair operations on the multi-scale target feature parameter domain to obtain the corresponding cross-scale reconstructed features. A preset operation occlusion target enhancement detection model is used to perform occlusion target enhancement detection on the cross-scale reconstructed features to obtain the corresponding occlusion target enhancement detection result. Risk perception is performed based on the occlusion target enhancement detection result to obtain the corresponding risk behavior identification result. This overcomes the problems of existing power operation target detection methods, which are mostly based on general target detection networks or scene risk identification models. When targets are occluded, overlapped, too small in scale, or have strong background interference, problems such as missed detection of small targets, false detection of occluded targets, and inaccurate location of risk targets easily occur. Compared with traditional methods for identifying risk behaviors in power operations, this invention starts from power operation video frames and sequentially completes multi-scale semantic feature extraction, semantic repair and reconstruction, enhanced detection of occluded targets, and risk perception reasoning. It can fully explore the multi-layer semantic information of large-scale scene constraints, medium-scale operation interactions, and small-scale fine-grained targets in the image. By using a feature reconstruction model to compensate for and repair the missing semantic information of occluded targets, it effectively alleviates the problem of missed and false detection of targets caused by mutual occlusion of personnel, protective equipment, and tools in the operation scene, improves the detection accuracy of small-sized risk targets under occlusion conditions, and enhances the safety of power operations.

[0115] Please see Figure 3 , Figure 3 This is a structural block diagram of a power operation risk behavior identification system provided in Embodiment 3 of the present invention.

[0116] This invention provides a power operation risk behavior identification system, comprising: The acquisition module 301 is used to acquire power operation video frames, perform multi-scale semantic feature extraction on the power operation video frames, and obtain the corresponding multi-scale target feature parameter domain. Repair module 302 is used to perform semantic repair operation on the multi-scale target feature parameter domain through a preset feature reconstruction model to obtain the corresponding cross-scale reconstructed features. The detection module 303 is used to perform occlusion target enhancement detection on cross-scale reconstructed features through a preset operation occlusion target enhancement detection model, and obtain the corresponding occlusion target enhancement detection result; The perception module 304 is used to perform risk perception based on the enhanced detection results of the occluded target and obtain the corresponding risk behavior identification results.

[0117] Furthermore, the acquisition module 301 includes: The preprocessing submodule is used to perform image preprocessing on power operation video frames to obtain corresponding valid image frames; The scale feature extraction submodule is used to perform target detection on each effective image frame using a pre-trained target detection base network to obtain multiple target detection results. The detection results of each target are divided into scales to obtain multiple target scale feature parameters; A corresponding multi-scale feature parameter domain is constructed using feature parameters of each target scale; By performing correlation feature extraction on the multi-scale feature parameter domain, the corresponding multi-scale target feature parameter domain is obtained.

[0118] Furthermore, the feature reconstruction model includes a backbone network, a global scene editor, a local interaction encoder, a semantic reflow network, a saliency compensation network, and a feature fusion layer. The repair module 302 includes: The extraction submodule is used to extract features from the multi-scale target feature parameter domain through the backbone network to obtain small-scale feature response maps, medium-scale feature response maps and large-scale feature response maps. Global semantic features are extracted from the large-scale feature response map by a global scene encoder to obtain the corresponding global semantic feature map; Local semantic features are extracted from the mesoscale feature response map by a local interactive encoder to obtain the corresponding local semantic feature map; The backflow submodule is used to perform semantic backflow operation on the small-scale feature response map based on the global semantic feature map and the local semantic feature map, so as to obtain the corresponding semantic backflow enhancement features. By using a saliency compensation network to compensate for the semantic backflow enhancement features, the corresponding fine-grained saliency enhancement features are obtained. The fusion submodule is used to fuse semantic backflow enhancement features and fine-grained saliency enhancement features through the feature fusion layer to obtain the corresponding cross-scale reconstructed features.

[0119] Furthermore, the task occlusion target enhancement detection model includes an occlusion perception network, a context repair network, a correction network, and a detection network. The detection module 303 includes: The constraint submodule is used to label occlusion regions on cross-scale reconstructed features through the occlusion perception network to obtain the corresponding occlusion perception response map. By using a context repair network to perform feature repair operations on the occlusion-aware response map, the corresponding occlusion semantic integrity repair features are obtained. By modifying the network to perform spatial relationship constraint processing on the occlusion semantic integrity repair features, the corresponding spatial relationship constraint results are obtained; The detection submodule is used to perform target detection on the spatial relationship constraint results through the detection network, and obtain the corresponding enhanced detection results of occluded targets.

[0120] Furthermore, the enhanced detection result for occluded targets includes multiple target detection results. The perception module 304 includes: The mapping submodule is used to construct the corresponding coupling mapping relationship using the detection results of each target; The correction submodule is used to perform confidence correction on the detection results of each target based on the coupling mapping relationship and according to the preset confidence correction function, so as to obtain multiple risk constraint confidences. The identification submodule is used to generate the corresponding risk label based on the risk constraint confidence level when the risk constraint confidence level and the corresponding target detection result meet the preset risk triggering conditions. The corresponding risk behavior identification results are generated by using the confidence levels of each risk constraint, each risk label, and the detection results of each target.

[0121] Furthermore, the target detection results include target category, target location, original detection confidence, occlusion status, and semantic integrity score.

[0122] Please see Figure 4 , Figure 4 This is a structural block diagram of an electronic device provided in Embodiment 4 of the present invention.

[0123] An electronic device according to an embodiment of the present invention includes: a memory 401 and a processor 402. The memory 401 stores a computer program. When the computer program is executed by the processor 402, the processor 402 performs the power operation risk behavior identification method as described in any of the above embodiments.

[0124] Memory 401 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, hard disk, or ROM. Memory 401 has storage space 403 for program code 413 for performing any of the method steps described above. For example, storage space 403 for program code may include individual program codes 413 for implementing the various steps in the methods described above. This program code can be read from or written to one or more computer program products. These computer program products include program code carriers such as hard disks, CDs, memory cards, or floppy disks. The program code may be compressed, for example, in a suitable form. When run by a computing processing device, this code causes the computing processing device to perform the various steps in the methods described above. This program code can be read from or written to one or more computer program products. These computer program products include program code carriers such as hard disks, CDs, memory cards, or floppy disks. The program code may be compressed, for example, in a suitable form. When these codes are run by a computing processing device, the device causes it to perform the various steps in the power operation risk behavior identification method described above.

[0125] Embodiment 5 of the present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the power operation risk behavior identification method as described in any of the above embodiments.

[0126] Embodiment 6 of the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium. The computer program includes program instructions, wherein when the program instructions are executed by a computer, the computer performs the power operation risk behavior identification method as described in any of the above embodiments.

[0127] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0128] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, or indirect coupling or communication connection between apparatuses or units, and may be electrical, mechanical, or other forms.

[0129] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0130] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0131] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0132] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for identifying risky behaviors in power operations, characterized in that, include: Acquire power operation video frames, perform multi-scale semantic feature extraction on the power operation video frames, and obtain the corresponding multi-scale target feature parameter domain; The semantic repair operation is performed on the multi-scale target feature parameter domain by a preset feature reconstruction model to obtain the corresponding cross-scale reconstructed features. The cross-scale reconstructed features are subjected to occlusion target enhancement detection using a preset task occlusion target enhancement detection model to obtain the corresponding occlusion target enhancement detection results; Risk perception is performed based on the enhanced detection results of the occluded target to obtain the corresponding risk behavior identification results.

2. The method for identifying risky behaviors in power operations according to claim 1, characterized in that, The step of extracting multi-scale semantic features from the power operation video frames to obtain the corresponding multi-scale target feature parameter domain includes: The power operation video frames are preprocessed to obtain corresponding valid image frames; A pre-trained target detection network is used to perform target detection on each of the effective image frames to obtain multiple target detection results. Each of the target detection results is divided into scales to obtain multiple target scale feature parameters; A corresponding multi-scale feature parameter domain is constructed using the feature parameters of each target scale; The multi-scale feature parameter domain is subjected to associated feature extraction to obtain the corresponding multi-scale target feature parameter domain.

3. The method for identifying risky behaviors in power operations according to claim 1, characterized in that, The feature reconstruction model includes a backbone network, a global scene editor, a local interactive encoder, a semantic backflower, a saliency compensation network, and a feature fusion layer. The step of performing semantic repair operations on the multi-scale target feature parameter domain through the preset feature reconstruction model to obtain the corresponding cross-scale reconstructed features includes: The backbone network is used to extract features from the multi-scale target feature parameter domain to obtain small-scale feature response maps, medium-scale feature response maps and large-scale feature response maps. The global scene encoder extracts global semantic features from the large-scale feature response map to obtain the corresponding global semantic feature map. The local semantic feature map is obtained by extracting local semantic features from the mesoscale feature response map using the local interactive encoder. Based on the semantic backflower, semantic backflow operation is performed on the small-scale feature response map according to the global semantic feature map and the local semantic feature map to obtain the corresponding semantic backflow enhancement feature; The semantic backflow enhancement features are compensated by the saliency compensation network to obtain the corresponding fine-grained saliency enhancement features; The semantic backflow enhancement feature and the fine-grained saliency enhancement feature are fused by a feature fusion layer to obtain the corresponding cross-scale reconstruction feature.

4. The method for identifying risky behaviors in power operations according to claim 1, characterized in that, The job occlusion target enhancement detection model includes an occlusion perception network, a context repair network, a correction network, and a detection network. The step of performing occlusion target enhancement detection on the cross-scale reconstructed features using the preset job occlusion target enhancement detection model to obtain the corresponding occlusion target enhancement detection result includes: The occlusion perception network is used to mark the occlusion regions of the cross-scale reconstructed features to obtain the corresponding occlusion perception response map. The context repair network is used to perform feature repair operations on the occlusion perception response map to obtain the corresponding occlusion semantic integrity repair features. The spatial relationship constraint processing of the occlusion semantic integrity repair features is performed through the correction network to obtain the corresponding spatial relationship constraint results. The detection network is used to perform target detection on the spatial relationship constraint results to obtain the corresponding occluded target enhancement detection results.

5. The method for identifying risky behaviors in power operations according to claim 1, characterized in that, The enhanced detection result of the occluded target includes multiple target detection results. The step of performing risk perception based on the enhanced detection result of the occluded target to obtain the corresponding risk behavior identification result includes: The corresponding coupling mapping relationship is constructed using the detection results of each target. Based on the coupling mapping relationship, the confidence of each target detection result is corrected according to the preset confidence correction function to obtain multiple risk constraint confidences; When the risk constraint confidence level and the corresponding target detection result meet the preset risk triggering conditions, a corresponding risk label is generated based on the risk constraint confidence level. The risk behavior identification results are generated by using the confidence scores of each risk constraint, the risk labels, and the target detection results.

6. The method for identifying risky behaviors in power operations according to claim 5, characterized in that, The target detection results include target category, target location, original detection confidence, occlusion status, and semantic integrity score.

7. A power operation risk behavior identification system, characterized in that, include: The acquisition module is used to acquire power operation video frames, extract multi-scale semantic features from the power operation video frames, and obtain the corresponding multi-scale target feature parameter domain. The repair module is used to perform semantic repair operations on the multi-scale target feature parameter domain through a preset feature reconstruction model to obtain the corresponding cross-scale reconstructed features. The detection module is used to perform occlusion target enhancement detection on the cross-scale reconstructed features using a preset task occlusion target enhancement detection model, and obtain the corresponding occlusion target enhancement detection result; The perception module is used to perform risk perception based on the enhanced detection results of the occluded target and obtain the corresponding risk behavior identification results.

8. An electronic device, characterized in that, The device includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the steps of the power operation risk behavior identification method as described in any one of claims 1-6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed, it implements the power operation risk behavior identification method as described in any one of claims 1-6.

10. A computer program product, characterized in that, The computer program product includes a computer program stored on a non-transitory computer-readable storage medium, the computer program including program instructions, wherein when the program instructions are executed by a computer, the computer performs the power operation risk behavior identification method as described in any one of claims 1-6.