falldetection_openpifpaf icon indicating copy to clipboard operation
falldetection_openpifpaf copied to clipboard

How do you detect fall?

Open Birdylx opened this issue 3 years ago • 3 comments

thanks for your repo, it helped me a lot, but I want to ask how do you detect fall based on keypoint?

Birdylx avatar Dec 01 '20 09:12 Birdylx

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.

zw-xxx avatar Aug 12 '21 07:08 zw-xxx

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

af-doom avatar Mar 07 '22 13:03 af-doom

I have the same question

HanRu1 avatar Mar 12 '23 02:03 HanRu1