Meet a good question. Now do a lot of wearable devices. I didn't write the corresponding program. But the principle is to understand some.
Ask:
1. Bind a 9-axis attitude sensor on the thigh
2. According to the real-time data collected by the sensor to calculate the forward and backward side-shift squat and other actions, and can estimate the speed, can have errors
For:
Do you have so many axes? Only the three axes are known, the opposite direction is the direction of movement. The opposite direction of the multi-axis. The combination calculates the phase angle and the force, which is the direction and speed.
If you want to think about human body angles and movements, you need to consider human anatomy.
It is always inconvenient to answer in the forum.
Then write a point, in fact, three axes is enough, but more complex human motion judgment is not necessarily.
The shape of a person's legs is judged by the angle of the knee. It was a good idea that I thought of at the moment.
180 degrees or greater than 180 degrees. To straight.
170 degrees to 90 degrees, half squat.
Less than 90 degrees, is squats.
Of course, the top of the straight, may be standing, can also be sitting. This can be judged by the speed of an axis.
Generally sitting with small displacement, stable.
The relative displacement of the stand is larger.
But to consider the car, the subway or something, it added more complicated.
However, from the perspective of displacement, we can learn more about the characteristics of the three-axis device through the test equipment, I do not know enough.
For the specific action data collection, then model,
A variety of data models are adopted to determine user actions. I thought of it.
Like a pendulum, it can be judged as walking.
If the hand is in the pocket, it is a single axis displacement much more than the other two axis bar.
It's just a simple thought. The results did not look at the data analysis.
------
PS. Thank csdn.net customer service to help me retrieve my account. It was stolen last night.
have been deleted several articles, more than 3, write too much, do not remember what the article. Pity.
Some of my junior technical articles were also made, poor people.
How to calculate the movement of the forward and backward side of squat, and can estimate the speed, algorithm according to the data collected by the sensor in real time