JSON parser from: https://github.com/udp/json-parser
openpose from: https://github.com/CMU-Perceptual-Computing-Lab/openpose
Fall detection using a slope algorithm supplementing OpenPose, inspiring(I hope) more work related to this module-like approach.
Compared to other detection methods that employs machine learning out there, this requires far less usage on the already strained system that are running OpenPose.
gcc main.c json.c -lm
Compile openpose to home dir
Copy test to the folder named openpose
Modify main.c to the correct folder pathname
Modify and copy the contents under "run"
cd
to openpose
Paste the command
- Bug checks
- Check caveats
- Remove hardcoded path
- Improvise algorithm, maybe replace entire slope method