/h2oplayer

Visualization Tool for the H2O dataset

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

H2OPlayer

Alt text

Installation

  • Python 3.8
  • git clone https://github.com/taeinkwon/h2oplayer
  • pip install -r requirements.txt

Download MANO model and Manopth

In this app, we use MANO model from MPI and some part of Yana's code. Note that all code and data you download follow the licenses of each repository.

  • Go to the mano website and download models and code.
  • Copy the mano folder into h2oplayer folder
  • Copy the model folder into h2oplayer/mano folder
  • Clone manopth and copy manopth folder (inside) into the plyplayer folder.
  • Folder structure should look like the following:
h2oplayer/
  mano/
    models/
      MANO_LEFT.pkl
      MANO_RIGHT.pkl
      ...
  manopth/
    argutils.py
    demo.py
    ...

Demo

python h2oplayer.py --source /media/taein/storage/h2o_v5/subject1/h1/0/ --start 10 --end 15 --hand_proj --hands --object --ego --rgb --ply_create --action_info

How to control

space : stop/play
,: previous frame
.: next frame
r: return to the first frame

ctrl + drag: Move camera position
wheel: zoom-in/out