I hate exercising and I bet many of you guys do too. But we still have to do it for the sake of keeping us fit. What is the solution to such? Gamify it! Combining games and exercising will create be a much more fun activity and that's what inspires me to create this program.

What it does

It detects landmark points of a person's body in an image (from a webcam in this case), and tries to use those points to see whether they are standing in a pose that correctly matches the shape indicated on the screen.

How I built it

Using Google Mediapipe library for pose estimation. Other components including numpy and opencv are use for image processing.

Challenges I ran into

A lot of bugs, figuring out the right geometry to determine the pose shape, and inaccuracy for the model!

Accomplishments that I'm proud of

I'm proud that it works and I actually enjoy using it.

What I learned

I never brainstormed and programmed a project in such a small amount of time (~2 days). This really taught me a lesson on how to catch up with deadlines and develop efficient coding techniques.

What's next for PoShape

This could be integrated into a more well-designed app (with buttons and user-friendly interface instead of having to run through the terminal), displayed on (TV) screen while exercising, and of course, refinement of the accuracy of pose estimation would certainly help a lot.

Built With

Share this project: