Crane operation safety risk assessment method and system based on visual reconstruction

By acquiring the three-dimensional location of the lifting site through visual reconstruction technology and combining it with behavioral semantics, the problems of false alarms and missed alarms in the safety management of lifting operations in existing technologies have been solved, and a more reliable safety risk assessment has been achieved.

CN123142108APending Publication Date: 2026-11-20WUHAN KEDIAO ELECTRICITY TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611205116.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-10
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing methods for safety management of lifting operations are unable to accurately reflect the true three-dimensional positional relationship between personnel, boom, load and live parts, and risk assessment relies on fixed safety areas or single distance thresholds, leading to false alarms, missed alarms or delayed warnings.

Method used

Real-time video and 3D digital base map of the lifting site are obtained through visual reconstruction technology. The 3D position is identified and reconstructed. The credibility of the real-time reconstruction and the credibility of the digital base map are combined for weighted alignment to generate a 3D occupancy envelope. Safety risk assessment is then performed by combining the duration of the behavior and the semantics of the operation.

Benefits of technology

It improves the reliability of safety risk assessment under complex obstruction and target movement conditions, reduces false alarms and missed alarms, and ensures that the early warning results match the actual level of danger.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123142108A_ABST
    Figure CN123142108A_ABST
Patent Text Reader

Abstract

The application discloses a lifting operation safety risk assessment method and system based on visual reconstruction, and the method comprises the following steps: acquiring real-time video and a three-dimensional digital base map of a lifting site, identifying personnel, a lifting boom, a lifting object and a lifting machine structure and reconstructing a three-dimensional position, and determining real-time reconstruction reliability and digital base map reliability; based on corresponding spatial anchor points and their weights, a coordinate system spatial transformation relationship is calculated, a position uncertainty range of each target and a three-dimensional occupancy envelope are generated; according to the three-dimensional occupancy envelope, the safety margin of the operation stage, the spatial relationship between the personnel and the dangerous area and the envelope boundary distance between the lifting boom or the lifting object and the live body, the safety risk assessment result is generated in combination with the behavior duration, the operation stage and the operation semantic information, and the spatial transformation relationship and the position uncertainty range are corrected according to the spatial anchor point alignment residual and the lifting machine geometric size consistency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of image recognition and processing technology, specifically to a method and system for assessing the safety risks of lifting operations based on visual reconstruction. Background Technology

[0002] Crane operations are widely used in power construction, equipment installation, and the hoisting of large components. During operations, the spatial positions of personnel, booms, loads, and surrounding live conductors are constantly changing. On-site factors often include obstructions, changes in lighting, load swaying, and mechanical structure movement, resulting in significant dynamic and uncertain safety risks. Currently, crane operation safety management mainly relies on on-site monitoring, video surveillance, electronic fences, and distance sensors for auxiliary judgment. Existing video monitoring methods are mostly based on two-dimensional image recognition to identify behaviors such as personnel crossing boundaries or not wearing protective equipment, making it difficult to accurately reflect the true three-dimensional positional relationships between personnel, booms, loads, and live conductors. Management methods based on three-dimensional models or digital scenes typically depend on pre-surveyed results; however, the real-time video coordinates and on-site three-dimensional coordinates are easily affected by camera posture changes, target occlusion, and reconstruction errors, leading to decreased spatial alignment accuracy.

[0003] Furthermore, existing risk assessment methods often rely on fixed safety zones or single distance thresholds, rarely considering factors such as target positioning errors, load swing range, personnel movement trends, operation stages, duration of actions, and operational semantics like hook locking and command gestures. This leads to false alarms, missed alarms, or delayed warnings. Therefore, current technologies still struggle to consistently and reliably generate safety risk assessment results that accurately reflect actual operating conditions in complex lifting environments. Summary of the Invention

[0004] This application provides a method and system for assessing the safety risks of lifting operations based on visual reconstruction, in order to at least solve some of the technical problems existing in the related technologies described above.

[0005] According to a first aspect of the embodiments of this application, a method for assessing the safety risks of lifting operations based on visual reconstruction is provided, including: Acquire real-time video and 3D digital base map of the lifting site, identify personnel, boom, load and lifting machinery structure in the real-time video, reconstruct their 3D position in the real-time coordinate system, and determine the reliability of the real-time reconstruction and the reliability of the digital base map; Select the corresponding spatial anchor points of the real-time reconstruction results and the 3D digital base map, determine the anchor point weights based on the confidence of the real-time reconstruction and the confidence of the digital base map, and obtain the spatial transformation relationship from the real-time coordinate system to the 3D digital base map coordinate system. Based on the 3D position after spatial transformation, real-time reconstruction reliability, and digital base map reliability, the position uncertainty ranges of personnel, crane boom, suspended object, and charged body are generated respectively. Combined with the corresponding entity range and motion state, a 3D occupancy envelope is generated. The danger zone is determined based on the three-dimensional occupancy envelope and the safety margin of the operation stage. The spatial relationship between personnel and the danger zone and the envelope boundary distance between the boom or suspended object and the live conductor are calculated. The safety risk assessment results are generated by combining the duration of the behavior, the operation stage and the semantic information of the operation. The spatial transformation relationship and the range of positional uncertainty are corrected based on the spatial anchor point alignment residual of the continuous frame and the geometric consistency of the lifting machinery.

[0006] As an optional approach, the real-time reconstruction confidence is weighted and fused based on the depth confidence of the identified object region, the target detection confidence, and the constraint residual between the visual three-dimensional position and the kinematic prediction position; the digital base map confidence is determined based on the reprojection error of UAV multi-view photogrammetry, the local density of the point cloud, and the fitting residual of the charged body boundary.

[0007] As an optional approach, the spatial anchor points include boom hinge points, corner points of the lifting machinery chassis outline, intersection points of fixed structure edges, and support points of charged bodies; after eliminating erroneous matches using a random sampling consistency method, the spatial transformation relationship is obtained by weighted iteration based on the anchor point weights.

[0008] As an optional approach, the residual threshold of the spatial anchor point alignment residual is determined based on the median of the alignment residual and the absolute median difference of the residual in the normal operation sample. When the average spatial anchor point alignment residual of consecutive frames exceeds the residual threshold, or when the boom length or hinge point spacing after transformation by the spatial transformation relationship exceeds the sum of the allowable range of the equipment ledger and the measurement error, the spatial anchor point is reselected and the spatial transformation relationship is updated.

[0009] As an alternative approach, the three-dimensional occupancy envelope of the personnel is formed by extending the circumscribed ellipsoid of the three-dimensional skeleton of the human body along the direction of the personnel's tracking speed. The three-dimensional occupancy envelope of the suspended object is superimposed with the swing direction and predicted swing amplitude of the suspended object. The three-dimensional occupancy envelope of the boom is superimposed with the attitude prediction error of the kinematic model of the lifting machinery articulation. The three-dimensional occupancy envelope of the charged body expands outward based on the fitting residual of the charged body boundary.

[0010] As an optional approach, the duration of the behavior and the operation stage are obtained through hierarchical temporal analysis. Short-term analysis targets windows with a length not exceeding a first preset duration, inputting continuous images and human keypoint sequences into a 3D convolutional network and a spatiotemporal graph convolutional network, respectively, to obtain gestures, flag signals, and instantaneous personnel entry behaviors, with the gestures and flag signals constituting the semantic information of the operation. Mid-term analysis targets windows with a length exceeding the first preset duration but not exceeding the second preset duration, determining lifting preparation, lifting objects, boom movement, or suspended loads based on Kalman prediction results, hoisting machinery kinematic parameters, the state of the hoisted object off the ground, and spatial relationships. Long-term analysis inputs the state feature sequence of the most recent third preset duration into a long short-term memory network to obtain the operation stage and the risk probability of the next fourth preset duration.

