Human fall detection method, device, equipment and storage medium under occlusion conditions

By acquiring and preprocessing real-time video data, combining depth and visible light images, filtering target pixel positions, and calculating angular velocity to determine fall events, the accuracy problem of human fall detection under occlusion conditions in the existing technology is solved, and the system is realized in complex backgrounds. Accurate fall detection and timely response.

CN118379800BActive Publication Date: 2024-09-17NINGBO SIMSHINE INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410817142.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-09-17
Estimated Expiration
2044-06-24

AI Technical Summary

Technical Problem

The existing technology cannot accurately detect human fall events under occlusion conditions. Especially when the depth image renders the image based on the distance from the object to the camera, key joint points are blocked, resulting in incomplete or misdetected joint point data, affecting the accuracy of speed and acceleration calculations. nature, thus leading to misjudgment or omission.

Method used

Real-time video data is obtained, decomposed into multiple frames of real-time images, and the humanoid position and initial depth image are determined through preprocessing. The visible light real-time image and depth image are combined, and the target detection model and depth calculation model are used to filter the target pixel position information and calculate the angular velocity. to determine fall events.

Benefits of technology

It improves the accuracy of human fall detection under occlusion conditions, can accurately identify the position and movement trend of human figures under complex backgrounds or partial occlusions, and issues safety reminders in a timely manner to ensure response and assistance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118379800B
    Figure CN118379800B
Patent Text Reader

Abstract

The present invention relates to the technical field of human fall detection, solves the problem in the prior art that human fall events cannot be accurately detected under occlusion conditions, and provides a method, device, equipment and storage medium for human fall detection under occlusion conditions. The method includes: acquiring real-time video data in a monitoring scene for a target object, decomposing the real-time video data into multiple frames of real-time images; preprocessing the real-time images to determine the human shape position information and initial depth image of the target object; determining the target pixel position information related to the real-time motion posture of the target object based on the initial depth image and the human shape position information; performing fall detection on the target object based on the target pixel position information, and issuing a safety reminder when a fall of the target object is detected. The present invention improves the accuracy of human fall event detection under occlusion conditions, ensures timely response and assistance, and guarantees the safety of the monitored object.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of human fall detection, and in particular to a method, device, equipment and storage medium for human fall detection under occlusion conditions. Background Art

[0002] The existing human fall detection technology solutions mainly include detection based on wearable devices, detection based on environmental sensors, and detection based on intelligent video analysis. The above technologies judge fall events by monitoring the human body's motion state, environmental changes or image information. Although the technology is constantly improving, it still faces some technical problems. The current technology, especially the method relying on visual sensors, often does not work well when dealing with occlusion problems. However, furniture such as sofas, beds, tables, etc. often block the fallen human body. The camera may not be able to capture the moment of the fall or see the partially blocked parts of the human body. At the same time, the environment of homes and nursing homes is complex, and the carpets, furniture and human clothes may be close in color, making it difficult for the algorithm to distinguish between the human body and the background; in a dynamic home environment, other moving objects (such as pets, other people, etc.) will also cause instantaneous line of sight occlusion, further increasing the difficulty of detection.

[0003] The existing Chinese patent CN113409348A discloses a fall detection system and a fall detection method based on a depth image, the method comprising: reading a depth image, preprocessing the depth image, and obtaining a depth image containing only a human body area; calculating the coordinates of human body joints according to the depth information, and returning the recorded coordinate information and timestamp; calculating the velocity features and acceleration features of the joints according to the obtained joint point coordinate positions as height features; fusing the three features of the latest 10 consecutive frames of joints as a classification basis, and using a SVM classifier for classification to determine whether a fall event has occurred. However, in the above-mentioned patent, the depth image is rendered based on the distance from the object to the camera. If the key joints (such as the neck and the base of the spine) are blocked by other objects or other people, the depth camera cannot accurately capture the positions of these joints. The occlusion will cause incomplete or false detection of the joint data, thereby affecting the accuracy of the joint position and the subsequent calculation of speed and acceleration. The accuracy of the joint coordinates directly affects the calculation of speed and acceleration. If the input joint coordinate data has errors due to occlusion, the speed and acceleration derived based on the difference of these coordinates will also be unreliable. This inaccuracy may lead to misjudgment or missed fall events. Even if the joint data is relatively accurate in the absence of occlusion, the performance of the SVM classifier is highly dependent on the quality and generalization ability of the training data. The training data obtained under occlusion may contain noise, making it difficult for the classifier to accurately classify in new and unseen occlusion situations.

[0004] Therefore, how to accurately detect human fall events under occlusion conditions is an urgent problem to be solved. Summary of the invention

[0005] In view of this, the present invention provides a method, device, equipment and storage medium for detecting a human fall under an occlusion condition, so as to solve the problem in the prior art that a human fall event cannot be accurately detected under an occlusion condition.

[0006] The technical solution adopted by the present invention is:

[0007] In a first aspect, the present invention provides a method for detecting a human fall under an occlusion condition, the method comprising:

[0008] Acquire real-time video data in daily monitoring scenarios for a target object, and decompose the real-time video data into multiple frames of real-time images;

[0009] Preprocessing the real-time image to determine the human figure position information and initial depth image of the target object;

[0010] Determining target pixel position information related to the real-time motion posture of the target object based on the initial depth image and the human figure position information;

[0011] According to the target pixel position information, fall detection is performed on the target object, and when a fall of the target object is detected, a safety reminder is issued.

[0012] Preferably, the preprocessing of the real-time image to determine the human position information and the initial depth image of the target object comprises:

[0013] Inputting the real-time image into a pre-trained depth calculation model to determine the initial depth image;

[0014] Inputting the real-time image into a pre-trained target detection model to determine a target object detection result;

[0015] When the target object detection result is that the target object is detected, the human figure position information is acquired.

[0016] Preferably, determining the target pixel position information related to the real-time motion posture of the target object based on the initial depth image and the human figure position information includes:

[0017] Segmenting the initial depth image according to the human figure position information to obtain a human body depth image corresponding to the target object;

[0018] According to the human figure position information, each pixel point in the human body depth image is screened to determine the target pixel point position information.

[0019] Preferably, the step of screening each pixel in the human body depth image based on the human figure position information to determine the target pixel position information includes:

[0020] Determine a first screening parameter according to the height of the human figure frame in the human figure position information;

[0021] Determining a second screening parameter according to a human figure frame width in the human figure position information;

[0022] Pixel point screening is performed in the human body depth image according to the first screening parameter and the second screening parameter to determine the target pixel point position information.

[0023] Preferably, performing fall detection on the target object based on the target pixel position information, and issuing a safety reminder when a fall of the target object is detected includes:

[0024] Determine the three-dimensional spatial position information of each pixel in the human body depth image according to the first position information of each pixel in the human body depth image and a preset camera intrinsic parameter matrix;

[0025] Determine the three-dimensional spatial position information of the reference point and the three-dimensional spatial position information of the non-reference point according to the target pixel point information and the three-dimensional spatial position information;

[0026] Calculating the three-dimensional spatial position information of the reference point and the three-dimensional spatial position information of the non-reference point to determine the angular velocity of the non-reference point relative to the reference point;

[0027] According to the angular velocity, fall detection is performed on the target object, and when a fall of the target object is detected, a safety reminder is issued.

[0028] Preferably, the calculating the three-dimensional spatial position information of the reference point and the three-dimensional spatial position information of the non-reference point to determine the angular velocity of the non-reference point relative to the reference point comprises:

[0029] Determine a displacement vector of the non-reference point relative to the reference point based on the three-dimensional spatial position information of the reference point and the three-dimensional spatial position information of the non-reference point;

[0030] Determining the angle between the displacement vector and the vertical vector according to the displacement vector and a preset vertical direction vector;

[0031] The angular velocity is determined according to the included angle corresponding to each frame image and the time interval between each frame image.

[0032] Preferably, performing fall detection on the target object based on the angular velocity, and issuing a safety reminder when a fall of the target object is detected includes:

[0033] Calculate the angular velocities corresponding to multiple non-reference points and output the proportional relationship between the angular velocities;

[0034] According to the proportional relationship and the displacement vectors corresponding to the non-reference points, if the angular velocities are proportional to each other and the angular velocities corresponding to the displacement vectors meet the fall conditions, it is considered that the target object has fallen and a safety reminder is issued.

[0035] In a second aspect, the present invention provides a human fall detection device under an occlusion condition, the device comprising:

[0036] A real-time image acquisition module is used to acquire real-time video data in daily monitoring scenarios of a target object and decompose the real-time video data into multiple frames of real-time images;

[0037] A preprocessing module, used to preprocess the real-time image to determine the human position information and initial depth image of the target object;

[0038] A motion posture analysis module, used to determine target pixel position information related to the real-time motion posture of the target object based on the initial depth image and the human position information;

[0039] The fall detection module is used to perform fall detection on the target object based on the target pixel position information, and issue a safety reminder when a fall of the target object is detected.

[0040] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory, which, when executed by the processor, implement the method of the first aspect in the above-mentioned embodiment.

[0041] In a fourth aspect, an embodiment of the present invention further provides a storage medium on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the method of the first aspect in the above-mentioned embodiment is implemented.

[0042] In summary, the beneficial effects of the present invention are as follows:

[0043] The present invention provides a method, device, equipment and storage medium for detecting human falls under occlusion conditions. The method comprises: acquiring real-time video data in daily monitoring scenarios for a target object, and decomposing the real-time video data into multiple frames of real-time images; preprocessing the real-time images to determine the human shape position information and an initial depth image of the target object; determining target pixel point position information related to the real-time motion posture of the target object based on the initial depth image and the human shape position information; performing fall detection on the target object based on the target pixel point position information, and issuing a safety reminder when a fall of the target object is detected. The present invention combines the advantages of visible light real-time images and depth images, and pre-processes the real-time images, such as using a target detection model to highlight the shape of the human body, helping to more accurately identify the position of the human figure in a complex background or partial occlusion; based on the initial depth image and the human figure position information, the target pixel points are evenly selected, thereby avoiding the problem that the key points of the bones of some human body parts cannot be detected by machine vision processing technology under occlusion conditions, and by analyzing the movement trend of the human body, the movement pattern and posture changes of the human body are determined to determine whether there is a risk of falling. Therefore, the present invention improves the accuracy of human fall detection under occlusion conditions. When a fall event is detected, a safety reminder is immediately issued in various ways to ensure timely response and assistance. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the drawings required for use in the embodiment of the present invention will be briefly introduced below. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work, and these are all within the protection scope of the present invention.

[0045] Figure 1 This is a schematic diagram of the overall working process of the human fall detection method under occlusion conditions in Example 1 of the present invention;

[0046] Figure 2 This is a schematic diagram of a process for preprocessing the real-time image in Embodiment 1 of the present invention;

[0047] Figure 3 This is a schematic diagram of a process for determining target pixel position information in Embodiment 1 of the present invention;

[0048] Figure 4 This is a schematic diagram of a process for screening each pixel point in a human body depth image in Embodiment 1 of the present invention;

[0049] Figure 5 is a schematic diagram of a process of performing fall detection on a target object according to the target pixel position information in Embodiment 1 of the present invention;

[0050] Figure 6It is a schematic diagram of a flow chart of determining the angular velocity of a non-reference point moving relative to a reference point in Embodiment 1 of the present invention;

[0051] Figure 7 is a schematic diagram of a process of performing fall detection on a target object according to the angular velocity in Embodiment 1 of the present invention;

[0052] Figure 8 is a structural block diagram of a human fall detection device under occlusion conditions in Embodiment 2 of the present invention;

[0053] Fig. 9 It is a schematic diagram of the structure of the electronic device in Embodiment 3 of the present invention. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solution and advantages of the embodiment of the present invention clearer, the technical solution in the embodiment of the present invention will be clearly and completely described in conjunction with the drawings in the embodiment of the present invention. It should be noted that, in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. In the description of the present invention, it should be understood that the orientation or position relationship indicated by the terms "center", "upper", "lower", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc. is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. Moreover, the term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such a process, method, article or device. In the absence of further restrictions, the elements defined by the phrase "comprising..." do not exclude the existence of other identical elements in the process, method, article or device comprising the elements. If there is no conflict, the embodiments of the present invention and the various features in the embodiments can be combined with each other, all within the protection scope of the present invention.

[0055] Example 1

[0056] See also Figure 1 Embodiment 1 of the present invention discloses a method for detecting a human fall under an occlusion condition, the method comprising:

[0057] Acquire real-time video data in daily monitoring scenarios for a target object, and decompose the real-time video data into multiple frames of real-time images;

[0058] Specifically, a camera is installed in a specific manner, and the specific manner includes at least tilted installation or top-view installation to continuously monitor the target object and obtain real-time video data in daily monitoring scenarios for the target object. The target object includes at least the elderly, people living alone or other people with weak physical conditions. The daily monitoring scenes include at least scenes where the human body is easily obscured, such as home interiors, campuses, and shopping malls. At the same time, the camera is calibrated by Zhang's calibration method, which is a common camera calibration technology. It is used to obtain the camera's intrinsic parameter matrix K. The intrinsic parameter matrix contains key information such as the camera's focal length, principal point coordinates, and distortion parameters to ensure that real-time video data can be accurately obtained from the camera's perspective; the acquired real-time video data is decomposed into multiple frames of real-time images. This process is usually implemented through video processing software, and each frame of the real-time image is analyzed and processed separately. Such a setting supports continuous and detailed monitoring of the target object, which is convenient for behavior analysis, security monitoring or other applications that require real-time data support.

[0059] Preprocessing the real-time image to determine the human figure position information and initial depth image of the target object;

[0060] Specifically, the real-time image is preprocessed to identify and locate the target object (usually a human figure) in the image and generate an initial depth image. The preprocessing process includes the use of a human detection algorithm, which includes YOLO (You Only Look Once), SSD (Single Shot Multibox Detector) and Faster R-CNN (Faster Region-based Convolutional Neural Network) based on deep learning, as well as the traditional Histogram of Oriented Gradients (HOG) combined with the support vector machine (SVM) method to accurately identify the human figure in the image and determine its position in the scene, and obtain the human position information; in addition, the method of generating the initial depth image includes the use of stereo vision-based matching technology, single-image-based deep learning models such as Monodepth, and light field imaging technology for depth estimation, which is crucial for subsequent spatial analysis and three-dimensional modeling applications. The whole process lays the foundation for more complex image processing tasks, such as motion tracking or behavior recognition.

[0061] In one embodiment, see Figure 2 The preprocessing of the real-time image to determine the human position information and the initial depth image of the target object includes:

[0062] Inputting the real-time image into a pre-trained depth calculation model to determine the initial depth image;

[0063] Specifically, a pre-trained depth calculation model is used, and the real-time image is input into it to determine the initial depth image. Among them, by using a monocular depth calculation model, such as the MonoDepth model, the depth field calculation is performed on a single image to generate an initial depth image Depth(x,y), where (x,y) represents the position of the pixel in the initial depth image. This method combines the capabilities of the deep learning model and the advantages of monocular depth estimation, effectively obtaining relatively accurate depth information from a single color image, and providing key data support for subsequent 3D scene understanding and application.

[0064] Inputting the real-time image into a pre-trained target detection model to determine a target object detection result;

[0065] Specifically, a pre-trained target detection model, such as YoloV8s, is used to input real-time images to determine the detection results of the target object. The main goal is to detect the human body frame P(x, y, w, h), where (x, y) is the center position of the frame, and (w, h) is the width and height of the frame. In this way, the human body and its position information can be identified from the image in real time, providing effective data support for various application scenarios such as security monitoring and crowd counting.

[0066] When the target object detection result is that the target object is detected, the human figure position information is acquired.

[0067] Determining target pixel position information related to the real-time motion posture of the target object based on the initial depth image and the human figure position information;

[0068] Specifically, by combining the spatial information and human position information provided by the initial depth image, the motion posture of the target object is inferred, and then the target pixel position information related to the posture is determined. The target pixel position information is crucial for real-time tracking of the target object's motion and behavior analysis, and can be used to identify actions, postures, behavior patterns, etc.

[0069] In one embodiment, see Figure 3 , the determining of the target pixel position information related to the real-time motion posture of the target object based on the initial depth image and the human position information includes:

[0070] Segmenting the initial depth image according to the human figure position information to obtain a human body depth image corresponding to the target object;

[0071] Specifically, the initial depth image is segmented according to the human position information to obtain the human body depth image corresponding to the target object, that is, by combining the human body frame P(x,y,w,h) and the depth field image Depth(x,y), the depth field image P_D(x,y) of the target object (such as the elderly) is obtained, where (x,y) represents the pixel position in the image. By combining the human position information and the depth image, the depth information of the area where the target object is located is obtained. By segmenting the initial depth image with the human position information, the depth image of the area where the target object is located can be effectively extracted. Such a depth field image helps to perform more accurate posture analysis, motion tracking, and behavior recognition, and improves the accuracy and reliability of understanding and monitoring of the target object.

[0072] According to the human figure position information, each pixel point in the human body depth image is screened to determine the target pixel point position information.

[0073] Specifically, according to the human shape position information, the pixels in the human body depth image are screened to determine the pixel position information of the target object. By screening the pixels related to the target object in the human body depth image, the position information of the target object in the depth image is accurately determined, thereby achieving effective extraction and utilization of the depth information of the target object, wherein the screening method includes at least threshold method, morphological operation, contour detection, region growing and machine learning method. This process provides important data support for subsequent tasks such as target object behavior analysis and motion trend prediction.

[0074] In one embodiment, see Figure 4 , the step of screening each pixel point in the human body depth image based on the human figure position information to determine the target pixel point position information includes:

[0075] Determine a first screening parameter according to the height of the human figure frame in the human figure position information;

[0076] Specifically, in the human position information, the height of the human frame provides an important reference for the vertical size of the target object. In order to more accurately capture the posture characteristics of the target object, one tenth of the height of the human frame is used as the first screening parameter based on the height of the human frame in the human position information. The purpose of this step is to provide an important basis for subsequent pixel point screening based on the vertical size of the human frame.

[0077] Determining a second screening parameter according to a human figure frame width in the human figure position information;

[0078] Specifically, the width of the human frame in the human position information provides important information about the horizontal size of the target object. In order to more accurately determine the posture characteristics of the target object, one tenth of the width of the human frame is used as the second screening parameter. Through this step, the horizontal size of the human frame provides an important basis for subsequent pixel point screening.

[0079] Pixel point screening is performed in the human body depth image according to the first screening parameter and the second screening parameter to determine the target pixel point position information.

[0080] Specifically, according to the first screening parameter and the second screening parameter, taking the human body frame as the research target, according to the row h / 10 as the ladder and the column coordinate w / 2, 10 target pixel points are evenly selected in the human body frame, and the coordinates of the 10 target pixel points are as follows: B10 (w / 2, 0), B9 (w / 2, h / 10), B8 (w / 2, h / 10*2), ..., B1 (w / 2, h / 10*9)) as the target representative points of the elderly posture; this selection method will obtain 10 evenly distributed points inside the human body frame, representing different height positions from the top to the bottom of the human body frame, thereby comprehensively reflecting the posture of the target object and avoiding the problem of being unable to detect the key points of the human skeleton under occlusion conditions, because these selected target pixel points are evenly distributed inside the human body frame that can be detected by the camera and will not be affected by occlusion, thereby improving the accuracy and comprehensiveness of the posture analysis of the target object.

[0081] According to the target pixel position information, fall detection is performed on the target object, and when a fall of the target object is detected, a safety reminder is issued.

[0082] Specifically, by using the previously determined target pixel location information, the motion posture and position of the target object are monitored in real time, thereby determining the state of the target object, such as posture and motion pattern, and identifying whether a fall has occurred. When a fall of the target object is detected, a safety reminder will be triggered, which includes warning relevant personnel through sound, light or alarm so that timely action can be taken and assistance can be provided. This can detect and respond to unexpected situations in a timely manner when monitoring the elderly, children or other people who need special attention to ensure their safety.

[0083] In one embodiment, see Figure 5 , performing fall detection on the target object based on the target pixel position information, and issuing a safety reminder when a fall of the target object is detected, includes:

[0084] Determine the three-dimensional spatial position information of each pixel in the human body depth image according to the first position information of each pixel in the human body depth image and a preset camera intrinsic parameter matrix;

[0085] Specifically, according to the provided camera intrinsic parameter matrix K, where K includes the key parameters of the focal lengths fx and fy, and the principal point coordinates (Cx, Cy), combined with the first position information of each pixel in the human body depth image, the knowledge of camera geometry can be used to calculate the coordinates of the pixel in three-dimensional space, and obtain the three-dimensional coordinates (X, Y, Z) of each pixel in the camera coordinate system, so as to accurately understand the position information of each pixel in the human body depth image in space, providing basic data for subsequent three-dimensional reconstruction, posture estimation and other tasks.

[0086] Determine the three-dimensional spatial position information of the reference point and the three-dimensional spatial position information of the non-reference point according to the target pixel point information and the three-dimensional spatial position information;

[0087] Specifically, the target pixel information and the three-dimensional spatial position information are used to determine the three-dimensional spatial position information of the reference point and the non-reference point, where the reference point is defined as the position of the lowest point of the human body frame, namely B10 (w / 2, 0), because in a fall event, since the fall usually starts from this point, it can provide the most important information in the fall process. According to the target pixel information and the three-dimensional spatial position information, the pixel position of the lowest point is converted into coordinates in the three-dimensional space, thereby obtaining the three-dimensional spatial position information of the reference point. The non-reference point refers to the other nine points except the lowest point. They are at different positions in the human body frame and represent other key points of the human body, such as the upper body, head and other parts. Similarly, by converting the position information of these pixel points into coordinates in the three-dimensional space, the three-dimensional spatial position information of each non-reference point is determined. By determining the three-dimensional spatial position information of the reference point and the non-reference point, I established a three-dimensional coordinate system based on the human body frame and used it in the fall detection system. By monitoring the relative position and movement between the reference point and the non-reference point, it can be determined whether a fall has occurred and take corresponding safety measures.

[0088] Calculating the three-dimensional spatial position information of the reference point and the three-dimensional spatial position information of the non-reference point to determine the angular velocity of the non-reference point relative to the reference point;

[0089] Specifically, based on the three-dimensional spatial position information of the reference point and the non-reference point, the angular velocity of the non-reference point relative to the reference point is calculated, and the movement of the non-reference point relative to the reference point is determined by analyzing and comparing the position information of the reference point and the non-reference point. Further, the angular velocity of the non-reference point relative to the reference point is calculated using the changes in the position information. The angular velocity is used for fall detection, and is used to monitor and identify abnormal movement patterns, so as to timely detect possible fall events and take corresponding measures.

[0090] In one embodiment, see Figure 6, the calculating the three-dimensional spatial position information of the reference point and the three-dimensional spatial position information of the non-reference point to determine the angular velocity of the non-reference point relative to the reference point includes:

[0091] Determine a displacement vector of the non-reference point relative to the reference point based on the three-dimensional spatial position information of the reference point and the three-dimensional spatial position information of the non-reference point;

[0092] Specifically, based on the 3D spatial position information of the reference point and the other 9 key points, we can calculate the displacement vector of each key point relative to the reference point. Assume that the 3D coordinates of the reference point are (X_ref, Y_ref, Z_ref), and the 3D coordinates of the other 9 key points are (X_i, Y_i, Z_i), where i ranges from 1 to 9. represents the displacement vector of the ith key point relative to the reference point, (X_i, Y_i, Z_i) represents the three-dimensional coordinates of the ith key point, (X_ref, Y_ref, Z_ref) represents the three-dimensional coordinates of the reference point, and by calculating (X_i, Y_i, Z_i) and (X_ref, Y_ref, Z_ref), the displacement vectors of the other nine key points relative to the reference point are obtained, so as to understand their position changes relative to the reference point, and then further analysis and application are carried out.

[0093] Determining the angle between the displacement vector and the vertical vector according to the displacement vector and a preset vertical direction vector;

[0094] Specifically, if the vertical vector is (0, -1, 0), it means that the vector points in the vertical downward direction, that is, the negative y-axis direction, and the angle between the displacement vector and the vertical vector is calculated.

[0095] The angular velocity is determined according to the included angle corresponding to each frame image and the time interval between each frame image.

[0096] Specifically, according to the angle corresponding to each frame image and the time interval between each frame image, assuming that the time interval between two frames of image is Δt, the angles of displacement of the nine points between two consecutive frames are respectively: ;in, represents the angle of displacement of the i-th non-reference point. The angular velocity ωi of each non-reference point is approximately: By calculating the angular velocity between two frames of images, the angular velocity between all pairs of frame images is calculated to obtain a time series of angular velocity, so as to understand the change of the motion of the non-reference point relative to the reference point over time.

[0097] According to the angular velocity, fall detection is performed on the target object, and when a fall of the target object is detected, a safety reminder is issued.

[0098] Specifically, based on the angular velocity, by monitoring the angular velocity of the target object, abnormal movement patterns are identified. For example, when the angular velocity shows a proportional change, the angular velocity suddenly increases, or the angular velocity exceeds a preset threshold, it is considered that an abnormal change has occurred in the target object, and it is judged that a fall event has occurred, and a corresponding safety reminder is triggered.

[0099] In one embodiment, see Figure 7 , performing fall detection on the target object according to the angular velocity, and issuing a safety reminder when a fall of the target object is detected, includes:

[0100] Calculate the angular velocities corresponding to multiple non-reference points and output the proportional relationship between the angular velocities;

[0101] According to the proportional relationship and the displacement vectors corresponding to the non-reference points, if the angular velocities are proportional to each other and the angular velocities corresponding to the displacement vectors meet the fall conditions, it is considered that the target object has fallen and a safety reminder is issued.

[0102] Specifically, based on the different distances between different parts of the human body and the fulcrum (i.e., the lowest point of the human body frame), the angular velocities generated during a fall are different. During a fall, the angular velocities of the farther parts (such as the non-reference points corresponding to the head) are relatively large due to their distance from the fulcrum, and are proportional to the distance from the fulcrum. Therefore, by observing the angular velocities of various parts of the human body and performing multiple fluctuation analysis, it is possible to determine whether a fall has occurred, that is: if the condition is satisfied Here, It means that the multiples are Fluctuation, that is, satisfying (1.9~2.2), (2.7~3.3),..., (8.1~9.9); it can be considered that the target object is doing fan-shaped motion at this time, and it is considered that the target object has fallen. Through the above fall detection process, the movement pattern of the target object is observed, and the possibility of falling can be judged before the fall occurs, providing early warning, timely discovering the fall, avoiding the target object from being injured by the fall, and improving safety and health protection; at the same time, the above scheme can identify whether a fall-like movement has been performed by monitoring the lever movement of the human body, and can maintain a high recognition accuracy even in complex backgrounds or under occlusion. Through sophisticated three-dimensional motion analysis and a fall judgment mechanism based on physical lever theory, it can distinguish between ordinary activities and actual fall behaviors, reducing false alarms caused by posture misjudgment, such as some movements or daily life movements mistaken for falls.

[0103] Example 2

[0104] See also Figure 8 Embodiment 2 of the present invention further provides a human fall detection device under an obstruction condition, the device comprising:

[0105] A real-time image acquisition module is used to acquire real-time video data in daily monitoring scenarios of a target object and decompose the real-time video data into multiple frames of real-time images;

[0106] A preprocessing module, used to preprocess the real-time image to determine the human position information and initial depth image of the target object;

[0107] A motion posture analysis module, used to determine target pixel position information related to the real-time motion posture of the target object based on the initial depth image and the human position information;

[0108] The fall detection module is used to perform fall detection on the target object based on the target pixel position information, and issue a safety reminder when a fall of the target object is detected.

[0109] Specifically, a human fall detection device under occlusion conditions provided by an embodiment of the present invention is used, and the device includes: a real-time image acquisition module, used to acquire real-time video data in daily monitoring scenarios for a target object, and decompose the real-time video data into multiple frames of real-time images; a preprocessing module, used to preprocess the real-time image, and determine the human shape position information and the initial depth image of the target object; a motion posture analysis module, used to determine the target pixel position information related to the real-time motion posture of the target object based on the initial depth image and the human shape position information; a fall detection module, used to perform fall detection on the target object based on the target pixel position information, and issue a safety reminder when a fall of the target object is detected. This device combines the advantages of visible light real-time images and depth images to pre-process real-time images, such as using a target detection model to highlight the shape of the human body, helping to more accurately identify the position of the human figure in complex backgrounds or partial occlusions; based on the initial depth image and the human position information, the target pixel points are evenly selected to avoid the problem that the key points of the bones of some human body parts cannot be detected through machine vision processing technology under occlusion conditions. By analyzing the movement trends of the human body, the movement pattern and posture changes of the human body are determined to determine whether there is a risk of falling. Therefore, this device improves the accuracy of human fall detection under occlusion conditions. When a fall event is detected, a safety reminder is immediately issued in various ways to ensure timely response and assistance.

[0110] Example 3

[0111] In addition, combined Figure 1 The human fall detection method under occlusion conditions described in Embodiment 1 of the present invention may be implemented by an electronic device. Fig. 9 A schematic diagram of the hardware structure of an electronic device provided in Embodiment 3 of the present invention is shown.

[0112] The electronic device may include a processor and a memory storing computer program instructions.

[0113] Specifically, the processor may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiment of the present invention.

[0114] The memory may include a large capacity memory for data or instructions. By way of example and not limitation, the memory may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. Where appropriate, the memory may include a removable or non-removable (or fixed) medium. Where appropriate, the memory may be inside or outside the data processing device. In a particular embodiment, the memory is a non-volatile solid-state memory. In a particular embodiment, the memory includes a read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or a flash memory or a combination of two or more of these.

[0115] The processor implements any one of the human fall detection methods under shielding conditions in the above embodiments by reading and executing computer program instructions stored in the memory.

[0116] In one example, the electronic device may further include a communication interface and a bus. Fig. 9 As shown, the processor, memory, and communication interface are connected via a bus and communicate with each other.

[0117] The communication interface is mainly used to implement communication between the modules, devices, units and / or equipment in the embodiments of the present invention.

[0118] The bus includes hardware, software or both, and the components of the device are coupled to each other. For example, but not limitation, the bus may include an accelerated graphics port (AGP) or other graphics bus, an enhanced industrial standard architecture (EISA) bus, a front-side bus (FSB), a hypertransport (HT) interconnection, an industrial standard architecture (ISA) bus, an infinite bandwidth interconnection, a low pin count (LPC) bus, a memory bus, a microchannel architecture (MCA) bus, a peripheral component interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a serial advanced technology attachment (SATA) bus, a video electronics standard association local (VLB) bus or other suitable bus or a combination of two or more of these. Where appropriate, the bus may include one or more buses. Although the embodiments of the present invention describe and illustrate a specific bus, the present invention contemplates any suitable bus or interconnection.

[0119] Example 4

[0120] In addition, in combination with the human body fall detection method under the occlusion condition in the above embodiment 1, embodiment 4 of the present invention can also provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any human body fall detection method under the occlusion condition in the above embodiments is implemented.

[0121] In summary, the embodiments of the present invention provide a method, device, equipment and storage medium for detecting a human fall under an occlusion condition.

[0122] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0123] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.

[0124] The functional blocks shown in the structural block diagram described above can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier. "Machine-readable medium" may include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROMs, flash memories, erasable ROMs (EROMs), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0125] It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in a different order from the embodiments, or several steps can be performed simultaneously.

[0126] The above is only a specific implementation of the present invention. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the system, module and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be covered within the protection scope of the present invention.

Claims

1. A human fall detection method under occlusion conditions, characterized in that: The method comprises: Acquire real-time video data in daily monitoring scenarios for a target object, and decompose the real-time video data into multiple frames of real-time images; Preprocessing the real-time image to determine the human figure position information and initial depth image of the target object; Determining target pixel position information related to the real-time motion posture of the target object based on the initial depth image and the human figure position information; According to the target pixel position information, a fall detection is performed on the target object, and when a fall is detected on the target object, a safety reminder is issued; Determining the target pixel position information related to the real-time motion posture of the target object based on the initial depth image and the human figure position information includes: Segmenting the initial depth image according to the human figure position information to obtain a human body depth image corresponding to the target object; According to the human figure position information, each pixel point in the human body depth image is screened to determine the target pixel point position information; The step of screening each pixel point in the human body depth image according to the human figure position information to determine the target pixel point position information includes: Determine a first screening parameter according to the height of the human figure frame in the human figure position information; Determining a second screening parameter according to a human figure frame width in the human figure position information; Screening pixels in the human body depth image according to the first screening parameter and the second screening parameter to determine the target pixel position information; The preprocessing of the real-time image to determine the human position information and the initial depth image of the target object includes: Inputting the real-time image into a pre-trained depth calculation model to determine the initial depth image; Inputting the real-time image into a pre-trained target detection model to determine a target object detection result; When the target object detection result is that the target object is detected, acquiring the human figure position information; The performing fall detection on the target object according to the target pixel position information, and issuing a safety reminder when a fall of the target object is detected, comprises: Determine the three-dimensional spatial position information of each pixel in the human body depth image according to the first position information of each pixel in the human body depth image and a preset camera intrinsic parameter matrix; Determine the three-dimensional spatial position information of the reference point and the three-dimensional spatial position information of the non-reference point according to the target pixel point information and the three-dimensional spatial position information; Calculating the three-dimensional spatial position information of the reference point and the three-dimensional spatial position information of the non-reference point to determine the angular velocity of the non-reference point relative to the reference point; Performing fall detection on the target object according to the angular velocity, and issuing a safety reminder when a fall of the target object is detected; The calculating the three-dimensional spatial position information of the reference point and the three-dimensional spatial position information of the non-reference point to determine the angular velocity of the non-reference point relative to the reference point comprises: Determine a displacement vector of the non-reference point relative to the reference point based on the three-dimensional spatial position information of the reference point and the three-dimensional spatial position information of the non-reference point; Determining the angle between the displacement vector and the vertical vector according to the displacement vector and a preset vertical direction vector; Determine the angular velocity according to the angle corresponding to each frame image and the time interval between each frame image; The performing fall detection on the target object according to the angular velocity, and issuing a safety reminder when a fall of the target object is detected, comprises: Calculate the angular velocities corresponding to multiple non-reference points and output the proportional relationship between the angular velocities; According to the proportional relationship and the displacement vectors corresponding to the non-reference points, if the angular velocities are proportional to each other and the angular velocities corresponding to the displacement vectors meet the fall conditions, it is considered that the target object has fallen and a safety reminder is issued.

2. A human fall detection device under occlusion conditions, characterized in that: The device comprises: A real-time image acquisition module is used to acquire real-time video data in daily monitoring scenarios of a target object and decompose the real-time video data into multiple frames of real-time images; A preprocessing module, used to preprocess the real-time image to determine the human position information and initial depth image of the target object; A motion posture analysis module, used to determine target pixel position information related to the real-time motion posture of the target object based on the initial depth image and the human position information; A fall detection module, used to perform fall detection on a target object based on the target pixel position information, and issue a safety reminder when a fall of the target object is detected; Determining the target pixel position information related to the real-time motion posture of the target object based on the initial depth image and the human figure position information includes: Segmenting the initial depth image according to the human figure position information to obtain a human body depth image corresponding to the target object; According to the human figure position information, each pixel point in the human body depth image is screened to determine the target pixel point position information; The step of screening each pixel point in the human body depth image according to the human figure position information to determine the target pixel point position information includes: Determine a first screening parameter according to the height of the human figure frame in the human figure position information; Determining a second screening parameter according to a human figure frame width in the human figure position information; Screening pixels in the human body depth image according to the first screening parameter and the second screening parameter to determine the target pixel position information; The preprocessing of the real-time image to determine the human position information and the initial depth image of the target object includes: Inputting the real-time image into a pre-trained depth calculation model to determine the initial depth image; Inputting the real-time image into a pre-trained target detection model to determine a target object detection result; When the target object detection result is that the target object is detected, acquiring the human figure position information; The performing fall detection on the target object according to the target pixel position information, and issuing a safety reminder when a fall of the target object is detected, comprises: Determine the three-dimensional spatial position information of each pixel in the human body depth image according to the first position information of each pixel in the human body depth image and a preset camera intrinsic parameter matrix; Determine the three-dimensional spatial position information of the reference point and the three-dimensional spatial position information of the non-reference point according to the target pixel point information and the three-dimensional spatial position information; Calculating the three-dimensional spatial position information of the reference point and the three-dimensional spatial position information of the non-reference point to determine the angular velocity of the non-reference point relative to the reference point; Performing fall detection on the target object according to the angular velocity, and issuing a safety reminder when a fall of the target object is detected; The calculating the three-dimensional spatial position information of the reference point and the three-dimensional spatial position information of the non-reference point to determine the angular velocity of the non-reference point relative to the reference point comprises: Determine a displacement vector of the non-reference point relative to the reference point based on the three-dimensional spatial position information of the reference point and the three-dimensional spatial position information of the non-reference point; Determining the angle between the displacement vector and the vertical vector according to the displacement vector and a preset vertical direction vector; Determine the angular velocity according to the angle corresponding to each frame image and the time interval between each frame image; The performing fall detection on the target object according to the angular velocity, and issuing a safety reminder when a fall of the target object is detected, comprises: Calculate the angular velocities corresponding to multiple non-reference points and output the proportional relationship between the angular velocities; According to the proportional relationship and the displacement vectors corresponding to the non-reference points, if the angular velocities are proportional to each other and the angular velocities corresponding to the displacement vectors meet the fall conditions, it is considered that the target object has fallen and a safety reminder is issued.

3. An electronic device, characterized in that: include: At least one processor, at least one memory and computer program instructions stored in the memory, which implement the method as claimed in claim 1 when the computer program instructions are executed by the processor.

4. A storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method as claimed in claim 1 is implemented.