- Uses CMU's OpenPose to detect key body angles.
- To detect angles, I use the law of cosines (see prior GitHub repo that I made)
- Compares these frame angles and finds the closest JoJo pose.
- Detects body angles!
- Stores body angles!
- Compares input body angles to stored one!
- Returns the comparison!
- When returned, changes the input frame and plays music!
- numpy: https://numpy.org/devdocs/user/quickstart.html
- opencv: https://pypi.org/project/opencv-python/
- math: https://docs.python.org/3/library/math.html
- os: https://docs.python.org/3/library/os.html
- pygame: https://www.pygame.org/news
- time (in get_snapshot): https://docs.python.org/3/library/time.html
- This idea is based on the work from: https://github.com/CMU-Perceptual-Computing-Lab/openpose
- If this code or anyother I have written has helped you, feel free to make a donation at https://www.buymeacoffee.com/whalenlexn.