English | 简体中文
Paper:Real-time simulation reconstruction of pedestrian emergency posture in collision accident from monocular images
[1] SMPL:A parameterized human body model
[2] SPIN:3D human reconstruction method
[3] human_model_viewer:Visual adjustment of SMPL parameters
[4] SMPL_Tools:This is based on human_model_viewer, we developed a target SMPLannotation tool
-
Download:
git clone https://github.com/wmj142326/MBPR-Multi_Body_Pose_Reconstruction.git
-
Environment configuration:SPIN/README.md
-
Run
estimation.py
python estimation.py --checkpoint=data/model_checkpoint.pt --img_file=input_img/01 --outfile=out/01
input_img/01
is a folder to store input imagesout/01
is a folder to store the output results,include:pic_outfile, pic_outfile_shape, pkl_outfile -
copy folders:
madymo/images == input_img/01;
madymo/pkl_file == out/pkl_outfile;
-
Run
ped_pkl2xml.py
:python ped_pkl2xml.py
-
The output is saved in a folder:
madymo/xml_file/
-
Visualization:Import
madymo/xml_file/*.xml
into MADYMO software for viewing.
In madymo/mesh/
folder,we provided the SMPL .obj
results, Visualization by SMPL_Tools, need.pkl
to .ini
:
python ped_pkl2ini.py