Skip to content

A set of tools to visualize and interact with sequences of 3D data.

License

Notifications You must be signed in to change notification settings

eth-ait/aitviewer

Repository files navigation

Code style: black Tests DOI

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 for all the details.

Installation

Basic Installation:

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)

git clone [email protected]:eth-ait/aitviewer.git
cd aitviewer
pip install -e .

On macOS with Apple Silicon it is recommended to use PyQt6. Please check this issue for installation instructions.

For more advanced installation and for installing SMPL body models, please refer to the documentation .

Features

  • Native Python interface, easy to use and hack.
  • Load SMPL[-H/-X] / MANO / FLAME / STAR / 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

Quickstart

Display an SMPL T-pose (Requires SMPL models):

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!

Citation

If you use this software, please cite it as below.

@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, Velko Vechev and Dario Mylonopoulos. For questions please create an issue. We welcome and encourage module and feature contributions from the community.

aitviewer Sample