Skip to content

Adityaojas/Pose-Estimation-Clean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pose-Estimation-Clean

Pose Estimation with cleaner outputs using Savgol filter

Here's the Medium article for reference, and understanding the code: https://medium.com/@adityaojassharma/cleaner-pose-estimation-using-open-pose-6d239cc33fe6

The first step would be to download the MPI .caffemodel wights from http://posefs1.perception.cs.cmu.edu/OpenPose/models/pose/mpi/pose_iter_160000.caffemodel. Move the file to the models directory.

You're good to go, run the open_pose.py file to get a raw output video and a .csv file consisting of the coordinates from each frame. You'd notice the output visualisation is not clean. That's normal because OpenPose sometimes messes up and confuses between different joints, and that make the output kinda disjoint.

Don't worry, the other file, clean_ouput.py comes in here. It'll take the output csv file from open_pose.py, apply the Savgol filter to smoothen the subsequent coordinates, and output an extremely, aesthetically composed video.

To understand the whole code, please refer to my Medium article linked above!

Here's the youtube video for a simple application I made using Pose Estimation to keep track of my Jump Rope Progress

https://youtu.be/gEhNntwJSdY

About

Pose Estimation with cleaner outputs using Savgol filter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages