falldetection_openpifpaf
falldetection_openpifpaf copied to clipboard
How do you detect fall?
thanks for your repo, it helped me a lot, but I want to ask how do you detect fall based on keypoint?
I check the code in core.falldetector.py
math.sqrt(pow(abs(x-old_x), 2)+pow((y-old_y), 2)) >= 0.5*math.sqrt(pow(old_w, 2)+pow(old_h, 2))
and the 'FALL' will be detected. but I have no idea where this method comes from.
I check the code in
core.falldetector.py
math.sqrt(pow(abs(x-old_x), 2)+pow((y-old_y), 2)) >= 0.5*math.sqrt(pow(old_w, 2)+pow(old_h, 2))
and the 'FALL' will be detected. but I have no idea where this method comes from.
bron,how to solve this problem
I have the same question