Go to file
2021-02-05 20:14:14 +01:00
.vscode add debug 2021-02-02 15:26:37 +01:00
models add models folder 2021-01-09 14:58:38 +01:00
modules use config in project 2021-02-05 12:59:24 +01:00
results improvements 2021-02-03 15:49:43 +01:00
utils fix: camera scale not working for image 2021-02-05 20:14:14 +01:00
.gitignore rendering animation 2021-02-03 14:19:08 +01:00
camera_estimation.py use config in project 2021-02-05 12:59:24 +01:00
config.yaml extend config 2021-02-05 12:59:15 +01:00
dataset.py use config in project 2021-02-05 12:59:24 +01:00
Dockerfile add OpenPose docker file 2021-01-12 14:41:54 +01:00
example_camera.py use config in project 2021-02-05 12:59:24 +01:00
example_fit_anim.py use config in project 2021-02-05 12:59:24 +01:00
example_fit.py fix: camera scale not working for image 2021-02-05 20:14:14 +01:00
LICENSE Initial commit 2020-12-19 18:26:10 +01:00
main.py create main for easier execution 2021-02-05 12:58:29 +01:00
model.py use config in project 2021-02-05 12:59:24 +01:00
plane.mtl Added Image place 2021-01-23 21:06:00 +01:00
plane.obj Added Image place 2021-01-23 21:06:00 +01:00
preview.png WIP: fixing mapping for camera solver 2021-01-15 22:47:15 +01:00
README.md setup: fix typo 2021-01-09 16:50:32 +01:00
renderer.py fix: camera scale not working for image 2021-02-05 20:14:14 +01:00
requirements.txt update requiements 2021-02-02 16:37:39 +01:00
setup.sh add vposer download to script 2021-02-01 23:47:35 +01:00
TODO.md fix: initial camera position for viewer 2021-01-23 12:59:51 +01:00
train_pose.py use config in project 2021-02-05 12:59:24 +01:00

realtime-body-tracking

Installation

This project is using python version 3.6.0. It is also recommended to use anaconda for managing your python environments.

Downloading SMPL models

The SMPL models can be downloaded from this link. Alternatively just use the following script:

./setup.sh

This should copy and rename the SMPL model to the correct folders. Either way the resulting folder structure should look like this (ignore smplx if you don't intend to use it):

└── models
    ├── smpl
    │   ├── SMPL_FEMALE.npz
    │   ├── SMPL_MALE.npz
    │   └── SMPL_NEUTRAL.pkl
    └── smplx
        ├── SMPLX_FEMALE.npz
        ├── SMPLX_FEMALE.pkl
        ├── SMPLX_MALE.npz
        ├── SMPLX_MALE.pkl
        ├── SMPLX_NEUTRAL.npz
        └── SMPLX_NEUTRAL.pkl

Conda Environment

Create a new conda env by typing

conda create --name tum-3d-proj python=3.6

When using VSCode the IDE should automatically use the python interpreter created by conda.

Pip packages

The required pip packages are stored within the requirements.txt file and can be installed via

pip install -r requirements.txt

Exporting imported packages to pip

Since pip is trash and does not save imported packages in a file within the project you have to force it to do so.

pip freeze > requirements.txt

OpenPose