Skip to content

3D human body reconstruction from image with SMPL model

Notifications You must be signed in to change notification settings

huynhnguyen/smpl_web_view

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3D human body reconstruction from image with SMPL model

webview This repo provides 3d points view on web given an image. The reconstruction model is based on the Fork of End-to-end Recovery of Human Shape and Pose. The trained model have to be downloaded seperatedly from:

wget https://people.eecs.berkeley.edu/~kanazawa/cachedir/hmr/models.tar.gz && tar -xf models.tar.gz

Usage:

  • Init virtualenv and install required packages:
pip install -r requirements.txt
  • In case of Tensorflow-gpu, it requires CUDNN and extra export steps (if you also forget it like me):
export PATH=$PATH:/usr/local/cuda-10.0/bin/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-10.0/lib64/
  • Before start server, make sure ./model/ folder is ready, then start:
python server.py

Todo:

  • Enhance 3d view.
  • Support export video to bvd.
  • Apply real skin from image.
  • Enhance shape, apply style transfer.

About

3D human body reconstruction from image with SMPL model

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 86.8%
  • JavaScript 10.0%
  • Shell 2.0%
  • HTML 1.2%