[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Tests](https://github.com/eth-ait/aitviewer/actions/workflows/tests.yml/badge.svg)](https://github.com/eth-ait/aitviewer/actions/workflows/tests.yml)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.10013305.svg)](https://doi.org/10.5281/zenodo.10013305)
# [![aitviewer](assets/aitviewer_logo.svg)](https://github.com/eth-ait/aitviewer)
A set of tools to visualize and interact with sequences of 3D data with cross-platform support on Windows, Linux, and macOS. See the official page at [https://eth-ait.github.io/aitviewer](https://eth-ait.github.io/aitviewer/) for all the details.
## Installation
Basic Installation:
```commandline
pip install aitviewer
```
Note that this does not install the GPU-version of PyTorch automatically. If your environment already contains it, you should be good to go, otherwise install it manually.
Or install locally (if you need to extend or modify code)
```commandline
git clone git@github.com:eth-ait/aitviewer.git
cd aitviewer
pip install -e .
```
On macOS with Apple Silicon it is recommended to use PyQt6. Please check [this issue](https://github.com/eth-ait/aitviewer/issues/22) for installation instructions.
For more advanced installation and for installing SMPL body models, please refer to the [documentation](https://eth-ait.github.io/aitviewer/parametric_human_models/supported_models.html) .
## Features
* Native Python interface, easy to use and hack.
* Load [SMPL[-H/-X]](https://smpl.is.tue.mpg.de/) / [MANO](https://mano.is.tue.mpg.de/) / [FLAME](https://flame.is.tue.mpg.de/) / [STAR](https://github.com/ahmedosman/STAR) / [SUPR](https://github.com/ahmedosman/SUPR) sequences and display them in an interactive viewer.
* Headless mode for server rendering of videos/images.
* Remote mode for non-blocking integration of visualization code.
* Render 3D data on top of images via weak-perspective or OpenCV camera models.
* Animatable camera paths.
* Edit SMPL sequences and poses manually.
* Prebuilt renderable primitives (cylinders, spheres, point clouds, etc).
* Built-in extensible GUI (based on Dear ImGui).
* Export screenshots, videos and turntable views (as mp4/gif)
* High-Performance ModernGL-based rendering pipeline (running at 100fps+ on most laptops).
![aitviewer SMPL Editing](https://user-images.githubusercontent.com/5639197/188625764-351100e9-992e-430c-b170-69d4f142f5dd.gif)
## Quickstart
Display an SMPL T-pose (Requires SMPL models):
```py
from aitviewer.renderables.smpl import SMPLSequence
from aitviewer.viewer import Viewer
if __name__ == '__main__':
v = Viewer()
v.scene.add(SMPLSequence.t_pose())
v.run()
```
## Projects using the aitviewer
A sampling of projects using the aitviewer. Let us know if you want to be added to this list!
- Braun et al., [Physically Plausible Full-Body Hand-Object Interaction Synthesis](https://eth-ait.github.io/phys-fullbody-grasp/), 3DV 2024
- Zhang and Christen et al., [ArtiGrasp: Physically Plausible Synthesis of Bi-Manual Dexterous Grasping and Articulation](https://eth-ait.github.io/artigrasp/), 3DV 2024
- Kaufmann et al., [EMDB: The Electromagnetic Database of Global 3D Human Pose and Shape in the Wild](https://ait.ethz.ch/emdb), ICCV 2023
- Shen and Guo et al., [X-Avatar: Expressive Human Avatars](https://skype-line.github.io/projects/X-Avatar/), CVPR 2023
- Sun et al., [TRACE: 5D Temporal Regression of Avatars with Dynamic Cameras in 3D Environments](https://www.yusun.work/TRACE/TRACE.html), CVPR 2023
- Fan et al., [ARCTIC: A Dataset for Dexterous Bimanual Hand-Object Manipulation](https://arctic.is.tue.mpg.de/), CVPR 2023
- Dong and Guo et al., [PINA: Learning a Personalized Implicit Neural Avatar from a Single RGB-D Video Sequence](https://zj-dong.github.io/pina/), CVPR 2022
- Dong et al., [Shape-aware Multi-Person Pose Estimation from Multi-view Images](https://ait.ethz.ch/projects/2021/multi-human-pose/), ICCV 2021
- Kaufmann et al., [EM-POSE: 3D Human Pose Estimation from Sparse Electromagnetic Trackers](https://ait.ethz.ch/projects/2021/em-pose/), ICCV 2021
- Vechev et al., [Computational Design of Kinesthetic Garments](https://ait.ethz.ch/projects/2022/cdkg/), Eurographics 2021
- Guo et al., [Human Performance Capture from Monocular Video in the Wild](https://ait.ethz.ch/projects/2021/human-performance-capture/index.php), 3DV 2021
## Citation
If you use this software, please cite it as below.
```commandline
@software{Kaufmann_Vechev_aitviewer_2022,
author = {Kaufmann, Manuel and Vechev, Velko and Mylonopoulos, Dario},
doi = {10.5281/zenodo.10013305},
month = {7},
title = {{aitviewer}},
url = {https://github.com/eth-ait/aitviewer},
year = {2022}
}
```
## Contact & Contributions
This software was developed by [Manuel Kaufmann](mailto:manuel.kaufmann@inf.ethz.ch), [Velko Vechev](mailto:velko.vechev@inf.ethz.ch) and Dario Mylonopoulos.
For questions please create an issue.
We welcome and encourage module and feature contributions from the community.
![aitviewer Sample](assets/aitviewer_collab.png)
Raw data
{
"_id": null,
"home_page": "https://github.com/eth-ait/aitviewer",
"name": "aitviewer",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7,<3.11",
"maintainer_email": "",
"keywords": "viewer,moderngl,machine learning,sequences,smpl,computer graphics,computer vision,3D,meshes,visualization",
"author": "Manuel Kaufmann, Velko Vechev, Dario Mylonopoulos",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/ce/1e/ba8e0a6624a561c4523f744c6c8caaa11f83b1e1e5770deae52fd8d03856/aitviewer-1.13.0.tar.gz",
"platform": "any",
"description": "[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Tests](https://github.com/eth-ait/aitviewer/actions/workflows/tests.yml/badge.svg)](https://github.com/eth-ait/aitviewer/actions/workflows/tests.yml)\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.10013305.svg)](https://doi.org/10.5281/zenodo.10013305)\n\n# [![aitviewer](assets/aitviewer_logo.svg)](https://github.com/eth-ait/aitviewer)\nA set of tools to visualize and interact with sequences of 3D data with cross-platform support on Windows, Linux, and macOS. See the official page at [https://eth-ait.github.io/aitviewer](https://eth-ait.github.io/aitviewer/) for all the details.\n\n## Installation\nBasic Installation:\n```commandline\npip install aitviewer\n```\nNote that this does not install the GPU-version of PyTorch automatically. If your environment already contains it, you should be good to go, otherwise install it manually.\n\nOr install locally (if you need to extend or modify code)\n```commandline\ngit clone git@github.com:eth-ait/aitviewer.git\ncd aitviewer\npip install -e .\n```\n\nOn macOS with Apple Silicon it is recommended to use PyQt6. Please check [this issue](https://github.com/eth-ait/aitviewer/issues/22) for installation instructions.\n\nFor more advanced installation and for installing SMPL body models, please refer to the [documentation](https://eth-ait.github.io/aitviewer/parametric_human_models/supported_models.html) .\n\n## Features\n* Native Python interface, easy to use and hack.\n* Load [SMPL[-H/-X]](https://smpl.is.tue.mpg.de/) / [MANO](https://mano.is.tue.mpg.de/) / [FLAME](https://flame.is.tue.mpg.de/) / [STAR](https://github.com/ahmedosman/STAR) / [SUPR](https://github.com/ahmedosman/SUPR) sequences and display them in an interactive viewer.\n* Headless mode for server rendering of videos/images.\n* Remote mode for non-blocking integration of visualization code.\n* Render 3D data on top of images via weak-perspective or OpenCV camera models.\n* Animatable camera paths.\n* Edit SMPL sequences and poses manually.\n* Prebuilt renderable primitives (cylinders, spheres, point clouds, etc).\n* Built-in extensible GUI (based on Dear ImGui).\n* Export screenshots, videos and turntable views (as mp4/gif)\n* High-Performance ModernGL-based rendering pipeline (running at 100fps+ on most laptops).\n\n![aitviewer SMPL Editing](https://user-images.githubusercontent.com/5639197/188625764-351100e9-992e-430c-b170-69d4f142f5dd.gif)\n\n\n\n## Quickstart\nDisplay an SMPL T-pose (Requires SMPL models):\n```py\nfrom aitviewer.renderables.smpl import SMPLSequence\nfrom aitviewer.viewer import Viewer\n\nif __name__ == '__main__':\n v = Viewer()\n v.scene.add(SMPLSequence.t_pose())\n v.run()\n```\n\n\n## Projects using the aitviewer\nA sampling of projects using the aitviewer. Let us know if you want to be added to this list!\n- Braun et al., [Physically Plausible Full-Body Hand-Object Interaction Synthesis](https://eth-ait.github.io/phys-fullbody-grasp/), 3DV 2024\n- Zhang and Christen et al., [ArtiGrasp: Physically Plausible Synthesis of Bi-Manual Dexterous Grasping and Articulation](https://eth-ait.github.io/artigrasp/), 3DV 2024\n- Kaufmann et al., [EMDB: The Electromagnetic Database of Global 3D Human Pose and Shape in the Wild](https://ait.ethz.ch/emdb), ICCV 2023\n- Shen and Guo et al., [X-Avatar: Expressive Human Avatars](https://skype-line.github.io/projects/X-Avatar/), CVPR 2023\n- Sun et al., [TRACE: 5D Temporal Regression of Avatars with Dynamic Cameras in 3D Environments](https://www.yusun.work/TRACE/TRACE.html), CVPR 2023\n- Fan et al., [ARCTIC: A Dataset for Dexterous Bimanual Hand-Object Manipulation](https://arctic.is.tue.mpg.de/), CVPR 2023\n- Dong and Guo et al., [PINA: Learning a Personalized Implicit Neural Avatar from a Single RGB-D Video Sequence](https://zj-dong.github.io/pina/), CVPR 2022\n- Dong et al., [Shape-aware Multi-Person Pose Estimation from Multi-view Images](https://ait.ethz.ch/projects/2021/multi-human-pose/), ICCV 2021\n- Kaufmann et al., [EM-POSE: 3D Human Pose Estimation from Sparse Electromagnetic Trackers](https://ait.ethz.ch/projects/2021/em-pose/), ICCV 2021\n- Vechev et al., [Computational Design of Kinesthetic Garments](https://ait.ethz.ch/projects/2022/cdkg/), Eurographics 2021\n- Guo et al., [Human Performance Capture from Monocular Video in the Wild](https://ait.ethz.ch/projects/2021/human-performance-capture/index.php), 3DV 2021\n\n## Citation\nIf you use this software, please cite it as below.\n```commandline\n@software{Kaufmann_Vechev_aitviewer_2022,\n author = {Kaufmann, Manuel and Vechev, Velko and Mylonopoulos, Dario},\n doi = {10.5281/zenodo.10013305},\n month = {7},\n title = {{aitviewer}},\n url = {https://github.com/eth-ait/aitviewer},\n year = {2022}\n}\n```\n\n## Contact & Contributions\nThis software was developed by [Manuel Kaufmann](mailto:manuel.kaufmann@inf.ethz.ch), [Velko Vechev](mailto:velko.vechev@inf.ethz.ch) and Dario Mylonopoulos.\nFor questions please create an issue.\nWe welcome and encourage module and feature contributions from the community.\n\n![aitviewer Sample](assets/aitviewer_collab.png)\n",
"bugtrack_url": null,
"license": "",
"summary": "Viewing and rendering of sequences of 3D data.",
"version": "1.13.0",
"project_urls": {
"Bug Tracker": "https://github.com/eth-ait/aitviewer/issues",
"Documentation": "https://eth-ait.github.io/aitviewer/",
"Homepage": "https://github.com/eth-ait/aitviewer",
"Source": "https://github.com/eth-ait/aitviewer"
},
"split_keywords": [
"viewer",
"moderngl",
"machine learning",
"sequences",
"smpl",
"computer graphics",
"computer vision",
"3d",
"meshes",
"visualization"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ce0ebc64b79b3ab2192bf1d6e1dffa049643286e1d09ef8ec0383d0ab17652ba",
"md5": "bbebceffcf071b7d7bdd36028d995a11",
"sha256": "2be110c5a153ff686862013ca246874a1cb56d5e149b4e451e8993677773d0ef"
},
"downloads": -1,
"filename": "aitviewer-1.13.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "bbebceffcf071b7d7bdd36028d995a11",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7,<3.11",
"size": 255457,
"upload_time": "2024-03-19T15:41:20",
"upload_time_iso_8601": "2024-03-19T15:41:20.736059Z",
"url": "https://files.pythonhosted.org/packages/ce/0e/bc64b79b3ab2192bf1d6e1dffa049643286e1d09ef8ec0383d0ab17652ba/aitviewer-1.13.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ce1eba8e0a6624a561c4523f744c6c8caaa11f83b1e1e5770deae52fd8d03856",
"md5": "462a1e327dc680cc279d37e10b25d320",
"sha256": "27db05fe9ac811cf6a374ce6b08786e0d5bd7bee5283ba4a0b6ad15538abb727"
},
"downloads": -1,
"filename": "aitviewer-1.13.0.tar.gz",
"has_sig": false,
"md5_digest": "462a1e327dc680cc279d37e10b25d320",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7,<3.11",
"size": 215055,
"upload_time": "2024-03-19T15:41:22",
"upload_time_iso_8601": "2024-03-19T15:41:22.781049Z",
"url": "https://files.pythonhosted.org/packages/ce/1e/ba8e0a6624a561c4523f744c6c8caaa11f83b1e1e5770deae52fd8d03856/aitviewer-1.13.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-19 15:41:22",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "eth-ait",
"github_project": "aitviewer",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "aitviewer"
}