This is a powerful open-source GUI tool designed to quickly and accurately visualize and compare SMPL sequences in large scenes in real-time. Based on Open3D, this tool can be easily run across platforms and on CPU-only computers. However, if you require more advanced rendering capabilities, we recommend using Blender, Unity, or similar software for optimal results.
- Fast and accurate visualization of SMPL sequences in real-time using only SMPL parameters
- Comparison of SMPL results across different sequences and scenes
- Visualizing complex scenes and large datasets
- Open-source and customizable
- Save/load the camera path
- CPU-only compatible
- Cross-platform compatible
- Open3D 15.0+
- Download the SMPL model
basicModel_neutral_lbs_10_207_0_v1.0.0.pkl
,basicModel_f_lbs_10_207_0_v1.0.0.pkl
,basicModel_m_lbs_10_207_0_v1.0.0.pkl
andJ_regressor_extra.npy
from http://smpl.is.tue.mpg.de and put them insmpl
directory. - (Optional)
ffmpeg
for video processing
- Clone the repository:
git clone https://github.com/climbingdaily/SMPL-Viewer.git
- Install the required packages:
conda create --name sviewer python==3.9 -y
conda activate sviewer
pip install numpy open3d matplotlib scipy opencv-python torch paramiko chumpy lzf
- If your
numpy > 1.23.0
, there will be a conflict with Chumpy. You can just comment out the line 11 inchumpy/__init__.py
,# from numpy import bool, int, float, complex, object, unicode, str, nan, inf
- Run
python GUI_Tool.py
- Launch the tool.
- Select the SMPL sequences (Demo) you wish to visualize and compare.
- Use the GUI controls to adjust the view, lighting, and other rendering parameters.
- Compare the SMPL results across different sequences and scenes.
# | Function | Button |
---|---|---|
1 | .pcd .ply .obj .xyz .xyzn visualization |
|
2 | .pcd sequence visualization |
|
3 | SMPL sequence (.pkl ) visualization The data structure is detailed at readme |
|
4 | Geometry's material editing | |
5 | Camera load/save |
- Save the video with GUI
- Add shade and HDR map ...
- Load video
- Generate/save camera trajectory
- Save the video with headless mode
Contributions are welcome and encouraged! If you find a bug or have an idea for a new feature, please open an issue or submit a pull request.
The codebase is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License. You must attribute the work in the manner specified by the authors, you may not use this work for commercial purposes and if you alter, transform, or build upon this work, you may distribute the resulting work only under the same license.
If you have any questions or comments about the project, please create an issue.
We would like to thank the following individuals for their contributions to this project:
- Lin Xiping, Lin Yitai and Yan Ming for providing valuable feedback and suggestions during development
- The Open3D development team for their excellent library that powers this tool.
- ChatGPT for providing assistance with refining the project description and other suggestions, including this readme file.
- The creators of SMPL for their groundbreaking work in creating a widely-used and versatile body model.
We are also grateful to the broader open-source community for creating and sharing tools and knowledge that make projects like this possible.
This project is driven by the need for LiDAR-based Human and scene motion capture. If you find this tool useful for your own work, please consider citing the corresponding paper that inspired this project:
@InProceedings{Dai_2022_CVPR,
author = {Dai, Yudi and Lin, Yitai and Wen, Chenglu and Shen, Siqi and Xu, Lan and Yu, Jingyi and Ma, Yuexin and Wang, Cheng},
title = {HSC4D: Human-Centered 4D Scene Capture in Large-Scale Indoor-Outdoor Space Using Wearable IMUs and LiDAR},
booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
month = {June},
year = {2022},
pages = {6792-6802}
@inproceedings{dai2023sloper4d,
title = {SLOPER4D: A Scene-Aware Dataset for Global 4D Human Pose Estimation in Urban Environments},
author = {Dai, Yudi and Lin, YiTai and Lin, XiPing and Wen, Chenglu and Xu, Lan and Yi, Hongwei and Shen, Siqi and Ma, Yuexin and Wang, Cheng},
booktitle = {IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
month = {June},
year = {2023}
}
}