This repository is an application with mediapipe.
It can detect 4 different actions and sort left hand side move and right hand side move.
idea from https://www.youtube.com/watch?v=9iEPzbG-xLE&t=1621s
Mediapipe provides a trained model with body landmarks.
Using it can detect the poses.
Parting a action to different poses can achieve the function.
Pose detect's cocept is calculating the distance and angle of hand, shoulder , arm...and so.
The method can easily define a pose.
But it's defect is that the misjudge will occur during other action's process.
For example, the highst frequency misjudgement is the Muscle Man's judge.
Muscle Man's process need to raise hand.It's easy to achieve lock's angle.
So the error need to be a small range.
The advantage is that quickly define a action.
If you just want to detect one action , the method can quickly and precisely detect.
But you want to detect many actions and has higher fault tolerance,deep learning should be need.
I recommend to use PyCharm , and use the PyCharm's settings to install the packages.
- opencv
- mediapipe
- numpy
- python3.7
- Twirl
- Punch
- Lock
- Muscle Man