jonepatr / genea_visualizer

This repository provides scripts that can be used to visualize BVH files. These scripts were developed for the GENEA Challenge 2020, and enables reproducing the visualizations used for the challenge stimuli. The server consists of several containers which are launched together with the docker-compose.
GNU General Public License v3.0
39 stars 18 forks source link

Failed with bvh file obtained from OpenPose joint #6

Closed teshima058 closed 3 years ago

teshima058 commented 3 years ago

I used video2bvh to get a bvh file from a video. In video2bvh, it seems that the 2D-joints are estimated by OpenPose and it is lifted to 3D-joints by 3d-pose-baseline. Here is a sample bvh file I output.

However, the visualizer doesn't seem to work in this format. How can I convert the 3D coordinates of the 8 upper body joints obtained by OpenPose into a bvh file that can be handled by this visualizer?

Svito-zar commented 3 years ago

Dear @teshima058 ,

The script in this repo can only visualize BVH files for the motions of a specific skeleton from the GENEA dataset.

For using a different skeleton you would need to do several things:

  1. Replace gender_mesh.fbx with the skeleton corresponding to your data
  2. Remove the postprocessing code

Hope it helps, Taras

teshima058 commented 3 years ago

Dear @Svito-zar Thank you so much for your answer. I would like to apply this visualizer to OpenPose joints by myself.

birdflies commented 3 years ago

Dear @Svito-zar Thank you so much for your answer. I would like to apply this visualizer to OpenPose joints by myself.

@teshima058 Dear,do you solve this problem?I have a similar problem