Drowning detection method and device based on radar to complete occluded image skeleton points
By combining high-definition cameras and millimeter-wave radar with SL-YOLOv8 and AlphaPose networks, and utilizing trust-aware cross-modal attention and Wave-Former modules for drowning detection, the accuracy and real-time performance issues of single-image detection in complex water scenarios are solved, enabling efficient identification and rescue response for drowning behavior.
Patent Information
- Application Number
- CN202611191385.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-07
- Publication Date
- 2026-11-20
AI Technical Summary
Existing drowning detection technologies based on single images suffer from insufficient detection accuracy, poor environmental adaptability, and weak real-time response capabilities in complex water scenarios, especially in situations with occlusion and lighting conditions where they are difficult to effectively identify drowning behavior.
The system simultaneously collects data using a high-definition camera and millimeter-wave radar. It extracts visual skeleton points by combining the SL-YOLOv8 network and the AlphaPose pose estimation network. The system then fuses and completes the radar and visual skeleton points through a trust-aware cross-modal attention module and a Wave-Former module. Finally, it uses a CNN-BiGRU network to extract key points of the human skeleton from the radar, enabling the identification of drowning behavior and rescue response.
It improves the accuracy and real-time performance of drowning behavior recognition, enhances environmental adaptability under occlusion and lighting conditions, supports real-time operation on edge computing devices, and achieves comprehensive detection of drowning behavior.
Smart Images