[0011] As an optional approach, the safety rules for lifting operations are broken down into spatial conditions, temporal conditions, and semantic conditions. The spatial conditions are determined based on the spatial relationship between personnel and the hazardous area or the distance to the envelope boundary. The temporal conditions are determined based on the duration of the behavior and the stage of the operation. The semantic conditions are determined based on gestures, flag signals, hook locking status, or the identification results of insulating protective equipment. When all three conditions are met, a corresponding violation assessment result is generated. When only the spatial condition is met and the temporal condition is not met, a yellow risk candidate result is generated.

[0012] As an optional approach, the identified objects also include the hook body, hook latch, and lifting sling; when a lifting action is detected and the number of pixels on the short side of the hook latch image is lower than a pixel threshold, super-resolution processing and local 3D reconstruction are performed on the hook area. The pixel threshold is determined based on the number of pixels corresponding to when the local gap measurement error stops decreasing; first, the latch deformation is determined based on the fitting residual of the hook latch relative to the standard shape. If the latch deformation is not determined, then the complete unlocking, partial locking, or complete locking is determined based on the minimum gap from the end of the hook latch to the hook body receiving area and the projection overlap ratio of the two; the hanging state is determined based on whether the lifting sling point cloud is located outside the hook latch, and the locking state, hanging state, and operation stage are input into the semantic conditions.

[0013] As an optional approach, the physical extent of the charged body is provided by the three-dimensional digital base map. A basic safety distance is determined based on the voltage level of the charged body, and a yellow warning distance is determined based on the statistical quantile of the normal approach speed, the time required for the crane to stop from the alarm, and the basic safety distance. When the envelope boundary distance is greater than or equal to the yellow warning distance, the normal assessment result is maintained. When the envelope boundary distance is greater than or equal to the basic safety distance but less than the yellow warning distance, a yellow risk warning result is generated. When the envelope boundary distance is less than the basic safety distance and the consecutive frames show a shrinking trend, a red emergency alarm result is generated.

[0014] According to a second aspect of the embodiments of this application, a vision reconstruction-based safety risk assessment system for lifting operations is also provided, comprising: The 3D reconstruction and credibility determination module is used to acquire real-time video and 3D digital base map of the lifting site, identify personnel, boom, load and lifting machinery structure in the real-time video, reconstruct their 3D position in the real-time coordinate system, and determine the credibility of the real-time reconstruction and the credibility of the digital base map. The spatial alignment module is used to select the corresponding spatial anchor points of the real-time reconstruction results and the 3D digital base map, determine the anchor point weights based on the confidence levels of the real-time reconstruction and the digital base map, and obtain the spatial transformation relationship from the real-time coordinate system to the 3D digital base map coordinate system. The 3D occupancy envelope generation module is used to generate the positional uncertainty range of personnel, crane boom, suspended object and charged body respectively based on the 3D position after spatial transformation relationship, real-time reconstruction credibility and digital base map credibility, and generate the 3D occupancy envelope by combining the corresponding entity range and motion state. The safety risk assessment module is used to determine the hazardous area based on the three-dimensional occupancy envelope and the safety margin of the operation stage, calculate the spatial relationship between personnel and the hazardous area and the envelope boundary distance between the boom or suspended object and the live conductor, and generate the safety risk assessment result by combining the duration of the behavior, the operation stage and the operation semantic information. The correction module is used to correct spatial transformation relationships and positional uncertainty ranges based on the spatial anchor point alignment residuals of consecutive frames and the geometrical consistency of the lifting machinery.

[0015] This application achieves credibility-weighted alignment between the 3D reconstruction results of real-time video from the lifting site and a pre-established 3D digital base map. This allows personnel, booms, loads, lifting machinery structures, and live parts to be uniformly represented in the same spatial coordinate system. The application also establishes a dynamically changing range of positional uncertainty based on real-time reconstruction errors, digital base map errors, and spatial transformation errors, adapting to measurement quality. Furthermore, it incorporates target entity dimensions, personnel movement direction, load swing state, and boom attitude prediction errors into a 3D occupancy envelope. This eliminates reliance on ideal locations or fixed 2D areas for risk assessment, allowing it to reflect the potential space occupied by the target during actual operations. The application further integrates envelope boundary distance, behavior duration, operation stage, and operational semantics such as gestures, flag signals, and hook locking status for comprehensive judgment. It utilizes continuous frame spatial anchor point residuals and the consistency of lifting machinery geometry to correct coordinate transformations and uncertainty ranges. This improves the reliability of risk assessment under complex obstruction, target movement, and measurement fluctuation conditions, reducing false alarms and missed alarms caused by instantaneous passage, reconstruction deviations, or scene changes, ensuring that the warning results match the actual degree of danger in lifting operations.

[0016] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Furthermore, no embodiment in this disclosure is required to achieve all the effects described above. Attached Figure Description

[0017] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0018] Figure 1 A flowchart of a method for assessing the safety risks of lifting operations based on visual reconstruction, provided in an embodiment of this disclosure.

[0019] Figure 2 This is a schematic diagram of the safety risk assessment and parameter correction process provided in the embodiments of this disclosure.

[0020] Figure 3 This is a schematic block diagram of a lifting operation safety risk assessment system based on vision reconstruction, provided as an embodiment of the present disclosure.

[0021] Figure 4 This is a schematic block diagram of an electronic device provided in an embodiment of the present disclosure. Detailed Implementation

[0022] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0023] This implementation method is applicable to hoisting operations such as tower erection and large equipment placement. Before the operation, a drone collects multi-view images of the site, and a 3D digital base map including fixed structures and charged objects is generated in the cloud. During the operation, fixed cameras collect real-time video, and edge devices perform target recognition, real-time 3D reconstruction, and risk assessment. The cameras use a unified time reference, and the equipment log records the boom length, hinge point position, and allowable attitude range. For example, the camera outputs 1920×1080 video at 25 frames per second, and the edge device has 8 TOPS of inference computing power.

[0024] The implementation process of the method described in this application will be described in detail below with reference to specific embodiments. It should be noted that this embodiment is only used to explain this application and is not intended to limit the scope of protection of this application. Conventional adjustments or substitutions of each step by those skilled in the art without departing from the concept of this application should be included in the scope of protection of this application.

[0025] Please see Figure 1 , Figure 1 This is a flowchart of a vision reconstruction-based safety risk assessment method for lifting operations according to an embodiment of the present invention, such as... Figure 1 As shown, the method includes steps S1-S4: In step S1, real-time video and three-dimensional digital base map of the lifting site are acquired, personnel, boom, load and lifting machinery structure in the real-time video are identified, their three-dimensional positions in the real-time coordinate system are reconstructed, and the credibility of the real-time reconstruction and the credibility of the digital base map are determined.

[0026] According to embodiments of this disclosure, the edge device receives real-time video of the lifting site according to image timestamps. Multiple cameras with a time difference of no more than one frame period are grouped into the same processing time; those with a time difference exceeding one frame period are discarded. Camera intrinsic parameters are obtained through a calibration board, while extrinsic parameters are obtained from on-site control points and the edges of fixed structures in the 3D digital base map. Each frame image is scaled proportionally and padded to form a three-channel image tensor, which is then fed into the target recognition network.

[0027] The target recognition network employs a rotating target detection network with a rotating bounding box detection head and a human keypoint branch. The total input to the model is an image tensor of batch size × 3 × 640 × 640, and the total output is a set of target records. Each record includes the target category, rotating bounding box parameters, target detection confidence, and the coordinates and visibility of 17 human keypoints corresponding to the personnel target. Target categories include personnel, crane boom, suspended load, crane chassis, hook body, hook latch, lifting straps, and insulating protective equipment. The target record set is then used for real-time 3D reconstruction, target tracking, behavior recognition, and operation semantic information generation.

