Research Article

Fall Detection and Direction Judgment Based on Posture Estimation

Algorithm 2

Fall direction judgment.
Input: The 2D joint features obtained by the fall detection module;
Output: Specific direction of fall;
(1)If fall detection (P) = = “fall”:
(2) Building 3D coordinate system: {
(3)  The generator maps 2D feature p to 3D; Feature X;
(4)  The discriminator judges the generated 3D feature X;
(5)  The re-projection module calculates the deviation of the estimation result;
  }
(6) Select a group of joint points from X to form vector set L
(7) Calculate the included angle θ of the same vector before and after the fall;
(8) Determine the orientation of human body according to the position relationship of joint points;
(9) Calculate the changes of X and Z coordinates of head joint points;
(10) Estimate the specific direction of the fall;
(11) Next frame;
(12)End if