Figure CN123142144A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to a drowning detection method and device based on radar-completed occlusion image skeletal points, belonging to the field of water safety monitoring and intelligent rescue technology. Background Technology
[0002] Drowning accidents pose a serious threat to personal safety, easily causing physical and psychological trauma to victims and increasing the burden on social medical and public safety resources. Timely detection of drowning incidents and implementation of scientific rescue are crucial to reducing the damage caused by such accidents.
[0003] With the development of computer vision technology, intelligent monitoring systems based on video analytics are gradually being applied to drowning detection in scenarios such as swimming pools. However, most current intelligent drowning monitoring systems are primarily designed for swimming pool environments and generally use image data collected by a single camera to identify drowning behavior.
[0004] In practical applications, existing drowning detection methods based on a single image still face the following technical challenges: (1) Normal swimming movements and the struggling behavior in the early stage of drowning have similar visual characteristics, which can easily lead to mutual misjudgment in the process of behavior recognition; (2) The refraction effect of water and the changes in water surface ripples cause non-rigid deformation of human targets in video images, which affects the stability of target detection and is prone to missed detection. (3) Some detection models have complex structures and high computational resource consumption, resulting in long system response times and making it difficult to meet the real-time requirements of drowning rescue. (4) Obstruction factors such as aquatic plants, floating objects, and people on the shore can cause the loss of information on key areas of the human body, affecting continuous tracking and timely early warning.
[0005] In summary, existing drowning detection technologies based on single images still have shortcomings in terms of detection accuracy, environmental adaptability, and real-time response capabilities, making it difficult to meet the reliable application requirements in complex aquatic scenarios. Summary of the Invention
[0006] The purpose of this invention is to overcome the above-mentioned shortcomings and provide a drowning detection method based on radar-completed occlusion image skeletal points, which solves the shortcomings of pure vision in detection under occlusion and illumination conditions, and improves the accuracy, real-time performance and environmental adaptability of drowning behavior recognition.
[0007] The technical solution adopted in this invention is as follows: A drowning detection method based on radar-completed occluded image skeletal points includes the following steps: S1. High-definition cameras and millimeter-wave radar are used to simultaneously collect data on human activities on the water surface, ensuring time alignment and preprocessing. S2. Input the visual image into the SL-YOLOv8 network for personnel recognition, and then input the recognized detection box into the AlphaPose pose estimation network to extract human skeleton key points and their visual confidence. Calculate the comprehensive confidence of each skeleton key point based on joint weights and occlusion coefficients, and evaluate the overall effectiveness of visual skeleton point extraction. S3. The radar data is processed using the sliding window technique to construct a continuous frame sequence with a fixed step size. The data is then expanded into a multi-frame time series and input into a convolutional neural network and a bidirectional gated recurrent unit network (CNN-BiGRU network) to extract the three-dimensional coordinates of key points of the human skeleton in the radar. S4. Based on the visual confidence of each skeletal key point calculated in step S2, the visual confidence is used as the coefficient of the skeletal joint to dynamically determine the fusion weight. The trust-aware cross-modal attention module is used to perform weighted fusion of visual skeletal points and radar skeletal points. When the number of effective joints in the fused skeletal points is less than the preset threshold, the Wave-Former module is triggered to complete the skeletal points. Finally, the fused skeletal point set is output. S5. Based on the acquired skeletal point data, calculate motion energy characteristics, posture characteristics, and depth characteristics, and use these characteristic signals to identify drowning behavior, classify drowning states, and respond to drowning rescue.
[0008] In the above method, the SL-YOLOv8 network described in step S2 is constructed by embedding the ECA mechanism into the SPPF module of the YOLOv8 network structure, and the SPPF-ECA module is built to replace the original SPPF module; then, a small target detection layer is added to the Head layer based on the original three detection heads of the network to obtain the SS-YOLOv8 network, and a lightweight shared convolutional layer is used in the detection head.
[0009] The AlphaPose pose estimation network described above adopts a classic top-down processing paradigm with a clear workflow, mainly divided into three stages: human detection, pose estimation, and post-processing optimization. In the human detection stage, a high-performance object detector (Faster R-CNN) is used to locate all human bodies in the input image and generate human body bounding boxes. For each detected human body bounding box, a Single-Person Pose Estimator (SPPE) network is used in the pose estimation stage to predict all keypoints within that region. This network is often built based on high-resolution networks such as HRNet to ensure the accuracy of keypoint localization. Finally, in the post-processing optimization stage, the initial estimation results are refined to eliminate redundancy.
[0010] In step S2, the overall confidence level of each skeletal keypoint is calculated using the following formula: , in, This represents the raw confidence level of the AlphaPose output; This represents the joint weighting coefficient; This represents the occlusion coefficient.
[0011] The overall effectiveness of computational vision skeleton point extraction is: , in, Indicates an indicator function; This indicates the validity threshold.
[0012] In step S3, the Convolutional Neural Network (CNN) and the Bidirectional Gated Recurrent Unit (BiGRU) network work together. The CNN is responsible for extracting the spatial structure of each frame of point cloud, while the BiGRU is responsible for identifying the temporal changes of these structures. Millimeter-wave radar single-frame point clouds are extremely sparse (typically only 50-200 points). Therefore, step S3 employs a hierarchical processing strategy of "spatial first, temporal second": The CNN first independently encodes the spatial features of each frame of point cloud within the sliding window, compressing each frame into a fixed-length feature vector to capture the local geometric structure of various parts of the human body. Then, the Bidirectional Gated Recurrent Unit (BiGRU) uses these temporally arranged feature vectors as sequential input, and through bidirectional modeling, utilizes both past and future contextual information to encode the temporal dependencies of motion, effectively compensating for the lack of spatial information in a single frame of point cloud. Finally, the regression decoder maps the fused spatiotemporal features into the three-dimensional coordinates of skeletal key points. The three components work together to achieve accurate reconstruction from sparse radar point clouds to complete human posture, controlling the average joint positioning error to within 2.72 cm.
[0013] In step S4, visual skeleton points are used for joints with high visual reliability; for partially occluded joints, visual skeleton points and radar skeleton points are weighted and fused; and for severely occluded joints, skeleton points are supplemented.
[0014] The trust-aware cross-modal attention module consists of three parts: a bilinear feature interaction layer, a quality assessment gating network, and a dynamic weighted fusion layer. Its core function is to dynamically assess the credibility of visual information at each joint and adjust the fusion strategy accordingly. This module first calculates the correlation between radar features and visual features through bilinear interaction, outputs a visual trust score via an activation function, and simultaneously generates dynamic fusion weights using the quality assessment gating network. Then, it performs hierarchical fusion based on visual confidence: high confidence retains visual skeleton points, medium confidence performs weighted fusion of visual and radar skeleton points, and low confidence switches to radar skeleton points. This mechanism achieves a smooth transition from pure vision to pure radar, effectively avoiding contamination of the fusion result by low-quality visual features and improving the robustness of skeleton point extraction in occluded scenes.
[0015] The skeletal completion method described herein involves converting radar point clouds into partial surface meshes using the Wave-Former module, reconstructing a complete human body mesh using a physically-aware shape completion network, extracting skeletal key points from the reconstructed mesh, replacing or interpolating missing joints, and outputting complete skeletal points. The core of Wave-Former lies in addressing the challenge of information loss due to specular reflection in millimeter-wave signals through a strategy of "synthetic data training + physically-aware inference." During the training phase, the system simulates the physical reflection characteristics and noise of millimeter waves, using synthetic data to train the model to reconstruct complete shapes from partial point clouds. During the inference phase, multiple candidate local surfaces are generated from real radar signals, completed into complete shapes by the physically-aware model, and the smoothest and most reliable reconstruction result is selected by calculating the "surface entropy." This method achieves a recall of 72% and an accuracy of 85% on the MITO real dataset, and can generalize to real-world occlusion scenarios without requiring real-labeled data, providing an efficient and reliable solution for object shape reconstruction under extreme conditions.
[0016] The motion energy characteristics mentioned in step S5 include joint average velocity, motion acceleration variance, and motion duration, which are used to characterize the intensity, fluctuation, and duration of human movements and reflect the energy change patterns during the drowning process. The posture features are extracted from the temporal sequence of skeletal points, including the torso vertical angle and body compactness, and are used to describe the degree of posture abnormality of the human body in water. Depth features are extracted from the time series of skeletal points, including the rate of change of relative head height and the sinking trend index, which are used to reflect the changes in the vertical position of the human body in water and the sinking trend. Drowning can be categorized into active drowning, passive drowning, and fall drowning.
[0017] A drowning detection electronic device based on radar-complete occlusion image skeletal points includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the drowning detection method based on radar-complete occlusion image skeletal points as described above.
[0018] A computer-readable storage device storing a program that, when executed by a processor, implements the steps of the drowning detection method based on radar-complete occlusion image skeletal points described above.
[0019] The beneficial effects of this invention are: (1) This invention uses radar point cloud to explicitly complete the skeletal key points output by AlphaPose, giving full play to the perception advantage of radar waves being able to penetrate non-metallic obstructions such as aquatic plants and plastic floating objects, thereby effectively solving the problem of missing skeletal key points caused by obstruction. (2) The skeletal point extraction method of radar and vision fusion of the present invention makes up for the shortcomings of pure vision under occlusion and lighting conditions, and improves the accuracy, real-time performance and environmental adaptability of drowning behavior recognition. (3) This invention improves the detection accuracy of SS-YOLOv8 for small targets in complex scenarios through a multi-scale feature channel selection mechanism; and further lightweights it to construct the SL-YOLOv8 model. This model supports real-time operation on edge computing devices, significantly reducing deployment costs; (4) This invention enables comprehensive detection of three types of drowning behaviors: active drowning, passive drowning, and fall drowning, filling the technical gap in the identification of passive drowning. Attached Figure Description
[0020] Figure 1 Flowchart of the method of this invention; Figure 2 Block diagram of the ECA structure of this invention; Figure 3 SPPF-ECA structural diagram of this invention; Figure 4 C2FSC structure diagram of this invention; Figure 5 SL-YOLOV8 structural diagram of the present invention; Figure 6 CNN-BiGRU architecture diagram; Figure 7 The flowchart for the judgment and identification process of this invention. Detailed Implementation
[0021] The present invention will be further described below with reference to specific embodiments.
[0022] Example 1: A drowning detection method based on radar-complete occlusion image skeletal points, including steps (such as...) Figure 1 )as follows: S1. High-definition cameras and millimeter-wave radar are used to simultaneously collect data on human activities on the water surface, ensuring time alignment and preprocessing.
[0023] Preprocessing involves normalizing the size of the dataset acquired by the camera, expanding the dataset, and annotating the images; creating data frames from the point cloud array of the dataset acquired by the millimeter-wave radar device; and reordering the data to help the convolutional kernel capture spatial patterns more efficiently, thereby improving the accuracy and efficiency of feature extraction.
[0024] In the implementation of this invention, the millimeter-level radar used is BHYY_MMW6044 59–64 GHz; the dataset acquired by the camera is first normalized in size, then expanded by flipping, cropping, brightness enhancement, color enhancement, and affine transformation operations; finally, the LabelImg software is used to label the expanded dataset images to obtain a .txt label file corresponding to each image. The dataset collected by the millimeter-wave radar equipment first captures the first 64 reflection points to form a data frame. If there are fewer than 64 detection points, zero-point supplementation is used. Then, the points in each frame are sorted in ascending order of x, y, and z coordinates. Specifically, the points are first sorted by x coordinate. If the x values are the same, they are sorted by y coordinate. If the x and y values are the same, they are sorted by z coordinate. Time alignment between the two sensors is achieved through hardware trigger signals.
[0025] S2. Input the visual image into the SL-YOLOv8 network for person recognition, then input the recognized detection box into the AlphaPose pose estimation network to extract human skeletal key points and their visual confidence. Calculate the comprehensive confidence of each skeletal key point based on its weight and occlusion coefficient, and calculate the overall effectiveness of visual skeletal point extraction.
[0026] The SL-YOLOv8 network embeds the ECA mechanism into the SPPF module of the YOLOv8 network structure, constructing an SPPF-ECA module to replace the original SPPF module; then, based on the original three detection heads of the network, a small target detection layer is added to the Head layer to obtain the SS-YOLOv8 network, and a lightweight shared convolutional layer is used in the detection head.
[0027] The specific steps are as follows: 2.1 Adopt the ECA mechanism (e.g.) Figure 2 The SPPF-ECA module was constructed by combining the SPPF module in the YOLOv8 network; The input feature map is denoted as Perform global average pooling on each channel to obtain a channel description vector. Each element The global average information representing channel c is defined by the following formula: , Where C represents the number of channels; H and W represent the height and width of the feature map, respectively; This represents the value of the c-th channel in the input feature map at a position with height h and width w; c = 1, 2, ..., C; h = 1, 2, ..., H; w = 1, 2, ..., W.
[0028] Apply a one-dimensional convolution with kernel size k to the channel description vector u, and the output is the channel attention weights. The formula is defined as follows: , in, This represents a one-dimensional convolution operation with a kernel size of k. The kernel size k is adaptively determined by the number of channels in the input features to capture appropriate channel dependencies. The adaptive strategy is defined as follows: , in, and These are hyperparameters; in this embodiment, we take... , ; This means taking the nearest odd number as the result, thus ensuring that the size of the convolution kernel is odd.
[0029] By normalizing the channel weight vector w obtained from one-dimensional convolution using the Sigmoid activation function, we can obtain the attention weight for each channel. The definition is as follows: , The original input feature map X is multiplied by the generated channel weights to achieve adaptive weighting of each channel, resulting in the output feature map. The definition is as follows: , in, This indicates that the c-th channel in the input feature map is located at a height of h and a width of w, where c = 1, 2, ..., C; h = 1, 2, ..., H; w = 1, 2, ..., W.
[0030] The structure diagram of the SPPF module, which incorporates the above steps, is as follows: Figure 3 As shown.
[0031] 2.2 Add a 160×160 small target detection layer to the Head layer and connect it to the shallow feature map and the deep feature map respectively.
[0032] 2.3 The above operation process introduces additional parameters and calculations, which reduces the detection efficiency of the model. Lightweight improvements are made based on the SS-YOLOv8 model.
[0033] By using LSCL shared convolutional layers and normalization layers, the number of model parameters is reduced, while improving the speed and accuracy of object detection. In the C2f module, create the SCConv module to replace the original Bottleneck, as shown in the structure diagram below. Figure 4 As shown, SCConv (as Figure 4 The system mainly consists of a spatial reconstruction unit and a channel reconstruction unit working together. The spatial reconstruction unit introduces grouping normalization to construct a dynamic evaluation model, decouples features into high and low information density components, and achieves efficient feature recombination and redundancy compression through dynamic thresholding and reconstruction operations. The channel reconstruction unit adopts a "segmentation-transformation-fusion" architecture, performs channel segmentation and compression through one-dimensional convolution, and extracts local and global cross-channel features in parallel using grouped convolution and pointwise convolution, thereby improving the representation ability and achieving adaptive feature response adjustment. The loss function CIoU is changed to Inner-WIoU, which weights the IoU calculation process according to different scales and the importance of the target.
[0034] 2.4 SL-YOLOv8 (structural diagram as shown) Figure 6 Output detection boxes for human bodies and weeds. Each detection box contains coordinates and detection confidence. The detection confidence threshold is set to 0.6. Detection boxes below this threshold are discarded.
[0035] 2.5 The detection boxes filtered by confidence are input into the AlphaPose pose estimation network to extract human skeletal key points. Each skeletal key point contains image plane coordinates. and its confidence level There are a total of 17 key points.
[0036] 2.6 Calculate the overall confidence score for each skeletal keypoint using the following formula:
[0037] in, This represents the raw confidence level of the AlphaPose output; This represents the joint weighting coefficient; This represents the occlusion coefficient, which is 0.4 when the joint is located in a densely weeded area of the image, and 1.0 otherwise.
[0038] The overall effectiveness of computational vision skeleton point extraction is: , in, Indicates an indicator function; This indicates the validity threshold.
[0039] when When the visual skeleton points are determined to be usable, they can be directly input into subsequent steps; when... When, it enters the weighted fusion process; when At that time, it enters the radar complete takeover and replenishment mode.
[0040] S3. Using a sliding window technique, the radar data is processed over time across multiple frames of point cloud data to construct a continuous frame sequence with a fixed stride. This sequence is then expanded into a multi-frame time series and input into a convolutional neural network (CNN) and a bidirectional gated recurrent unit (BiGRU) network to extract the 3D coordinates of key points on the radar's human skeleton. The network structure is shown in Figure 6. The specific steps are as follows: 3.1 Construct a sliding window of length T=5 frames, stacking the point cloud data of the current frame and the previous T-1 frames. Let the point cloud data of the previous t frames be... The 5-dimensional features are spatial coordinates x, y, z, radial velocity v, and signal strength I. The sliding window output is: .
[0041] 3.2 For each frame of point cloud within the window, spatial features are extracted independently using a one-dimensional convolutional network: , The one-dimensional convolutional network consists of three convolutional layers, each with a kernel size of 3 and channel numbers of 64, 128, and 256, respectively. Each convolutional layer is followed by a batch normalization layer and a ReLU activation function, and finally, the dimensionality is reduced to 128 dimensions through global max pooling and fully connected layers.
[0042] 3.3 Stack the spatial feature vectors of the 5 frames within the window in chronological order to form a feature sequence. Timing modeling is performed using a bidirectional gated cyclic unit. , , , BiGRU uses a two-layer structure, with each layer having a hidden state dimension of 128 and an output dimension of 256.
[0043] 3.4 The timing characteristics h output by BiGRU t Input to regression decoder, output 3D coordinates of 17 skeletal keypoints: , The regression decoder contains three fully connected layers with dimensions of 256, 128, and 75, respectively. Each layer is followed by a ReLU activation function and a Dropout layer with a Dropout rate of 0.3.
[0044] 3.5 The following loss function is used to train the CNN-BiGRU network: , The first term represents the joint localization loss, and the second term represents the temporal smoothing loss. =0.1.
[0045] S4. Based on the visual confidence scores of each skeletal keypoint calculated in step S2, dynamically determine the fusion weights. Use a trust-aware cross-modal attention module to perform weighted fusion of visual and radar skeletal points. When the number of effective joints in the fused skeletal points is less than a preset threshold, trigger the Wave-Former module to complete the skeletal points. Finally, output the fused skeletal point set. Flowchart as follows: Figure 7 As shown.
[0046] A trust-aware cross-modal attention module is used to dynamically determine the fusion weights based on the visual confidence of each joint calculated in step S2. For joints with high visual reliability, visual skeleton points are used. For partially occluded joints, visual skeleton points and radar skeleton points are weighted and fused. For severely occluded joints, skeleton points are completed. The fused complete skeleton point set is output. The specific steps are as follows: 4.1 The visual skeleton point features extracted in step S2 are denoted as Fv, and the radar skeleton points extracted in step S3 are denoted as Fr. The two types of skeleton points are associated one-to-one. 4.2 For each pair of vision-radar joint features, calculate the visual trust score: , in, This represents a learnable bilinear weight matrix; This represents the Sigmoid activation function; This represents the visual trust score for the i-th joint; This represents the feature of the i-th skeleton point in the radar; This represents the visual feature of the i-th skeletal point.
[0047] 4.3 Calculate the fusion weights for each joint using a quality assessment gating network: , in, , , All of these are learnable parameters.
[0048] 4.4 Based on the confidence level of visual skeleton points Determine the fusion strategy: when When the value is >0.7, the visual reliability of the joint is considered high, and visual skeleton points are used: , when When the joint is partially occluded, weighted fusion is used: , when When the value is less than 0.3, the joint is considered to be severely obstructed, and the radar skeleton points are completed.
[0049] 4.5 Output the complete set of fused skeleton points { }, and record the confidence level of each joint.
[0050] Regarding step S2 If the number of effective joints in the fused bone points in step S4 is less than 6, the Wave-Former module is triggered to complete the joint points. The Wave-Former module converts radar point clouds into partial surface meshes, reconstructs a complete human body mesh using a physically-aware shape completion network, extracts skeletal key points from the reconstructed mesh, replaces or interpolates missing joints, and outputs complete skeletal points. The core of Wave-Former lies in solving the problem of information loss due to specular reflection in millimeter-wave signals through a strategy of "synthetic data training + physically-aware inference." During the training phase, the system simulates the physical reflection characteristics and noise of millimeter waves, using synthetic data to train the model to reconstruct complete shapes from partial point clouds. During the inference phase, multiple candidate local surfaces are generated from real radar signals, completed into complete shapes by the physically-aware model, and the smoothest and most reliable reconstruction result is selected by calculating "surface entropy." This method achieves a recall of 72% and an accuracy of 85% on the MITO real dataset, and can generalize to real-world occluded scenes without requiring real labeled data, providing an efficient and reliable solution for object shape reconstruction under extreme conditions.
[0051] For each radar point, a spherical neighborhood with a radius of 0.05-0.1 meters is generated centered on it. All points within the neighborhood are projected onto the tangent plane to form local surface fragments. All surface fragments are stitched together to form an incomplete human body surface mesh. The generated partial surface mesh is input into the pre-trained Wave-Former model; When generating multiple candidate completion shapes, calculate the surface entropy of each candidate shape: , Where S is the reconstructed mesh surface, and N(p) is the number of sampling points in the neighborhood of point p. The shape with the minimum entropy value is selected as the optimal completion result.
[0052] The skinning weighting method is used to extract skeletal key points from the completed human body mesh: The skeletal points obtained by Wave-Former completion are merged with the previous fusion results, and missing joints are replaced or interpolated to output the complete 17 skeletal key points.
[0053] S5. Based on the acquired skeletal point data, calculate motion energy characteristics, posture characteristics, and depth characteristics, and use these characteristic signals to identify drowning behavior, classify drowning states, and respond to drowning rescue.
[0054] 5.1 Calculate the motion energy characteristics used to characterize the intensity, fluctuation, and duration of human movements, reflecting the energy change patterns during drowning, including average joint velocity, variance of motion acceleration, and motion duration; Take the 3D displacement of all 17 joints across consecutive frames and calculate the average joint velocity: , Where T represents the temporal window length; J represents the number of skeletal keypoints; Let |||||2 represent the coordinates of the i-th keypoint in frame t; ||·||2 represents the L2 norm.
[0055] Calculate the variance of the acceleration sequence for each joint. The struggling movements of an actively drowning person are chaotic and disordered, and the variance of their acceleration is significantly greater than that of a normal swimming person; the arm strokes of a normal swimmer are regular and periodic, and the variance of their acceleration is smaller.
[0056] Count the number of sustained frames during high-intensity exercise (speed > 0.1 m / s). The struggling behavior of active drowning victims is continuous, usually lasting more than 3 seconds until exhaustion; brief thrashing (such as the stress response after choking on water) is not considered drowning.
[0057] 5.2 Calculate the posture characteristics used to describe the degree of posture abnormality of the human body in water, including the trunk vertical angle and body compactness; Take the coordinates of the hip center and shoulder center coordinates Calculate the vertical angle of the torso in three-dimensional space: , Body compactness is calculated using the average distance from all skeletal key points to the center of the hip: , Where J represents the number of key points in the skeleton; P represents the coordinates of the skeleton points.
[0058] 5.3 Calculate depth characteristics that reflect the vertical position changes and sinking trend of the human body in water, including the rate of change of relative head height and the sinking trend index; Take the vertical coordinates of key points on the head (tip of the nose or top of the head) and analyze their changing trends. In passive drowning, the head cannot be kept above the water surface, the vertical coordinate shows a monotonically decreasing trend, and the proportion of time the head is underwater is close to 100%. In active drowning, the head repeatedly rises and falls, and the vertical coordinate fluctuates violently.
[0059] Take the coordinate sequence of the hip center in the vertical direction (z-axis). Calculate the bottoming trend index: , in, Indicates an indicator function.
[0060] 5.4 Define the condition groups for active drowning, passive drowning, and fall drowning; Condition group A (active drowning characteristic group): A1: trunk vertical angle > 45°; A2: average joint velocity > 0.12 m / s; A3: variance of motion acceleration is greater than the variance threshold of normal swimming state; A4: the above state lasts for more than 1 second.
[0061] Condition group B (Negative drowning characteristics group): B1: Average joint velocity <0.05m / s; B2: Bottom sinking tendency index >0.7; B3: Body compactness shows an increasing trend; B4: Head vertical coordinate shows a monotonically decreasing trend.
[0062] Condition group C (fall and drowning feature group): C1: The vertical acceleration of the skeletal point is close to the gravitational acceleration and lasts for more than 0.2 seconds, which is determined to be the free fall stage; C2: The water impact feature is detected, that is, the vertical velocity changes by more than 3m / s between two consecutive frames; C3: The ratio of horizontal displacement to vertical displacement is less than 0.3 or greater than 0.5.
[0063] 5.5 Determine whether all three conditions in condition groups A, B, and C are not met. If so, determine that it is not drowning; otherwise, proceed to the next step. 5.6 Determine whether only one condition in condition group A, B, and C is satisfied. If so, output the corresponding drowning feature; otherwise, proceed to the next step. 5.7 When multiple condition groups are satisfied simultaneously, condition group C has the highest priority, followed by condition group A, and condition group B has the lowest priority. 5.8 Based on the identified drowning state, the corresponding rescue response mechanism is triggered to implement a tiered response strategy from early warning and intervention to emergency rescue. The specific determination method is as follows: In non-drowning conditions, if the torso's vertical angle is >30° or the speed deviates by 20%, it is classified as a Level 1 response (attention); an attention alert is sent, and continuous monitoring is conducted; no rescue operation is dispatched. In the event of drowning, if the active drowning conditions are met, a Level II response (early warning) should be initiated; lifeguards on site should be notified to take note. When active drowning is confirmed or the conditions for falling into a drowning state are met, a Level 3 response (emergency) is initiated; rescue operations are immediately dispatched, with 1-2 lifeguards deployed. When passive drowning is confirmed, the response level is set at Level 4 (critical); the highest level alarm is triggered, and 2-3 lifeguards and medical emergency personnel are immediately dispatched.
[0064] Example 2: A drowning detection electronic device based on radar-complete occlusion image skeletal points, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the drowning detection method based on radar-complete occlusion image skeletal points as described above.
[0065] A computer-readable storage device storing a program that, when executed by a processor, implements the steps of the drowning detection method based on radar-complete occlusion image skeletal points described above.
[0066] The above is a further description of the present invention in conjunction with specific embodiments, and the scope of protection of the present invention is not limited thereto.
Claims
1. A drowning detection method based on skeletal points in radar-completed occlusion images, characterized in that, The steps include the following: S1. High-definition cameras and millimeter-wave radar are used to simultaneously collect data on human activities on the water surface, ensuring time alignment and preprocessing. S2. Input the visual image into the SL-YOLOv8 network for personnel recognition, and then input the recognized detection box into the AlphaPose pose estimation network to extract human skeleton key points and their visual confidence. Calculate the comprehensive confidence of each skeleton key point based on joint weights and occlusion coefficients, and evaluate the overall effectiveness of visual skeleton point extraction. S3. Use sliding window technology to process the radar data into multiple frames of point cloud data to construct a continuous frame sequence with a fixed step size. Expand the data into a multi-frame time series data and input it into a convolutional neural network and a bidirectional gated recurrent unit network to extract the three-dimensional coordinates of key points of the radar human skeleton. S4. Based on the visual confidence of each skeletal key point calculated in step S2, the visual confidence is used as the coefficient of the skeletal joint to dynamically determine the fusion weight. The trust-aware cross-modal attention module is used to perform weighted fusion of visual skeletal points and radar skeletal points. When the number of effective joints in the fused skeletal points is less than the preset threshold, the Wave-Former module is triggered to complete the skeletal points. Finally, the fused skeletal point set is output. S5. Based on the acquired skeletal point data, calculate motion energy characteristics, posture characteristics, and depth characteristics, and use these characteristic signals to identify drowning behavior, classify drowning states, and respond to drowning rescue.
2. The drowning detection method based on radar-complete occlusion image skeletal points according to claim 1, characterized in that, The SL-YOLOv8 network described in step S2 is constructed by embedding the ECA mechanism into the SPPF module of the YOLOv8 network structure, and building the SPPF-ECA module to replace the original SPPF module; then, based on the original three detection heads of the network, a small target detection layer is added to the Head layer to obtain the SS-YOLOv8 network, and a lightweight shared convolutional layer is used in the detection head.
3. The drowning detection method based on radar-complete occlusion image skeletal points according to claim 1, characterized in that, The AlphaPose pose estimation network described in step S2 adopts a top-down processing paradigm, mainly divided into three stages: human detection stage, pose estimation stage, and post-processing optimization stage. In the human detection stage, a target detector is used to locate all human bodies in the input image and generate human body bounding boxes. For each detected human body bounding box, the pose estimation stage uses a single-person pose estimation network to predict all key points in the region. Finally, in the post-processing optimization stage, the initial estimation results are refined to eliminate redundancy.
4. The drowning detection method based on radar-complete occlusion image skeletal points according to claim 1, characterized in that, In step S2, the overall confidence level of each skeletal keypoint is calculated using the following formula: , in, This represents the raw confidence level of the AlphaPose output; This represents the joint weighting coefficient; Indicates the occlusion coefficient; The overall effectiveness of computational vision skeleton point extraction is: , in, Indicates an indicator function; This indicates the validity threshold.
5. The drowning detection method based on radar-complete occlusion image skeletal points according to claim 1, characterized in that, Step S3 adopts a hierarchical processing strategy of "spatial first, temporal second": The convolutional neural network first encodes the spatial features of each frame of point cloud within the sliding window independently, compressing each frame of point cloud into a feature vector of fixed length to capture the local geometric structure of various parts of the human body; then the bidirectional gated recurrent unit takes these temporally arranged feature vectors as sequence input, and encodes the temporal dependence of motion by using past and future contextual information through bidirectional modeling; finally, the regression decoder maps the fused spatiotemporal features into the three-dimensional coordinates of the skeletal key points.
6. The drowning detection method based on radar-complete occlusion image skeletal points according to claim 1, characterized in that, The trust perception cross-modal attention module described in step S4 consists of three parts: a bilinear feature interaction layer, a quality assessment gating network, and a dynamic weighted fusion layer. This module first calculates the correlation between radar features and visual features through bilinear interaction, outputs a visual trust score through an activation function, and generates dynamic fusion weights using the quality assessment gating network. Subsequently, hierarchical fusion is performed based on visual confidence. High confidence retains visual skeleton points, medium confidence performs weighted fusion of visual and radar skeleton points, and low confidence switches to radar skeleton points.
7. The drowning detection method based on radar-complete occlusion image skeletal points according to claim 1, characterized in that, The Wave-Former module described in step S4 converts the radar point cloud into a partial surface mesh, reconstructs the complete human body mesh through a physical perception shape completion network, extracts skeletal key points from the reconstructed mesh, replaces or interpolates missing joints, and outputs complete skeletal points.
8. The drowning detection method based on radar-complete occlusion image skeletal points according to claim 1, characterized in that, The motion energy characteristics mentioned in step S5 include joint average velocity, motion acceleration variance, and motion duration, which are used to characterize the intensity, fluctuation, and duration of human movements and reflect the energy change patterns during the drowning process. The posture features are extracted from the temporal sequence of skeletal points, including the torso vertical angle and body compactness, and are used to describe the degree of posture abnormality of the human body in water. Depth features are extracted from the time series of skeletal points, including the rate of change of relative head height and the sinking trend index, which are used to reflect the changes in the vertical position of the human body in water and the sinking trend. Drowning can be categorized into active drowning, passive drowning, and fall drowning.
9. A drowning detection electronic device based on radar-completed occlusion image skeletal points, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the drowning detection method based on the skeletal points of the radar-complete occlusion image as described in any one of claims 1-8.
10. A computer-readable storage device storing a program that, when executed by a processor, implements the steps of the drowning detection method based on skeletal points in a radar-complete occlusion image as described in any one of claims 1-8.
