Attitude detection negative feedback system and method based on image processing

Through the attitude detection system that combines image processing and electronic bracelets, it solves the problems of accurate identification and misjudgment of the existing anti-fall system, achieves accurate judgment and real-time feedback of the patient's fall and injury parts, and improves the quality of the patient's fall. Efficiency and safety of healthcare systems.

CN118697334APending Publication Date: 2024-09-27THE 964TH HOSPITAL OF THE CHINESE PEOPLES LIBERATION ARMY JOINT LOGISTICS SUPPORT FORCE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410733535.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-07
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

The existing anti-fall system cannot accurately distinguish between a patient's fall and active behavior, cannot dynamically determine the fall action, and is independent of the medical system, resulting in misjudgment and loss of trust. It cannot determine the location of the fall, which may lead to secondary injuries.

Method used

Adopting a posture detection negative feedback system based on image processing, through the identity recognition module, information processing module, behavior analysis module and fall alarm module, the YOLO-Pose algorithm is used to detect key points of human joints, combined with electronic bracelet positioning, to determine whether the patient has fallen. fall down and determine the location of the fall injury, and provide real-time feedback to medical staff.

Benefits of technology

It improves the accuracy of fall judgment, reduces misjudgments, provides accurate fall injury site information, reduces the workload of medical staff, avoids secondary injuries, and improves emergency response time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118697334A
    Figure CN118697334A
Patent Text Reader

Abstract

The invention relates to the field of posture detection, in particular to a posture detection negative feedback system based on image processing, which comprises an identity recognition module, an information processing module, a behavior analysis module and a tumble alarm module. The identity recognition module is used for recognizing identity information of a patient according to an electronic bracelet of the patient and determining a prescription of the patient; the information processing module is used for collecting indoor images, detecting azimuth coordinates of key points of human joints by using a YOLO-Pose algorithm model, and judging human limb orientations of a patient; the behavior analysis module is used for carrying out threshold value judgment according to the coordinate direction change of the human joint key points, detecting and judging whether the patient falls down or not, and judging the fall injury part of the patient according to the human body posture of the patient during falling; and the falling alarm module is used for feeding back the identity information and the current state of the falling patient to medical staff when the patient falls, and the medical staff judges and processes a falling injury alarm according to the fed-back information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of posture detection, and in particular to a posture detection negative feedback system and method based on image processing. Background Art

[0002] Today, as medical technology and living standards have significantly improved, people's views on medical treatment and hospitalization as well as hospital management methods are gradually changing. From the past of being reluctant to see a doctor and having the whole family accompany the patient, it has slowly begun to shift to comprehensive medical treatment in hospital, single care or even no family members accompanying the patient. This makes caring for patients' daily lives even more critical.

[0003] Among them, timely feedback and response to the patient's fall behavior is particularly important, but there are some areas that need to be improved in the current anti-fall system. First, simply and roughly judging whether the patient is in a state of bending or falling by the length and width of the human limb detection frame, or not distinguishing the patient's active behavior, it is also impossible to dynamically judge the dynamic action of falling, and it is impossible to accurately distinguish the patient's real fall from similar active behaviors, which brings a greater energy burden to medical staff; secondly, most of the current anti-fall systems are independent of the medical system, and cannot identify identity information when someone falls. Blind alarm reminders will cause the system's confidence to decrease after multiple misjudgments; finally, the current anti-fall system cannot judge the patient's possible fall injury site based on the patient's posture and movement changes when falling, and cannot provide non-professionals with more reliable prompts, which may cause secondary injuries when non-professionals help. Summary of the invention

[0004] The object of the present invention is to provide a posture detection negative feedback system and method based on image processing to solve the problems raised in the above background technology.

[0005] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0006] A posture detection negative feedback system based on image processing, characterized in that: the system includes an identity recognition module, an information processing module, a behavior analysis module, and a fall alarm module;

[0007] The output end of the identity recognition module is connected to the input end of the behavior analysis module and the fall alarm module; the output end of the information processing module is connected to the input end of the behavior analysis module; the output end of the behavior analysis module is connected to the input end of the fall alarm module;

[0008] The identity recognition module is used to remotely identify the patient's identity information based on the electronic bracelet worn by the patient, and determine the patient's indoor position; the information processing module is used to collect indoor images, use the YOLO-Pose algorithm model trained by the COCO data set to detect the position coordinates of the key points of the human joints, and connect the key points according to the connection relationship to detect the patient's body posture; the behavior analysis module is used to perform threshold judgment on the changes in the coordinates and position of the key points of the human joints detected by the information processing module, detect and judge whether the patient has fallen, and when the patient falls, judge the patient's fall site through the patient's body posture detected when falling; the fall alarm module is used to feedback the identity information of the fallen patient, the judged fall site and the image of the patient when falling to the medical staff in charge, and display the room where the patient is located. The medical staff in charge judges and processes the fall alarm based on the feedback image of the patient when falling;

[0009] According to the above technical solution, the identity recognition module includes a position detection unit and an identity recognition unit;

[0010] The output end of the position detection unit is connected to the input end of the behavior analysis module; the output end of the identity recognition unit is connected to the behavior analysis module and the input end of the fall alarm module;

[0011] The position detection unit is used to perform indoor position positioning according to the signal of the electronic bracelet worn by the patient; the identity recognition unit identifies the patient number through the signal of the electronic bracelet worn by the patient, thereby querying the patient's identity information; the electronic bracelet uniformly manages the patient's identity information and realizes accurate positioning of the patient's location, which facilitates medical staff to understand and grasp the patient's real-time situation and provides an extremely convenient expansion path for communication between medical staff and patients;

[0012] According to the above technical solution, the information processing module includes an image acquisition unit and a joint detection unit;

[0013] The output end of the image acquisition unit is connected to the input end of the behavior analysis module; the joint detection unit is connected to the input end of the behavior analysis module;

[0014] The image acquisition unit is used to collect indoor images when there is a patient wearing a bracelet in the room; the joint detection unit is used to detect the real-time posture of the patient, detect the orientation coordinates of the key points of the patient's limb joints through the collected real-time indoor images, and judge the orientation of the patient's limb connection line according to the connection relationship of the joint key points, and mark the detected joint key points and limb connection lines in the real-time image;

[0015] The joint detection unit uses the COCO data set with marked key points of human limb joints to train the YOLO-Pose model. It can detect multiple people’s postures in a situation where there are multiple people indoors, and then determine the patient’s position based on the wristband positioning, so as to accurately distinguish the posture information of the patient and other people, and reduce the redundant occupancy of the system.

[0016] According to the above technical solution, the behavior analysis module includes a fall detection unit and a fall injury site determination unit;

[0017] The input end of the fall detection unit and the fall injury part judgment unit is connected to the output end of the information processing module; the output end of the fall detection unit and the fall injury part judgment unit is connected to the input end of the fall injury alarm module;

[0018] The fall detection unit is used to determine whether the patient has fallen according to the position coordinates of the key points of the patient's limb joints detected by the information processing module through a coordinate threshold; the fall injury site determination unit is used to determine the fall injury site of the patient according to the position coordinates of the key points of the patient's limb joints and the position of the limb connection line when the patient falls;

[0019] Through real-time detection of the orientation coordinates of the key points of the patient's limb joints, the changes in the orientation coordinates of the key points of the patient's joints and the speed of movement are comprehensively analyzed to determine whether the patient has fallen, thus avoiding misjudgment of the patient's behavior due to the patient's slow bending or sitting down, and improving the accuracy of the system's judgment; through real-time detection of the key points of the limb joints whose orientation coordinates and speed exceed the threshold, the possible parts of the patient's fall are preliminarily determined according to the relationship between the key points of the joints and the limb lines, assisting medical staff in making preliminary judgments and assessments on the patient's fall condition;

[0020] According to the above technical solution, the fall alarm module includes a signal transmission unit, a fall alarm unit, and an alarm feedback unit;

[0021] The input end of the signal transmission unit is connected to the output end of the identity recognition module and the behavior analysis module; the input end of the fall alarm unit is connected to the output end of the behavior analysis module; the output end of the fall alarm unit is connected to the input end of the alarm feedback unit;

[0022] The signal transmission unit is used to send the identity information of the patient, the determined injury site and the image of the patient when falling to the medical staff in charge, and display the room where the patient is located when a patient falls; the alarm feedback unit is used for the medical staff in charge to preliminarily determine whether the patient has fallen based on the image of the patient when falling transmitted by the signal transmission unit, and when it is determined that the patient has indeed fallen, issue a fall alarm to the nearest alarm in the room, issue a patient fall alarm, and remind medical staff to check the patient's condition on site; when the patient's fall is a misjudgment, the detection result can be ignored and the patient fall alarm will not be issued; the fall alarm unit is used to select the nearest alarm according to the room where the patient is located to issue a patient fall alarm when a patient falls;

[0023] In the above scheme, when a patient falls, the patient's identity information is accurately confirmed based on the patient's electronic bracelet, the patient's location is located, and the alarm information is fed back to the medical staff for preliminary judgment and evaluation before taking measures. When the medical staff assesses that the patient has indeed fallen, timely and accurate feedback is provided to buy more emergency response time for the medical staff and the patient. When the medical staff assesses that it is a misjudgment, the alarm is ignored, avoiding meaningless consumption of the medical staff's time and energy.

[0024] A posture detection negative feedback method based on image processing, using a posture detection negative feedback system based on image processing in the above technical solution, the method steps are as follows:

[0025] Step S6-1. When the patient is admitted to the hospital, an electronic bracelet is assigned and the bracelet number is bound to personal information;

[0026] Step S6-2. When the patient enters the ward, the position detection unit in the room locates the patient's position according to the bracelet signal, and the image acquisition unit collects indoor images in real time;

[0027] Step S6-3. The joint detection unit detects the position coordinates of the patient's joint key points based on the indoor image collected in real time and determines the position of the patient's limb connection line;

[0028] Step S6-4. Perform real-time threshold judgment on the orientation coordinates of the patient's joint key points to detect whether the patient has fallen. When it is determined that the patient has fallen, estimate the patient's fall injury site based on the orientation of the patient's limb connection line;

[0029] Step S6-5. When determining that the patient has fallen, the patient's wristband number information is detected by judging the position of the patient's electronic wristband and the position distance of the patient's joint key point coordinates, and querying the patient's identity information;

[0030] Step S6-6. Send the identity information of the fallen patient, the determined injury site and the image of the patient when falling to the medical staff in charge;

[0031] Step S6-7. The medical staff determines whether the patient's fall is a misjudgment based on the real-time image of the patient's fall; when it is determined that the patient has indeed fallen, the patient's fall alarm is issued to the nearest alarm in the room where the patient is located, and the medical staff is reminded to come to the scene to check the patient's condition; when the patient's fall is a misjudgment, the detection result is ignored and the patient's fall alarm is not issued;

[0032] According to the above technical solution, in step S6-3, images with marked key points of human joints in the COCO dataset are used, and a lightweight model for real-time posture detection is trained using the YOLO-Pose algorithm. Then, the indoor images collected in real time are passed into the model to detect the coordinates of the key points of the patient's limb joints, and the connection relationship of the key points is set according to the limb connection relationship to determine the patient's limb connection orientation;

[0033] According to the above technical solution, after obtaining the orientation coordinates of the patient's joint key points in step S6-4, a threshold judgment is performed; when the heights of the limb joint key points other than the feet are continuously lower than the limb joint key point height threshold, the real-time movement speed v of the limb joint key points is calculated based on the changes in the orientation coordinates of the limb joint key points detected by continuous images. 实时 , according to the formula:

[0034]

[0035] Wherein, k is the scaling ratio of the distance between the real limb joint key point movement and the distance between the limb joint key point orientation coordinate change detected by the image, (x1, y1) is the coordinate of the limb joint key point in the previous frame of the image between two adjacent frames, (x2, y2) is the coordinate of the limb joint key point in the next frame of the image between two adjacent frames, and t0 is the time difference between the two frames;

[0036] When the real-time movement speed exceeds the speed threshold of the limb joint key point, it is determined that the patient has fallen down; when the patient falls down, the limb joint key points of the patient are found, which meet the height lower than the height threshold of the limb joint key point and the real-time movement speed exceeds the speed threshold of the limb joint key point, and the part of the patient's limb that has been injured is determined according to the corresponding limb joint;

[0037] According to the above technical solution, when it is detected in step S6-5 that the patient has fallen, the position of the patient's electronic bracelet is located indoors;

[0038] When the wrist position is not blocked, the Euclidean distance l1 between the key point of the patient's wrist joint and the orientation of each electronic bracelet is calculated based on the real-time image. If l1 is less than the threshold distance l when it is not blocked, 未遮挡 When the patient falls, it can be determined that the patient is wearing the electronic bracelet with the shortest distance, and the identity information of the patient who falls can be queried through the serial number information of the electronic bracelet;

[0039] When the wrist position is blocked, the closest distance l2 between the patient's limb joint key points and the bracelet position is calculated based on the real-time image. When l2 is less than the threshold distance l 遮挡 When the patient falls, it can be determined that the patient is wearing the electronic bracelet that is closest to the patient, and the identity information of the patient who falls can be queried through the number information of the electronic bracelet.

[0040] Compared with the prior art, the beneficial effects achieved by the present invention are:

[0041] 1. The present invention manages the patient's information in a unified manner, timely discovers patients who may fall through real-time image acquisition and detection, centrally feedbacks and processes the patient's real-time situation, and performs feedback pre-processing while giving timely reminders, thereby avoiding delays in rescue opportunities and reducing the time pressure on medical staff in responding to emergencies caused by misjudgment;

[0042] 2. The present invention locates the patient's position in the room through the patient's unique electronic bracelet, and identifies the posture detection results of each patient in combination with posture detection, so as to avoid the system misjudgment caused by similar falling actions such as bending over and lowering the head of unrelated healthy people, thereby reducing the energy burden of medical staff;

[0043] 3. In the present invention, height and speed thresholds are set for key points of limb joints. Different thresholds are set for different key points according to the different tolerances of different joints and the similarities of some actions, thereby avoiding confusion in the judgment of different joint parts and resulting in a decrease in accuracy; the injury site is judged in advance to avoid secondary injuries without the help of non-professionals; and when judging the injury site, threshold judgment is performed on each key point of the limb joint in view of the possible situation of multiple injuries in one fall, and accurate judgment is made to cooperate with subsequent inquiries and inspections by medical staff. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0045] Figure 1 It is a structural schematic diagram of a posture detection negative feedback system based on image processing of the present invention.

[0046] Figure 2 The present invention is a structural connection diagram of a posture detection negative feedback system based on image processing.

[0047] Figure 3 It is a flow chart of a posture detection negative feedback method based on image processing of the present invention. DETAILED DESCRIPTION

[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0049] See also Figure 1-Figure 3 , the present invention provides a technical solution:

[0050] A posture detection negative feedback system based on image processing, characterized in that: the system includes an identity recognition module, an information processing module, a behavior analysis module, and a fall alarm module;

[0051] The output end of the identity recognition module is connected to the input end of the behavior analysis module and the fall alarm module; the output end of the information processing module is connected to the input end of the behavior analysis module; the output end of the behavior analysis module is connected to the input end of the fall alarm module;

[0052] The identity recognition module is used to remotely identify the patient's identity information based on the electronic bracelet worn by the patient, and determine the patient's indoor position; the information processing module is used to collect indoor images, use the YOLO-Pose algorithm model trained by the COCO data set to detect the position coordinates of the key points of the human joints, and connect the key points according to the connection relationship to detect the patient's body posture; the behavior analysis module is used to perform threshold judgment on the changes in the coordinates and position of the key points of the human joints detected by the information processing module, detect and judge whether the patient has fallen, and when the patient falls, judge the patient's fall site through the patient's body posture detected when falling; the fall alarm module is used to feedback the identity information of the fallen patient, the judged fall site and the image of the patient when falling to the medical staff in charge, and display the room where the patient is located. The medical staff in charge judges and processes the fall alarm based on the feedback image of the patient when falling;

[0053] The identity recognition module includes a position detection unit and an identity recognition unit;

[0054] The output end of the position detection unit is connected to the input end of the behavior analysis module; the output end of the identity recognition unit is connected to the behavior analysis module and the input end of the fall alarm module;

[0055] The position detection unit is used to perform indoor position positioning according to the signal of the electronic bracelet worn by the patient; the identity recognition unit identifies the patient number through the signal of the electronic bracelet worn by the patient, thereby querying the patient's identity information; the electronic bracelet uniformly manages the patient's identity information and realizes accurate positioning of the patient's location, which facilitates medical staff to understand and grasp the patient's real-time situation and provides an extremely convenient expansion path for communication between medical staff and patients;

[0056] The information processing module includes an image acquisition unit and a joint detection unit;

[0057] The output end of the image acquisition unit is connected to the input end of the behavior analysis module; the joint detection unit is connected to the input end of the behavior analysis module;

[0058] The image acquisition unit is used to collect indoor images when there is a patient wearing a bracelet in the room; the joint detection unit is used to detect the real-time posture of the patient, detect the orientation coordinates of the key points of the patient's limb joints through the collected real-time indoor images, and judge the orientation of the patient's limb connection line according to the connection relationship of the joint key points, and mark the detected joint key points and limb connection lines in the real-time image;

[0059] The joint detection unit uses the COCO data set with marked key points of human limb joints to train the YOLO-Pose model. It can detect multiple people’s postures in a situation where there are multiple people indoors, and then determine the patient’s position based on the wristband positioning, so as to accurately distinguish the posture information of the patient and other people, and reduce the redundant occupancy of the system.

[0060] The behavior analysis module includes a fall detection unit and a fall injury location determination unit;

[0061] The input end of the fall detection unit and the fall injury part judgment unit is connected to the output end of the information processing module; the output end of the fall detection unit and the fall injury part judgment unit is connected to the input end of the fall injury alarm module;

[0062] The fall detection unit is used to determine whether the patient has fallen according to the position coordinates of the key points of the patient's limb joints detected by the information processing module through a coordinate threshold; the fall injury site determination unit is used to determine the fall injury site of the patient according to the position coordinates of the key points of the patient's limb joints and the position of the limb connection line when the patient falls;

[0063] Through real-time detection of the orientation coordinates of the key points of the patient's limb joints, the changes in the orientation coordinates of the key points of the patient's joints and the speed of movement are comprehensively analyzed to determine whether the patient has fallen, thus avoiding misjudgment of the patient's behavior due to the patient's slow bending or sitting down, and improving the accuracy of the system's judgment; through real-time detection of the key points of the limb joints whose orientation coordinates and speed exceed the threshold, the possible parts of the patient's fall are preliminarily determined according to the relationship between the key points of the joints and the limb lines, assisting medical staff in making preliminary judgments and assessments on the patient's fall condition;

[0064] The fall alarm module includes a signal transmission unit, a fall alarm unit, and an alarm feedback unit;

[0065] The input end of the signal transmission unit is connected to the output end of the identity recognition module and the behavior analysis module; the input end of the fall alarm unit is connected to the output end of the behavior analysis module; the output end of the fall alarm unit is connected to the input end of the alarm feedback unit;

[0066] The signal transmission unit is used to send the identity information of the patient, the determined injury site and the image of the patient when falling to the medical staff in charge, and display the room where the patient is located when a patient falls; the alarm feedback unit is used for the medical staff in charge to preliminarily determine whether the patient has fallen based on the image of the patient when falling transmitted by the signal transmission unit, and when it is determined that the patient has indeed fallen, issue a fall alarm to the nearest alarm in the room, issue a patient fall alarm, and remind medical staff to check the patient's condition on site; when the patient's fall is a misjudgment, the detection result can be ignored and the patient fall alarm will not be issued; the fall alarm unit is used to select the nearest alarm according to the room where the patient is located to issue a patient fall alarm when a patient falls;

[0067] In the above scheme, when a patient falls, the patient's identity information is accurately confirmed based on the patient's electronic bracelet, the patient's location is located, and the alarm information is fed back to the medical staff for preliminary judgment and evaluation before taking measures. When the medical staff assesses that the patient has indeed fallen, timely and accurate feedback is provided to buy more emergency response time for the medical staff and the patient. When the medical staff assesses that it is a misjudgment, the alarm is ignored, avoiding meaningless consumption of the medical staff's time and energy.

[0068] A posture detection negative feedback method based on image processing, using a posture detection negative feedback system based on image processing in the above technical solution, the method steps are as follows:

[0069] Step S6-1. When the patient is admitted to the hospital, an electronic bracelet is assigned and the bracelet number is bound to personal information;

[0070] In this application, patients enter their information when they are admitted to the hospital and are issued an electronic bracelet with a corresponding number;

[0071] A camera system for collecting images and positioning based on the electronic bracelet is installed in the ward where needed. In actual situations, if the electronic bracelet is in the ward but cannot detect the human body posture for half a minute, it can be determined that the human body is blocked by obstacles or the patient does not wear the electronic bracelet as required. A reminder is sent to the medical staff to inform them to check whether anyone has fallen in the ward in time and to inform the patient to wear the electronic bracelet as required.

[0072] Step S6-2. When the patient enters the ward, the position detection unit in the room locates the patient's position according to the bracelet signal, and the image acquisition unit collects indoor images in real time;

[0073] Step S6-3. The joint detection unit detects the position coordinates of the patient's joint key points based on the indoor image collected in real time and determines the position of the patient's limb connection line;

[0074] Step S6-4. Perform real-time threshold judgment on the orientation coordinates of the patient's joint key points to detect whether the patient has fallen. When it is determined that the patient has fallen, estimate the patient's fall injury site based on the orientation of the patient's limb connection line;

[0075] When the patient wears the electronic bracelet in the ward, the camera system can collect images at multiple angles at intervals of 120°, and locate the spatial orientation of the electronic bracelet and the key points of the patient's limb joints at multiple angles;

[0076] If the patient falls in the captured images, at least one of the key points of the limb joints other than the feet falls to the ground at a fast speed;

[0077] For example, the height threshold of the key points of the patient's head is set to 15 cm, and the speed threshold is set to 0.2 m / s. Through image acquisition, the image with the key point height below the threshold is obtained, and the actual distance of the key point of the head in the previous frame image moves 2.5 cm. The interval between the two frames is 0.1 seconds. According to the formula, the actual speed of the key point of the patient's head can be calculated to be 0.25 m / s, which exceeds the speed threshold. At this time, it is determined that the patient has fallen; while the height of the unilateral shoulder and waist key points in the image are both lower than the corresponding height threshold, the movement speed of the shoulder key point is greater than the shoulder speed threshold, and the speed of the waist key point does not exceed the waist speed threshold. It can be determined that the patient's head and unilateral shoulder have fallen;

[0078] As for the joints of both hands, since the patient may bend over, pick up things, etc., and the height of the joint key points is lower than the head when the hands touch the ground, and the head is more fragile than the hands, the height threshold of the joint key points of both hands can be set to 10 cm, and the speed threshold is 0.5 meters per second. Through image acquisition, only the height of the hands is lower than the threshold, and the actual distance of the hand key points in this frame and the previous frame is 4 cm, and the interval between the two frames is 0.1 seconds. According to the formula, the actual moving speed of the patient's head key points is calculated to be 0.4 meters per second, which does not exceed the speed threshold, and it is determined that the patient has not fallen;

[0079] Step S6-5. When determining that the patient has fallen, the patient's wristband number information is detected by judging the position of the patient's electronic wristband and the position distance of the patient's joint key point coordinates, and querying the patient's identity information;

[0080] When the patient's wrist is visible, the spatial orientation of the electronic bracelet and the orientation of the key points of the patient's wrist are determined, and the Euclidean distance between the orientations of the key points of the bracelet and the wrist is calculated to determine the relationship between the electronic bracelet and the patient. If the bracelet is worn as required and the key points of the wrist joint are visible, the distance between the key points of the bracelet and the wrist joint is less than the threshold, and the patient's identity information and room location are queried according to the number;

[0081] Step S6-6. Send the identity information of the fallen patient, the determined injury site and the image of the patient when falling to the medical staff in charge;

[0082] Step S6-7. The medical staff determines whether the patient's fall is a misjudgment based on the real-time image of the patient's fall; when it is determined that the patient has indeed fallen, the patient's fall alarm is issued to the nearest alarm in the room where the patient is located, and the medical staff is reminded to come to the scene to check the patient's condition; when the patient's fall is a misjudgment, the detection result is ignored and the patient's fall alarm is not issued;

[0083] When a patient falls, the medical staff will receive the patient's identity information, room location, injury site, and images taken 20 seconds before the fall. The medical staff will make a preliminary judgment based on the images to determine whether there is a misjudgment. If no fall has occurred, the feedback can be ignored.

[0084] When a patient falls, an alarm is sent to the nearest alarm in the patient's room, alerting medical staff to arrive at the scene in time and conduct inquiries and inspections based on the patient's fall injury site.

[0085] According to the above technical solution, in step S6-3, images with marked key points of human joints in the COCO dataset are used, and a lightweight model for real-time posture detection is trained using the YOLO-Pose algorithm. Then, the indoor images collected in real time are passed into the model to detect the coordinates of the key points of the patient's limb joints, and the connection relationship of the key points is set according to the limb connection relationship to determine the patient's limb connection orientation;

[0086] According to the above technical solution, after obtaining the orientation coordinates of the patient's joint key points in step S6-4, a threshold judgment is performed; when the heights of the limb joint key points other than the feet are continuously lower than the limb joint key point height threshold, the real-time movement speed v of the limb joint key points is calculated based on the changes in the orientation coordinates of the limb joint key points detected by continuous images. 实时 , according to the formula:

[0087]

[0088] Wherein, k is the scaling ratio of the distance between the real limb joint key point movement and the distance between the limb joint key point orientation coordinate change detected by the image, (x1, y1) is the coordinate of the limb joint key point in the previous frame of the image between two adjacent frames, (x2, y2) is the coordinate of the limb joint key point in the next frame of the image between two adjacent frames, and t0 is the time difference between the two frames;

[0089] When the real-time movement speed exceeds the speed threshold of the limb joint key point, it is determined that the patient has fallen down; when the patient falls down, the limb joint key points of the patient are found, which meet the height lower than the height threshold of the limb joint key point and the real-time movement speed exceeds the speed threshold of the limb joint key point, and the part of the patient's limb that has been injured is determined according to the corresponding limb joint;

[0090] According to the above technical solution, when it is detected in step S6-5 that the patient has fallen, the position of the patient's electronic bracelet is located indoors;

[0091] When the wrist position is not blocked, the Euclidean distance l1 between the key point of the patient's wrist joint and the orientation of each electronic bracelet is calculated based on the real-time image. If l1 is less than the threshold distance l when it is not blocked, 未遮挡 When the patient falls, it can be determined that the patient who falls is wearing the electronic bracelet with the shortest distance, and the identity information of the patient who falls can be queried through the serial number information of the electronic bracelet;

[0092] When the wrist position is blocked, the closest distance l2 between the patient's limb joint key points and the bracelet position is calculated based on the real-time image. When l2 is less than the threshold distance l 遮挡 When the patient falls, it can be determined that the patient is wearing the electronic bracelet that is closest to the patient, and the identity information of the patient who falls can be queried through the number information of the electronic bracelet.

[0093] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are 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 other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0094] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A posture detection negative feedback system based on image processing, characterized in that: The system includes an identity recognition module, an information processing module, a behavior analysis module, and a fall alarm module; The identity recognition module is used to remotely identify the patient's identity information based on the electronic bracelet worn by the patient, and determine the patient's indoor position; the information processing module is used to collect indoor images, use the YOLO-Pose algorithm model trained with the COCO data set to detect the position coordinates of key points of human joints, and connect the key points according to the connection relationship to detect the patient's body posture; The behavior analysis module is used to perform threshold judgment on the coordinate orientation changes of the key points of the human joints detected by the information processing module, detect and judge whether the patient has fallen, and when the patient falls, judge the patient's fall injury site through the patient's body posture detected when falling; the fall alarm module is used to feedback the identity information of the fallen patient, the judged fall injury site and the image of the patient when falling to the medical staff in charge, and display the room where the patient is located. The medical staff in charge judges and processes the fall injury alarm according to the feedback image of the patient when falling; The output end of the identity recognition module is connected to the input end of the behavior analysis module and the fall alarm module; the output end of the information processing module is connected to the input end of the behavior analysis module; the output end of the behavior analysis module is connected to the input end of the fall alarm module.

2. A posture detection negative feedback system based on image processing, characterized in that: The identity recognition module includes a position detection unit and an identity recognition unit; The position detection unit is used to perform indoor position positioning according to the signal of the electronic bracelet worn by the patient; the identity recognition unit recognizes the patient number through the signal of the electronic bracelet worn by the patient, thereby querying the patient's identity information; The output end of the orientation detection unit is connected to the input end of the behavior analysis module; the output end of the identity recognition unit is connected to the input end of the behavior analysis module and the fall alarm module.

3. A posture detection negative feedback system based on image processing, characterized in that: The information processing module includes an image acquisition unit and a joint detection unit; The image acquisition unit is used to acquire indoor images when there is a patient wearing a bracelet in the room; the joint detection unit is used to detect the real-time posture of the patient, detect the orientation coordinates of the key points of the patient's limb joints through the acquired real-time indoor images, and detect the orientation of the patient's limb connection lines according to the connection relationship of the joint key points, and mark the detected joint key points and limb connection lines in the real-time image; The output end of the image acquisition unit is connected to the input end of the behavior analysis module; the joint detection unit is connected to the input end of the behavior analysis module.

4. A posture detection negative feedback system based on image processing, characterized in that: The behavior analysis module includes a fall detection unit and a fall injury location determination unit; The fall detection unit is used to determine whether the patient falls according to the position coordinates of the key points of the patient's limb joints detected by the information processing module through a coordinate threshold; The injury part determination unit is used to determine the injury part of the patient according to the position coordinates of the key points of the limb joints and the position of the limb connection line when the patient falls; The input end of the fall detection unit and the fall injury site judgment unit is connected to the output end of the information processing module; the output end of the fall detection unit and the fall injury site judgment unit is connected to the input end of the fall injury alarm module.

5. A posture detection negative feedback system based on image processing, characterized in that: The fall alarm module includes a signal transmission unit, a fall alarm unit, and an alarm feedback unit; The signal transmission unit is used to send the identity information of the patient, the determined injury site and the image of the patient when falling to the medical staff in charge when a patient falls, and display the room where the patient is located; The alarm feedback unit is used for the medical staff in charge to preliminarily judge whether the patient has fallen according to the image of the patient falling transmitted by the signal transmission unit. When it is judged that the patient has fallen, the fall alarm is issued to the nearest alarm in the room, and the patient fall alarm is issued to remind the medical staff to check the patient's condition on site. When the patient's fall action is a misjudgment, the detection result can be ignored and the patient fall alarm is not issued; The fall alarm unit is used to select the nearest alarm according to the room where the patient is located to issue a patient fall alarm when a patient falls; The input end of the signal transmission unit is connected to the output end of the identity recognition module and the behavior analysis module; the input end of the fall alarm unit is connected to the output end of the behavior analysis module; the output end of the fall alarm unit is connected to the input end of the alarm feedback unit.

6. A posture detection negative feedback method based on image processing, using any one of the posture detection negative feedback systems based on image processing as claimed in claims 1-5, characterized in that: The method steps are as follows: Step S6-1. When the patient is admitted to the hospital, an electronic bracelet is assigned and the bracelet number is bound to personal information; Step S6-2. When the patient enters the ward, the position detection unit in the room locates the patient's position according to the bracelet signal, and the image acquisition unit collects indoor images in real time; Step S6-3. The joint detection unit detects the position coordinates of the patient's joint key points based on the indoor image collected in real time and determines the position of the patient's limb connection line; Step S6-4. Perform real-time threshold judgment on the orientation coordinates of the patient's joint key points to detect whether the patient has fallen. When it is determined that the patient has fallen, estimate the patient's fall injury site based on the orientation of the patient's limb connection line; Step S6-5. When determining that the patient has fallen, the patient's wristband number information is detected by judging the position of the patient's electronic wristband and the position distance of the patient's joint key point coordinates, and querying the patient's identity information; Step S6-6. Send the identity information of the fallen patient, the determined injury site and the image of the patient when falling to the medical staff in charge; Step S6-7. The medical staff determines whether the patient's fall is a misjudgment based on the real-time image of the patient when the patient falls; when it is determined that the patient has indeed fallen, a patient fall alarm is issued to the nearest alarm in the room where the patient is located, and the medical staff is reminded to come to the scene to check the patient's condition; when the patient's fall is a misjudgment, the detection result is ignored and the patient fall alarm is not issued.

7. A posture detection negative feedback method based on image processing according to claim 6, characterized in that: In step S6-3, images with labeled key points of human joints in the COCO dataset are used, and a lightweight model for real-time posture detection is trained using the YOLO-Pose algorithm. The indoor images collected in real time are then passed into the model to detect the coordinates of the key points of the patient's limb joints. The connection relationship of the key points is set through the limb connection relationship to determine the patient's limb connection orientation.

8. A posture detection negative feedback method based on image processing according to claim 6, characterized in that: After obtaining the orientation coordinates of the patient's joint key points in step S6-4, a threshold judgment is performed; when the heights of the limb joint key points other than the feet are continuously lower than the limb joint key point height threshold, the real-time movement speed v of the limb joint key points is calculated based on the changes in the orientation coordinates of the limb joint key points detected by continuous images. 实时 , according to the formula: Wherein, k is the scaling ratio of the distance between the real limb joint key point movement and the distance between the limb joint key point orientation coordinate change detected by the image, (x1, y1) is the coordinate of the limb joint key point in the previous frame of the image between two adjacent frames, (x2, y2) is the coordinate of the limb joint key point in the next frame of the image between two adjacent frames, and t0 is the time difference between the two frames; When the real-time movement speed exceeds the speed threshold of the limb joint key points, it is determined that the patient has fallen; when the patient falls, the limb joint key points of the patient are found whose height is lower than the height threshold of the limb joint key points and whose real-time movement speed exceeds the speed threshold of the limb joint key points, and the part of the patient's limb where the fall occurred is determined based on the corresponding limb joints.

9. A posture detection negative feedback method based on image processing according to claim 6, characterized in that: When it is detected in step S6-5 that the patient has fallen, the position of the patient's electronic bracelet is located indoors; When the wrist position is not blocked, the Euclidean distance l1 between the key point of the patient's wrist joint and the orientation of each electronic bracelet is calculated based on the real-time image. If l1 is less than the unblocked threshold distance l 未遮挡 When the patient falls, it can be determined that the patient is wearing the electronic bracelet with the shortest distance, and the identity information of the patient who falls can be queried through the serial number information of the electronic bracelet; When the wrist position is blocked, the closest distance l2 between the patient's limb joint key points and the bracelet position is calculated based on the real-time image. When l2 is less than the threshold distance l 遮挡 When the patient falls, it can be determined that the patient is wearing the electronic bracelet that is closest to the patient, and the identity information of the patient who falls can be queried through the number information of the electronic bracelet.