[0028] The network backbone employs a 3×3 convolution with a stride of 2 in its first layer, outputting 64 channels. This is followed by four concatenated feature extraction stages, each with 3, 6, 6, and 3 cross-stage partially connected dual convolutional units, resulting in 64, 128, 256, and 512 output channels respectively. At the end of the backbone, a spatial pyramid pooling fast module and a path aggregation structure are connected, outputting feature maps at three scales with strides of 8, 16, and 32. These feature maps are then connected in parallel to a classification branch, a rotated bounding box regression branch, an angle regression branch, and a human keypoint branch. After the convolutional layers, a batch normalization layer and a sigmoid linear unit activation layer are connected. The rotated bounding box detection results are deduplicated using rotation intersection-over-union (ROI) non-maximum suppression.

[0029] The model training data consists of video frames from different lifting sites, with annotations consistent with the model's overall output. The dataset is divided into training, validation, and test sets based on the work site. For example, the training dataset contains no fewer than 50,000 images from no fewer than 10 different construction sites, covering work scenarios under sunny, cloudy, foggy, and nighttime lighting conditions. Positive samples (including labeled targets) account for no less than 70%, and negative samples (no target background) account for no more than 30%. The distribution of labeled targets for each category is as follows: no fewer than 30,000 instances for personnel, no fewer than 15,000 instances for booms, no fewer than 12,000 instances for suspended objects, no fewer than 10,000 instances for lifting machinery chassis, no fewer than 8,000 instances for hook assemblies (including hook body and locking tongue), no fewer than 6,000 instances for lifting slings, and no fewer than 5,000 instances for insulating protective equipment. Within each target category, small targets (short side pixels < 32) account for no less than 15%. Labeling was completed independently by at least two labelers, and then arbitrated by a third senior labeler. Only labels with a consistency rate of 95% or higher were included in the official dataset. The training, validation, and test sets were divided in a 6:2:2 ratio, and video frames from the same work site did not cross sets.

[0030] The loss function is: in, For the total loss, For category-binary cross-entropy loss, =1 minus the rotational intersection-union ratio, For boundary distance distribution loss, It is the sum of the coordinate error of the human body key points and the cross-entropy of visibility; , , and The loss weights are between 0 and 1, and sum to 1. The weights are determined by a grid search on the validation set, using the minimum evaluation value comprised of the average accuracy of the rotated bounding box, the human keypoint error, and the false negative rate; for example, values ​​of 0.25, 0.35, 0.20, and 0.20. Training employs an adaptive moment estimation weight decay optimizer with an initial learning rate of, for example, 0.001, and is trained for 150 epochs using cosine annealing with a batch size of 16.

[0031] For example, after inputting a 640×640 image, the network outputs rotating bounding boxes for people, cranes, and suspended objects, with target detection confidence scores of 0.94, 0.91, and 0.88, respectively, and outputs 17 sets of human key point coordinates. After removing duplicate bounding boxes, the rotating bounding boxes and target detection confidence scores are used for real-time 3D reconstruction, and the human key points are used for short-term behavior analysis.

[0032] In one embodiment, real-time 3D reconstruction is accomplished using a monocular depth estimation network combined with a lifting machinery articulated kinematic model. The total input to the monocular depth estimation network is a real-time video image tensor of batch size × 3 × 384 × 640, and the total output is a metric depth map of batch size × 1 × 384 × 640 and a depth confidence map of the same dimension. The metric depth map records the spatial depth from each pixel to the camera's imaging center, in meters; the depth confidence map records the confidence level of the depth result for each pixel, with a value ranging from 0 to 1.

[0033] The monocular depth estimation network's encoder employs an 18-layer residual network. The first layer is a 7×7 convolution with a stride of 2, outputting 64 channels. This is followed by a max-pooling layer and four stages containing two residual blocks, with output channels of 64, 128, 256, and 512 respectively. The decoder has four upsampling stages, with output channels of 256, 128, 64, and 32 respectively, and skip connections are established with features at the same scale as the encoder. The final stages consist of a parallel depth output head and a depth confidence output head, using a smoothing positive value function and a sigmoid function, respectively.

[0034] The training samples consist of the UAV 3D point cloud projection depth, the on-site binocular measurement depth, and the corresponding real-time video images. Training and inference use the same input and output. For example, the total number of samples is no less than 80,000 sets, covering a depth range of 5 to 50 meters from the camera. In each set of samples, the effective pixel percentage of the true depth value is no less than 80%, and the consistency deviation between the binocular measurement depth and the UAV point cloud projection depth is within 2% before being included in the training set. The training set, validation set, and test set are divided in a 7:1.5:1.5 ratio, and stratified sampling is performed according to the operational site to ensure that the data from each site is representative in each subset.

[0035] The loss of deep networks is: in, For the total loss, For scale-invariant logarithmic loss, To normalize the depth gradient difference, The negative log-likelihood loss is expressed as a depth confidence score representing the observation variance. , and The loss weights are set to 0 to 1 and sum to 1, with the minimum root mean square error of 3D localization on the validation set as the criterion. For example, values ​​of 0.6, 0.2, and 0.2 are used. The model employs an adaptive moment estimation weight decay optimizer with an initial learning rate of, for example, 0.0001. It is trained for 120 epochs using cosine annealing with a batch size of 8 and early stopping.

[0036] In one embodiment, the edge device backprojects pixels within the target rotation frame that reach a depth confidence threshold onto the real-time coordinate system based on camera intrinsic parameters. The depth confidence threshold is calibrated using a validation set and is selected as a candidate value with the smallest root mean square error of the 3D position, for example, 0.5. The 3D position of the personnel is taken as the median depth value of the neighborhood of the torso keypoints; the 3D position of the boom, the load, and the lifting machinery structure is determined based on the geometric center, endpoints, or contour points of the point cloud. The kinematic model of the lifting machinery hinge provides the kinematic prediction position of the boom endpoint based on the boom length, hinge point position, rotation angle, and pitch angle in the equipment register. The Euclidean distance between the boom endpoint obtained from visual reconstruction and the kinematic prediction position is denoted as the constraint residual, in meters.

[0037] For example, the inputs to the kinematic model of the lifting machinery articulation include the following pre-recorded data from the equipment ledger: the length of each boom section (in meters, accurate to 0.01 meters), the coordinates of the articulation point position (in meters in the equipment base coordinate system), the base rotation angle (in degrees, read in real time by a rotation encoder), the boom pitch angle (in degrees, read in real time by a tilt sensor), and the current boom extension length (in meters, read in real time by a length sensor; if the sensor fails, the previous stable value is used). Specifically, an equipment base coordinate system is established with the base rotation center as the origin. Rotational transformations around the vertical axis, pitch transformations around the horizontal axis, and extension / retraction transformations along the boom axis are applied sequentially. Coordinates are transferred according to the joint chain sequence to obtain the three-dimensional coordinates of the boom endpoints in the base coordinate system. The model output includes the three-dimensional coordinates of the boom endpoint in the base coordinate system (in meters), and the endpoint position covariance matrix (3×3, in square meters) obtained by propagating through first-order Taylor expansion based on the calibration errors of each sensor (rotation angle ±0.5°, pitch angle ±0.3°, extension length ±0.02 meters).

[0038] In a real-time 3D reconstruction example, a monocular depth estimation network outputs a depth map and a depth confidence map for one frame of real-time video. The neighborhood of a keypoint on a person's torso contains 48 pixels, of which 41 pixels have a depth confidence of at least 0.5, and the median depth value is 12.4 meters. The horizontal pixel offset of this keypoint relative to the principal point is 196 pixels. The camera's horizontal focal length is 980 pixels. After backprojection, the horizontal coordinates of the person's 3D position are 2.48 meters, and the depth coordinates are 12.4 meters. The distance between the visual endpoint of the boom and the kinematically predicted position is 0.06 meters. This constraint residual is included in the real-time reconstruction confidence calculation along with the depth confidence and target detection confidence.

[0039] The confidence level of real-time reconstruction is determined based on the mean confidence level of the target region depth, the confidence level of target detection, and the constraint residuals. in, To reconstruct credibility in real time, The mean of the deep confidence level. Target detection confidence; To constrain residuals, the unit is meters. To constrain the robust standard deviation of the residuals, in meters, it is calculated from the absolute median of the constrained residuals of the normal operating sample using the following formula: ,in , which is the median of the absolute deviations of the constraint residuals of each sample from their median. This conversion relationship is based on the constant proportional relationship between MAD and standard deviation under the assumption of normal distribution.

[0040] in, , and The weights are assigned to 0 to 1 and sum to 1. The three weights are calibrated using a verification sequence with true 3D location values. Candidate weight combinations are tested sequentially, and the group with the highest negative correlation between real-time reconstruction reliability and 3D positioning error is selected, for example, 0.4, 0.3, and 0.3. The robust standard deviation is obtained by converting the absolute median difference of the constraint residuals from normal operating sample samples. For example, It is 0.82. It is 0.91. It is 0.06 meters. When the distance is 0.10 meters, the real-time reconstruction confidence level is approximately 0.85. The real-time reconstruction confidence levels for personnel, boom, load, and lifting machinery structure are respectively established, and these results are used for subsequent spatial anchor point weights and position uncertainty ranges.

[0041] In one embodiment, the 3D digital base map is generated by UAV multi-view photogrammetry. Scale-invariant feature transformation is used in the cloud to extract corresponding feature points, and a random sampling consistency method is used to eliminate incorrect matches. The camera pose and sparse point cloud are corrected by bundle adjustment, and then a dense point cloud is generated through multi-view stereo matching. On-site control points unify the point cloud scale to meters, and the boundary points of charged bodies record the 3D coordinates and boundary fitting residuals.

[0042] The digital base map confidence level represents the degree of reliability of the measurement of the 3D digital base map at the corresponding location. In the cloud, the reprojection error, point cloud local density, and charged body boundary fitting residual are normalized using the median and interquartile range of normal samples. These two errors are converted into inverse confidence values, and the point cloud local density is converted into a positive confidence value. Then, they are weighted and summed according to the minimum calibration weight of the 3D boundary error in the validation set. For example, when the reprojection error is 0.7 pixels, the local density is 420 points per square meter, and the boundary fitting residual is 0.035 meters, the digital base map confidence level is 0.90.

[0043] In step S2, the corresponding spatial anchor points of the real-time reconstruction result and the three-dimensional digital base map are selected, the anchor point weights are determined according to the two confidence levels, and the spatial transformation relationship from the real-time coordinate system to the three-dimensional digital base map coordinate system is obtained.

[0044] According to embodiments of this disclosure, spatial anchor points refer to stable points or contour features that can be located in both the real-time reconstruction results and the 3D digital base map, and whose physical locations correspond to each other. The system selects boom hinge points, crane chassis contour corner points, fixed structure edge intersection points, and charged body support points as spatial anchor points from the real-time reconstruction results and the 3D digital base map; each spatial anchor point includes real-time coordinates, digital base map coordinates, and a spatial anchor point weight. The weights of the boom hinge points and chassis contour corner points are the product of the real-time reconstruction confidence level and the digital base map confidence level, while the weights of the fixed structure edge intersection points and charged body support points are the product of the target detection confidence level and the digital base map confidence level.

[0045] Specifically, the system first uses a random sampling consistency method to eliminate erroneous matches from the spatial anchor point correspondences, and then uses the remaining spatial anchor points to determine the spatial transformation relationship from the real-time coordinate system to the 3D digital base map coordinate system. The real-time coordinate system is defined as a right-handed Cartesian coordinate system with the optical center of the fixed camera as the origin, the horizontal rightward direction of the camera's imaging plane as the positive X-axis, the vertical downward direction of the camera's imaging plane as the positive Y-axis, and the direction of the camera's optical axis (from the camera towards the scene) as the positive Z-axis, with units in meters. This coordinate system remains fixed regardless of the camera's position and orientation. Each of the multiple cameras has an independent real-time coordinate system, and the transformation relationship between these systems is pre-calibrated using the common visual positioning results of the field control points.

[0046] The 3D digital base map uses an on-site engineering construction coordinate system (or "site coordinate system"). This coordinate system uses a fixed reference point designated on-site as the origin, with due north as the positive X-axis, due east as the positive Y-axis, and the vertically upward direction as the positive Z-axis, with units in meters. If no on-site construction coordinate system is established, a temporary engineering coordinate system is established with the projection of the first UAV take-off and landing point on the ground as the origin and the magnetic north direction of the UAV's initial flight path as the positive X-axis. All point cloud coordinates, charged body boundary coordinates, and fixed structure outline coordinates in the 3D digital base map are expressed in this coordinate system.

[0047] In this embodiment, the spatial transformation relationship includes a rotation matrix and a translation vector, and its optimization objective is: in, This represents the obtained rotation matrix. This represents the calculated translation vector, in meters. Indicates the first Real-time coordinates of each spatial anchor point This represents the corresponding digital base map coordinates, both in meters; Indicates the weight of the spatial anchor point; This represents the standard deviation of the spatial anchor point, expressed in meters. denoted as Hubel loss function, whose input is obtained by dividing the coordinate residual by the positioning standard deviation. When some spatial anchor points are occluded, the system retains the intersection points of the edges of the unoccluded fixed structures and uses the boom endpoints predicted by the lifting machinery articulation kinematic model as temporary spatial anchor points; the weight of the temporary spatial anchor points is taken as 0.3 to 0.6 of the weight of the normal spatial anchor points, based on minimizing the spatial alignment error in the occlusion verification sequence.

[0048] For example, among the six spatial anchor points, one had a matching residual of 0.42 meters, while the others ranged from 0.03 meters to 0.08 meters. The random sampling consistency method eliminated this match. The remaining five spatial anchor points were weighted and iterated to obtain rotation and translation parameters, and the distance from the boom end point to the kinematic prediction position decreased from 0.16 meters to 0.05 meters.

[0049] According to embodiments of this disclosure, the spatial anchor point alignment residual refers to the distance between the real-time coordinates of each spatial anchor point after spatial transformation and the coordinates of the corresponding digital base map. The system determines the residual threshold using the median and absolute median difference of the spatial anchor point alignment residuals for normal operating samples. in, This represents the residual threshold, in meters. The median of the spatial anchor point alignment residuals for normal operation samples is expressed in meters. This represents the absolute median difference of the spatial anchor alignment residual, in meters. The number of consecutive frames is the longest consecutive frame number in a normal stable sequence that occasionally exceeds the residual threshold, plus 1, for example, 5 frames.

[0050] For example, It is 0.032 meters. When the distance is 0.008 meters, the residual threshold is 0.068 meters. If the average spatial anchor point alignment residuals for five consecutive frames are 0.071 meters, 0.074 meters, 0.079 meters, 0.082 meters, and 0.084 meters, respectively, the system reselects spatial anchor points and updates the spatial transformation relationship. The same update process is also performed if the boom length or hinge point spacing after the spatial transformation relationship exceeds the sum of the allowable range in the equipment ledger and the measurement error.

[0051] In step S3, based on the three-dimensional position after spatial transformation, the real-time reconstruction confidence level, and the digital base map confidence level, the position uncertainty ranges of personnel, crane boom, suspended object, and charged body are generated respectively, and a three-dimensional occupancy envelope is generated by combining the corresponding entity range and motion state.

[0052] According to embodiments of this disclosure, the position uncertainty range represents the spatial range within which the target's three-dimensional position may be distributed under current measurement conditions. The system calculates the three-dimensional position covariance corresponding to personnel, the boom, the suspended object, and the charged body based on pixel positioning error, depth error, and transformation error of the spatial transformation relationship. in, Indicates the first The three-dimensional position covariance of each target, in square meters; The measurement covariance formed by pixel coordinate error and depth error is represented by pixel square and square meter, respectively. The Jacobian matrix represents the back projection relationship with respect to pixel coordinates and depth, converting the corresponding error into spatial coordinate error; The transformation error covariance represents the spatial transformation relationship, expressed in square meters. When the reliability of real-time reconstruction decreases, the depth error variance is amplified by its reciprocal; when the reliability of the digital base map decreases, the transformation error variance of the spatial transformation relationship is amplified by its reciprocal, and the resulting 3D position covariance generates the range of position uncertainty.

[0053] In this embodiment, the three-dimensional occupancy envelope refers to the three-dimensional region covering the target entity's range and the range of positional uncertainty. The three-dimensional occupancy envelope of the person establishes a three-dimensional skeleton of the human body based on key points and the person's three-dimensional position, uses an circumscribed ellipsoid as the entity range, and expands along the direction of the person's tracking velocity. The person's expansion radius is calculated using the following formula: in, Indicates the radius of personnel expansion, in meters; This represents the three-dimensional positional covariance of personnel, in square meters. Represents the largest eigenvalue; This indicates the speed at which personnel are tracked, measured in meters per second. The forecast time is in seconds. This indicates the allowable margin for human body dimensions, expressed in meters. This represents the confidence coefficient. The confidence coefficient is obtained from the quantiles of the normal distribution based on the expected coverage probability, for example, 2.58. The human body shape margin is determined by the 95th quantile of the maximum distance from the human body keypoints to the human body contour in the training data. For example, if the square root of the largest eigenvalue of the covariance of the human body's 3D position is 0.06 meters, the human body tracking speed is 0.40 meters per second, the prediction time is 0.20 seconds, the human body shape margin is 0.25 meters, and the confidence coefficient is 2.58, then the human body expansion radius is 0.485 meters.

[0054] The 3D occupancy envelope of the suspended object is defined by the bounding box of the object's point cloud, and an expansion amount corresponding to the predicted swing amplitude is added along the swing direction of the object. The swing direction is determined based on the lateral displacement of the object's center of gravity relative to the lifting point in consecutive frames, and the predicted swing amplitude is calculated based on the current swing angle, angular velocity, and distance from the lifting point to the object's center of gravity. For example, when the distance from the lifting point to the object's center of gravity is 2.0 meters and the predicted swing angle is 6 degrees, the expansion amount is 0.209 meters. The 3D occupancy envelope of the boom is formed by sweeping the boom's centerline to create a tubular region. The radius of the tubular region includes the boom's solid radius and the attitude prediction error of the lifting machinery's articulated kinematic model. The 3D occupancy envelope of the charged body is based on the charged body boundary in the 3D digital base map, expanding outward along the boundary normal. The expansion amount is the larger of the 95th percentile of the charged body boundary fitting residual and the standard deviation of the digital base map position.

[0055] Optionally, when the real-time reconstruction reliability decreases or the spatial anchor point alignment residual increases, the range of position uncertainty increases with the error variance, and the 3D occupancy envelope expands accordingly; when the real-time reconstruction reliability of consecutive frames recovers and the spatial anchor point alignment residual remains within the residual threshold, the system uses the most recent consecutive stable frames to recalculate the range of position uncertainty, and the 3D occupancy envelope shrinks with the new calculation result.

[0056] In step S4, a safety risk assessment result is generated based on the three-dimensional occupancy envelope, behavior duration, operation stage, and operation semantic information, and the spatial transformation relationship and location uncertainty range are corrected.

[0057] Specifically, please refer to Figure 2 , Figure 2 This is a schematic diagram of the security risk assessment and parameter correction process provided in the embodiments of this disclosure, such as... Figure 2 As shown, in step S201, the system merges the three-dimensional occupancy envelope of the boom, the three-dimensional occupancy envelope of the suspended object, and the safety margin of the operation stage into a dangerous area, and calculates the spatial relationship between personnel and the dangerous area and the envelope boundary distance between the boom or suspended object and the live conductor.

[0058] The safety margin during the operation phase is taken as the 95th percentile of the prediction error of the swing of the suspended object and the attitude of the boom in the calibration sample of the corresponding operation phase. The spatial relationship between personnel and the hazardous area is determined based on whether the three-dimensional occupancy envelope of the personnel intersects with the hazardous area; the distance of the envelope boundary is taken as the minimum Euclidean distance from the outer boundary of the three-dimensional occupancy envelope of the boom or suspended object to the outer boundary of the three-dimensional occupancy envelope of the charged object.

[0059] In step S202, a safety risk assessment result is generated by combining the duration of the behavior, the stage of the operation, and the semantic information of the operation. The duration of the behavior and the stage of the operation are obtained through hierarchical temporal analysis. Specifically, short-time analysis receives continuous images and human keypoint sequences of the same person target number within a window of no more than 5 seconds, and outputs gestures, flag signals, and instantaneous entry behaviors of personnel. The continuous images come from the real-time video in S1, and the human keypoint sequences come from the target recognition network in S1. The two types of data are aligned according to the same timestamp and person target number. Short-time analysis uses a 3D convolutional network and a spatiotemporal graph convolutional network for parallel processing. The total input of the 3D convolutional network is a continuous image tensor of batch size × 3 × 16 × 224 × 224, and the total input of the spatiotemporal graph convolutional network is a human keypoint tensor of batch size × 3 × 16 × 17. The former outputs 512-dimensional spatiotemporal features of the images, and the latter outputs 256-dimensional human action features. After concatenating the two into 768-dimensional features, the output is processed through a 256-dimensional fully connected layer and a classification layer to output the category probabilities of gestures, flag signals, and instantaneous entry behaviors of personnel.

[0060] According to embodiments of this disclosure, the three-dimensional convolutional network adopts an 18-layer three-dimensional residual structure. The first layer uses a 3×7×7 convolutional kernel with a spatial stride of 2, followed by four stages, each containing two residual blocks. The number of output channels is 64, 128, 256, and 512, respectively. The spatiotemporal graph convolutional network sets up nine graph convolutional blocks, with the number of output channels being 64, 64, 64, 128, 128, 128, 256, 256, and 256, respectively. The temporal convolutional kernel length is 9, and the joint adjacency matrix is ​​established according to the skeletal connection relationship of 17 human key points. Each graph convolutional block first aggregates adjacent joint features and then convolves along the 16-frame temporal dimension.

[0061] The training loss of the short-time analysis model is: in, For the total loss, For category cross-entropy loss, For the first The class probability vector of each window, For the number of windows, The classification loss weight is determined by minimizing the sum of the false positive rate and the false negative rate on the validation set, for example, by taking 0.8.

[0062] Optionally, the training samples include 16 video clips and 17 human keypoint sequences; covering four categories: command gestures, flag signals, instantaneous personnel entry behavior, and no specific behavior. The number of samples in each category is balanced. The annotation adopts a multi-person online annotation platform, with each video being independently annotated by at least 3 annotators. Only videos with 100% consensus through voting are included in the official dataset.

[0063] During training, an adaptive moment estimation optimizer is used with an initial learning rate of, for example, 0.001, 90 training epochs, a batch size of 16, and early stopping. For example, the model outputs a command gesture probability of 0.76, a flag signal probability of 0.08, and a personnel instantaneous entry behavior probability of 0.12. The system selects the command gesture as the semantic information of the operation.

[0064] In one embodiment, the mid-time analysis process handles a time window exceeding 5 seconds but not exceeding 30 seconds. Specifically, the Kalman filter reads the boom slewing angle, boom pitch angle, hook height, load height, load speed, and three-dimensional occupancy envelope to predict the boom attitude and load position at the next moment. Then, it sequentially determines the lifted object, boom movement, load suspension, and lifting preparation. The load-off threshold is the sum of the 95th percentile of the unloaded ground point cloud height error and the measurement error of the load's bottom dimensions; the boom motion threshold is the median of the stationary sample angular velocity plus three times the robust standard deviation.

[0065] Specifically, if the height of the suspended object exceeds the ground clearance threshold and the vertical velocity of the suspended object is not zero, it is determined to be a lifting object; if the above conditions are not met but the boom angular velocity exceeds the boom movement threshold, it is determined to be boom movement; if the first two conditions are not met but the suspended object is already off the ground and the boom angular velocity does not exceed the boom movement threshold, it is determined to be a suspended object; all other situations are determined to be lifting preparation. For example, if the bottom of the suspended object is 0.18 meters above the ground, the ground clearance threshold is 0.12 meters, and the vertical velocity of the suspended object is 0.06 meters per second, then the operation stage is determined to be lifting an object.

[0066] In one embodiment, long-term analysis reads the state features of the most recent 60 seconds and resamples them at 2 Hz to form an input tensor of batch size × 120 × 18. The 18-dimensional state features include boom attitude and angular velocity, hook height and vertical velocity, load height and motion parameters, distances to the three-class envelope boundaries, personnel occupancy ratio, the highest class probability of short-term analysis, and the coding of the medium-term operation stage; the personnel occupancy ratio is the percentage of frames in which the three-dimensional occupancy envelope of personnel intersects with the danger zone.

[0067] Specifically, long-term analysis employs a two-layer Long Short-Term Memory (LSTM) network in series. The first layer has a hidden dimension of 128, and the second layer has a hidden dimension of 64, with a dropout layer between layers. The 64-dimensional hidden state at the end of the second layer is connected to the normalized exponential output heads for the four job stages and the S-shaped output head for the risk probability in the next 10 seconds. The model's total output includes the probabilities of the four job stages and one risk probability for the next 10 seconds, both of which are fed into the safety risk assessment. The training loss is: in, For the total loss, For the cross-entropy loss during the job phase, The loss due to the binary cross-entropy of violations in the next 10 seconds. The loss weights for each phase of the operation are dimensionless. These weights are calibrated based on the macro-average harmonic index of the validation set and the risk lead time, for example, 0.6; the dropout rate is determined based on the minimum loss of the validation set, for example, 0.2.

[0068] Optionally, the training samples include 120×18 state features and corresponding labels. For example, the training data comes from no less than 2000 consecutive 120-frame (60-second) state feature sequences, from which 120×18-dimensional tensors are extracted as training samples. The corresponding work stage labels (four categories: lifting preparation, lifting object, boom movement, and suspended load) are obtained based on dual confirmation from on-site supervision records and video playback, with no less than 400 samples per category. Violation labels for the next 10 seconds are based on actual violations confirmed by the on-site safety officer, with a positive-to-negative sample ratio of approximately 1:3. During training, an inter-layer drop-off layer with a drop-off rate of 0.2 and L2 weight decay (coefficient 5×10) are used. -5 As a measure to prevent overfitting, the training samples are divided into a training set (70%), a validation set (15%), and a test set (15%) in chronological order to ensure that data from the same continuous operation process does not cross sets.

[0069] An adaptive moment estimation optimizer is used, with an initial learning rate of, for example, 0.0005, and is trained for 80 rounds using cosine annealing with a batch size of 32. For example, the model outputs four operation stage probabilities of 0.08, 0.16, 0.71, and 0.05, as well as a risk probability of 0.83 for the next 10 seconds. The system selects boom movement as the operation stage.

[0070] In one embodiment, personnel behavior is determined as continuous entry, loitering, or momentary passage based on the intersection duration of the three-dimensional occupancy envelope with the danger zone and the personnel tracking speed, respectively. The continuous threshold is the larger of the 95th percentile of the continuous intersection duration in normal passage samples and the lower limit of the on-site alarm response, for example, 2 seconds; when the continuous intersection duration reaches the continuous threshold, it is determined as continuous entry. If the continuous threshold is not reached, the system further calculates the cumulative intersection duration and personnel tracking speed within a 30-second time window. The cumulative intersection duration threshold and the personnel tracking speed threshold are determined by the parameter combination with the largest classification harmonic index in the labeled samples, for example, 6 seconds and 0.25 meters per second, respectively; when the cumulative intersection duration reaches 6 seconds and the median personnel tracking speed does not exceed 0.25 meters per second, it is determined as loitering, and other single entry behaviors are determined as momentary passage. For example, when personnel intersect continuously for 1.4 seconds and cumulatively for 2.1 seconds within 30 seconds, it is determined as momentary passage; when personnel intersect cumulatively for 8.0 seconds and the median personnel tracking speed is 0.18 meters per second, it is determined as loitering.

[0071] The safety rules are broken down into spatial conditions, temporal conditions, and semantic conditions. Spatial conditions are determined based on the spatial relationship between personnel and the hazardous area or the distance to the envelope boundary; temporal conditions are determined based on the duration of the behavior and the stage of the operation; and semantic conditions are determined based on hand gestures, flag signals, hook locking status, or the identification results of insulating protective equipment. A corresponding violation assessment result is generated when all three conditions are met; a yellow risk candidate result is generated when only the spatial condition is met and the temporal condition is not. A yellow risk candidate result indicates that a spatial proximity relationship has occurred, but the duration of the behavior has not yet met the temporal condition, and subsequent consecutive frames continue to update the behavior duration, operation stage, and semantic information.

[0072] In this embodiment, for a person illegally standing under the boom, the spatial condition is that the person's three-dimensional occupancy envelope intersects with the danger zone; the temporal condition is that the person's behavior is continuous entry or loitering, and the operation phase involves lifting an object, boom movement, or suspended heavy objects; the semantic condition excludes situations where a confirmed commanding person is performing command gestures or flag signals at a designated command position. For example, if the person's three-dimensional occupancy envelope intersects with the danger zone for 2.3 seconds continuously, the person's behavior is continuous entry, the operation phase involves boom movement, and no designated command gestures or flag signals are detected, a red emergency alarm result is generated; if the intersection lasts only 0.8 seconds, a yellow risk candidate result is generated, which is canceled after the person leaves.

[0073] In this process, the hook locking status is considered part of the operational semantic information. Specifically, when the target recognition network detects a lifting action and the number of pixels on the short side of the hook latch image is below a pixel threshold, the system performs super-resolution processing and local 3D reconstruction on the hook region. The pixel threshold is determined by progressively reducing the size of the hook latch image and measuring the local gap error, taking the number of pixels corresponding to when the error stops decreasing, for example, 64 pixels. The super-resolution processing uses local gradient-weighted edge-preserving interpolation, magnifying the hook region by a factor of 4, back-projecting the downsampling residual onto the magnified image, and repeating this process three times. The local 3D reconstruction continues to use the monocular depth estimation network from the previous steps, and unifies the hook point cloud across consecutive frames using the spatial transformation relationships from the previous steps.

[0074] In one embodiment, the system extracts the hook body opening boundary, hook latch end, and lifting belt point cloud from the local point cloud. First, it determines the latch deformation based on the fitting residual of the hook latch relative to the standard shape. If the latch deformation is not determined, it then determines whether the hook is completely unlocked, partially locked, or completely locked based on the minimum gap from the hook latch end to the hook body receiving area and the projection overlap ratio of the two.

[0075] The threshold for the residual error in the locking tongue shape fitting is the sum of the allowable deformation of the manufacturing drawing and the point cloud positioning error; the locking gap threshold is the larger of 5% of the hook width and twice the standard deviation of the point cloud positioning; the upper limit for partial locking is 25% of the hook width; and the projection overlap ratio threshold is the point with the highest classification accuracy of the labeled samples, for example, 0.80. When the minimum gap is not greater than the locking gap threshold and the projection overlap ratio reaches the projection overlap ratio threshold, it is considered fully locked; when the minimum gap is greater than the locking gap threshold but not greater than the upper limit for partial locking, it is considered partially locked; when the minimum gap is greater than the upper limit for partial locking, it is considered completely unlocked. When the lifting belt point cloud is located outside the hook locking tongue, the hanging status is considered improperly installed.

