We provide the codebase for
-
Prepare the input.
-
Batch-wise SMPLify-X under a normal perspective camera with Identity Rotation Matrix
-
Run POSA to get the contact vertices for each human.
-
Optimize the camera pose and the height of the ground plane with contacted feet. [TODO]
-
Optimize Batch-wise SMPLify-X under new optimized camera pose and ground plane constraints. [TODO]
see more details in HPS_prepare_input
cd HPS_prepare_input && bash run.sh
bash run_video.sh ${save_dir}/${video_name} ${video_length}
Requirements: Install POSA following https://github.com/mohamedhassanmus/POSA
cd pre_POSA
bash run.sh ${save_dir}/${video_name}/smplifyx_results_st0/results/001_all.pkl
cd POSA
bash run_input.sh ${save_dir}/${video_name}/smplifyx_results_st0/results