facebookresearch / DensePose

A real-time approach for mapping all human pixels of 2D RGB images to a 3D surface-based model of the body
http://densepose.org
Other
6.95k stars 1.3k forks source link

Is there a simple .bin or executable to run DensePose? #199

Open js117 opened 5 years ago

js117 commented 5 years ago

I was wondering if there is an executable to run DensePose, similar to the interface provided with OpenPose for example:

https://github.com/CMU-Perceptual-Computing-Lab/openpose/blob/master/doc/quick_start.md#quick-start

If not, I think this would be a great feature to let people quickly and easily build upon DensePose and utilize it in their projects.

icuruok commented 5 years ago

You can create a portable version of DensePose using a portable python framework install like WinPython https://winpython.github.io/

Once the portable python is installed you must set and configure it to be able to load and use DensePose. To do this simply use the pip.exe inside the Scripts folder, Rather than using a dynamically linked pip.

You can follow https://github.com/facebookresearch/DensePose/blob/master/PoseTrack/DensePose-PoseTrack-Visualize.ipynb

To get a example of what would need to be imported and setup for DensePose to work portable under windows OS.

Iv done this for a system much like DensePose Which can be found here, But that version I converted to a portable windows tool uses tensorflow for pose estimation. https://github.com/Dene33/video_to_bvh

Video to bvh seems to work fine as a portable windows exe but requires a PC with 8gb + RAM and high video memory.