[0076] For example, when the hook opening width is 0.12 meters and the point cloud positioning standard deviation is 0.004 meters, the locking gap threshold is 0.008 meters, and the upper limit of partial locking is 0.030 meters; the minimum gaps are 0.006 meters, 0.018 meters, and 0.036 meters, corresponding to fully locked, partially locked, and completely unlocked, respectively. When the operation involves lifting an object and the locking state is completely unlocked or the hanging state is improper, the semantic condition is met, and a red emergency alarm result is generated; when the locking state is partially locked, a yellow risk warning result is generated.

[0077] In one embodiment, the safe distance assessment for a charged body obtains the physical extent of the charged body from a three-dimensional digital base map and reads the basic safe distance based on the voltage level of the charged body. The yellow warning distance is determined based on the statistical quantile of the normal approach speed, the time required for the lifting machinery to stop from the alarm, and the basic safe distance. in, Indicates the yellow alert level. This represents the 95th percentile of the normal approach speed, expressed in meters per second. Indicates the time required for the lifting machinery to stop after the alarm is triggered, in seconds; The basic safety distance is indicated in meters. The yellow warning distance is the product of the yellow warning coefficient and the basic safety distance, also in meters. The statistical quantile of the normal approach speed is obtained from the statistical sequence of the speed of the boom or load approaching the live conductor during historical normal operations; the time required for the lifting machinery to stop from the alarm is obtained by adding the alarm transmission time, personnel reaction time, and equipment braking time, and is recalibrated after changes in equipment or communication conditions.

[0078] Specifically, when the envelope boundary distance is greater than or equal to the yellow warning distance, the system maintains the normal assessment result; when the envelope boundary distance is greater than or equal to the basic safety distance but less than the yellow warning distance, a yellow risk warning result is generated; when the envelope boundary distance is less than the basic safety distance and the consecutive frames show a decreasing trend, a red emergency alarm result is generated. The number of consecutive frames is determined based on the longest continuous frame number of the abnormal depth value and the alarm delay budget, for example, taking 3 frames, and using the median value of the envelope boundary distance of the 3 frames for comparison. Taking a 110 kV live conductor as an example, the basic safety distance is 1.5 meters, the 95th percentile value of the normal approach speed is 0.25 meters per second, the time required for the crane to stop from alarm is 3 seconds, the yellow warning coefficient is 1.5, and the yellow warning distance is 2.25 meters; when the envelope boundary distances of the 3 frames are 2.18 meters, 2.10 meters, and 2.06 meters, a yellow risk warning result is generated; when the median value of the subsequent 3 frames drops to 1.42 meters and the distance continuously decreases, a red emergency alarm result is generated.

[0079] In step S203, the spatial transformation relationship and positional uncertainty range are corrected based on the spatial anchor point alignment residuals of consecutive frames and the geometrical consistency of the lifting machinery.

[0080] After each safety risk assessment result is generated, the system continues to read the spatial anchor point alignment residuals and the geometric consistency of the lifting machinery in subsequent consecutive frames. If the spatial anchor point alignment residuals continuously exceed the residual threshold, or if the boom length or hinge point spacing after spatial transformation exceeds the sum of the allowable range in the equipment ledger and the measurement error, the system reselects spatial anchor points and updates the spatial transformation relationship. The updated spatial transformation relationship recalculates the 3D positions of personnel, boom, and load, and updates the position uncertainty range and 3D occupancy envelope accordingly. After the warning is lifted, if the 3D occupancy envelope of personnel or load continues to intersect abnormally with the danger zone, the system reduces the proportion of the corresponding real-time visual observation in the spatial anchor point weights and recalculates the position uncertainty range based on the updated spatial transformation relationship. The regenerated 3D occupancy envelope returns to this step to recalculate the spatial conditions, temporal conditions, and semantic conditions.

[0081] In actual deployment, the edge device routinely performs target identification, depth estimation, target tracking, and spatial condition calculation. When a yellow risk candidate result appears, the device is in a pending lifting state, or the envelope boundary distance enters the yellow warning distance, the device then performs sequence analysis and local hook 3D reconstruction.

[0082] The above method enables two credibility factors to jointly participate in the calculation of spatial anchor point weight and position uncertainty range, and the three-dimensional occupancy envelope changes with measurement quality; the envelope boundary distance, behavior duration, operation stage and operation semantic information are incorporated into the safety risk assessment, and the spatial anchor point alignment residual and the geometric consistency of the lifting machinery are returned to the update process of spatial transformation relationship and position uncertainty range.

[0083] Please see Figure 3 , Figure 3 This is a structural block diagram of a vision reconstruction-based safety risk assessment system for lifting operations, provided in an embodiment of this application. Figure 3 As shown, the system includes: The 3D reconstruction and credibility determination module 301 is used to acquire real-time video and 3D digital base map of the lifting site, identify personnel, boom, load and lifting machinery structure in the real-time video, reconstruct their 3D position in the real-time coordinate system, and determine the credibility of the real-time reconstruction and the credibility of the digital base map. The spatial alignment module 302 is used to select the corresponding spatial anchor points of the real-time reconstruction result and the three-dimensional digital base map, determine the anchor point weights based on the real-time reconstruction confidence and the digital base map confidence, and obtain the spatial transformation relationship from the real-time coordinate system to the three-dimensional digital base map coordinate system. The 3D occupancy envelope generation module 303 is used to generate the position uncertainty range of personnel, crane arm, suspended object and charged body respectively based on the 3D position after spatial transformation relationship, real-time reconstruction confidence and digital base map confidence, and generate the 3D occupancy envelope by combining the corresponding entity range and motion state. Safety risk assessment module 304 is used to determine the dangerous area based on the three-dimensional occupancy envelope and the safety margin of the operation stage, calculate the spatial relationship between personnel and the dangerous area and the envelope boundary distance between the boom or suspended object and the live conductor, and generate safety risk assessment results by combining the duration of the behavior, the operation stage and the operation semantic information. The correction module 305 is used to correct the spatial transformation relationship and the range of positional uncertainty based on the spatial anchor point alignment residuals of consecutive frames and the geometrical consistency of the lifting machinery.

[0084] Each processing unit and / or module in the embodiments of this application can be implemented by an analog circuit that implements the functions described in the embodiments of this application, or by software that executes the functions described in the embodiments of this application.

[0085] Please see Figure 4 It shows a schematic block diagram of an electronic device according to an embodiment of this application, which can be used to implement... Figure 1 The method in the illustrated embodiment. (As shown) Figure 4 As shown, the electronic device may include: The system includes at least one processor 401, at least one network interface 404, a user interface 403, a memory 405, and at least one communication bus 402. The communication bus 402 is used to enable connection and communication between the components. The user interface 403 may include buttons, and optionally include a standard wired or wireless interface. The network interface 404 may include, but is not limited to, a Bluetooth module, an NFC module, a Wi-Fi module, etc.

[0086] The processor 401 may include one or more processing cores and connect to various parts within the electronic device through various interfaces and lines. It implements various functions and data processing of the electronic device by running or executing instructions, programs, code sets, or instruction sets stored in the memory 405, and by accessing data in the memory 405. Optionally, the processor 401 may be implemented using at least one hardware form selected from DSP, FPGA, and PLA. The processor 401 may also integrate one or more combinations of CPU, GPU, and modem.

[0087] Memory 405 may include random access memory (RAM) or read-only memory (ROM). Optionally, memory 405 includes a non-transitory computer-readable medium for storing instructions, programs, code, code sets, or instruction sets. Memory 405 may be divided into a program storage area and a data storage area, wherein the program storage area can be used to store instructions for implementing an operating system and instructions for implementing the foregoing method embodiments; the data storage area can be used to store data related to the relevant method embodiments. Memory 405 may also be at least one storage device located remotely from processor 401. Figure 4 As shown, the memory 405, which serves as a computer storage medium, may contain an operating system, a network communication module, a user interface module, and program instructions.

[0088] In particular, the methods and / or embodiments in this application can be implemented as computer software programs. For example, the embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowchart. When the computer program is executed by processor 401, it performs the functions defined in the methods of this application.

[0089] Another embodiment of this application provides a storage medium storing computer program instructions thereon, which can be executed by a processor to implement the methods and / or technical solutions of any one or more embodiments of this application described above.

[0090] In the above embodiments, the descriptions of each embodiment have different focuses. Parts not described in detail in a certain embodiment can be referred to in the relevant descriptions of other embodiments. The above descriptions are merely preferred embodiments of this application and explanations of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in this application is not limited to the technical solutions formed by specific combinations of the above technical features, but should also cover other technical solutions formed by arbitrary combinations of the above technical features or their equivalent features without departing from the inventive concept.

Claims

1. A method for assessing the safety risks of lifting operations based on visual reconstruction, characterized in that, include: Acquire real-time video and 3D digital base map of the lifting site, identify personnel, boom, load and lifting machinery structure in the real-time video, reconstruct their 3D position in the real-time coordinate system, and determine the reliability of the real-time reconstruction and the reliability of the digital base map; Select the corresponding spatial anchor points of the real-time reconstruction results and the 3D digital base map, determine the anchor point weights based on the confidence of the real-time reconstruction and the confidence of the digital base map, and obtain the spatial transformation relationship from the real-time coordinate system to the 3D digital base map coordinate system. Based on the 3D position after spatial transformation, real-time reconstruction reliability, and digital base map reliability, the position uncertainty ranges of personnel, crane boom, suspended object, and charged body are generated respectively. Combined with the corresponding entity range and motion state, a 3D occupancy envelope is generated. The danger zone is determined based on the three-dimensional occupancy envelope and the safety margin of the operation stage. The spatial relationship between personnel and the danger zone and the envelope boundary distance between the boom or suspended object and the live conductor are calculated. The safety risk assessment results are generated by combining the duration of the behavior, the operation stage and the semantic information of the operation. The spatial transformation relationship and the range of positional uncertainty are corrected based on the spatial anchor point alignment residual of the continuous frames and the geometric consistency of the lifting machinery.

2. The method according to claim 1, characterized in that, The real-time reconstruction confidence is weighted and fused based on the depth confidence of the identified object region, the target detection confidence, and the constraint residual between the visual three-dimensional position and the kinematic prediction position; the digital base map confidence is determined based on the reprojection error of UAV multi-view photogrammetry, the local density of the point cloud, and the fitting residual of the charged body boundary.

3. The method according to claim 2, characterized in that, The spatial anchor points include boom hinge points, corner points of crane chassis outlines, intersection points of fixed structure edges, and support points of charged bodies; after eliminating erroneous matches using a random sampling consistency method, the spatial transformation relationship is obtained by weighted iteration based on the anchor point weights.

4. The method according to claim 3, characterized in that, The residual threshold for spatial anchor point alignment residuals is determined based on the median of alignment residuals and the absolute median difference of residuals in normal operation samples. When the average spatial anchor point alignment residual of consecutive frames exceeds the residual threshold, or when the boom length or hinge point spacing after transformation by the spatial transformation relationship exceeds the sum of the allowable range of the equipment ledger and the measurement error, the spatial anchor point is reselected and the spatial transformation relationship is updated.

5. The method according to claim 4, characterized in that, The three-dimensional occupancy envelope of the personnel is formed by expanding the circumscribed ellipsoid of the three-dimensional skeleton of the human body along the direction of the personnel's tracking speed. The three-dimensional occupancy envelope of the suspended object is superimposed with the swing direction and predicted swing amplitude of the suspended object. The three-dimensional occupancy envelope of the boom is superimposed with the attitude prediction error of the kinematic model of the lifting machinery articulation. The three-dimensional occupancy envelope of the charged body expands outward based on the fitting residual of the charged body boundary.

6. The method according to claim 5, characterized in that, The duration of the behavior and the operation stage are obtained through hierarchical temporal analysis. Short-term analysis targets windows with a length not exceeding the first preset duration. Continuous images and human keypoint sequences are input into a 3D convolutional network and a spatiotemporal graph convolutional network, respectively, to obtain gestures, flag signals, and instantaneous personnel entry behaviors. The gestures and flag signals constitute the semantic information of the operation. Mid-term analysis targets windows with a length exceeding the first preset duration but not exceeding the second preset duration. Based on Kalman prediction results, hoisting machinery kinematic parameters, the state of the hoisted object off the ground, and spatial relationships, it determines hoisting preparation, the hoisted object, boom movement, or the suspension of the heavy object. Long-term analysis inputs the state feature sequence of the most recent third preset duration into a long short-term memory network to obtain the operation stage and the risk probability of the next fourth preset duration.

7. The method according to claim 6, characterized in that, The safety rules for lifting operations are broken down into spatial conditions, temporal conditions, and semantic conditions. The spatial conditions are determined based on the spatial relationship between personnel and the hazardous area or the distance to the envelope boundary. The temporal conditions are determined based on the duration of the behavior and the stage of the operation. The semantic conditions are determined based on gestures, flag signals, hook locking status, or the identification results of insulating protective equipment. When all three conditions are met, a corresponding violation assessment result is generated. When only the spatial condition is met and the temporal condition is not met, a yellow risk candidate result is generated.

8. The method according to claim 7, characterized in that, The identified objects also include the hook body, hook latch, and lifting sling; when a lifting action is detected and the number of pixels on the short side of the hook latch image is lower than the pixel threshold, super-resolution processing and local 3D reconstruction are performed on the hook area. The pixel threshold is determined based on the number of pixels corresponding to when the local gap measurement error stops decreasing; first, the latch deformation is determined based on the fitting residual of the hook latch relative to the standard shape. If the latch deformation is not determined, the minimum gap from the end of the hook latch to the hook body receiving area and the projection overlap ratio of the two are used to determine whether it is completely unlocked, partially locked, or completely locked; the hanging state is determined based on whether the lifting sling point cloud is located outside the hook latch, and the locking state, hanging state, and operation stage are input into the semantic conditions.

9. The method according to claim 8, characterized in that, The physical extent of the charged body is provided by the three-dimensional digital base map. The basic safety distance is determined based on the voltage level of the charged body. The yellow warning distance is determined based on the statistical quantile of the normal approach speed, the time required for the crane to stop from the alarm, and the basic safety distance. When the envelope boundary distance is greater than or equal to the yellow warning distance, the normal evaluation result is maintained. When the envelope boundary distance is greater than or equal to the basic safety distance and less than the yellow warning distance, a yellow risk warning result is generated. When the envelope boundary distance is less than the basic safety distance and the continuous frames show a shrinking trend, a red emergency alarm result is generated.

10. A safety risk assessment system for lifting operations based on vision reconstruction, characterized in that, include: The 3D reconstruction and credibility determination module is used to acquire real-time video and 3D digital base map of the lifting site, identify personnel, boom, load and lifting machinery structure in the real-time video, reconstruct their 3D position in the real-time coordinate system, and determine the credibility of the real-time reconstruction and the credibility of the digital base map. The spatial alignment module is used to select the corresponding spatial anchor points of the real-time reconstruction results and the 3D digital base map, determine the anchor point weights based on the confidence levels of the real-time reconstruction and the digital base map, and obtain the spatial transformation relationship from the real-time coordinate system to the 3D digital base map coordinate system. The 3D occupancy envelope generation module is used to generate the positional uncertainty range of personnel, crane boom, suspended object and charged body respectively based on the 3D position after spatial transformation relationship, real-time reconstruction credibility and digital base map credibility, and generate the 3D occupancy envelope by combining the corresponding entity range and motion state. The safety risk assessment module is used to determine the hazardous area based on the three-dimensional occupancy envelope and the safety margin of the operation stage, calculate the spatial relationship between personnel and the hazardous area and the envelope boundary distance between the boom or suspended object and the live conductor, and generate the safety risk assessment result by combining the duration of the behavior, the operation stage and the operation semantic information. The correction module is used to correct spatial transformation relationships and positional uncertainty ranges based on the spatial anchor point alignment residuals of consecutive frames and the geometrical consistency of the lifting machinery.