patrikhuber / eos

A lightweight 3D Morphable Face Model library in modern C++
Apache License 2.0
1.91k stars 597 forks source link

If I used the openpose to get the 3d-face json file how can I use the eos to build up the mesh? #210

Closed Myzhencai closed 6 years ago

Myzhencai commented 6 years ago

@patrikhuber thans for your awsome work , I have a question just as the title . and this is the format of openpose 3D-FACE json: https://github.com/CMU-Perceptual-Computing-Lab/openpose/blob/master/doc/output.md

patrikhuber commented 6 years ago

@Myzhencai The document you linked is quite long and I'm not familiar with openpose. Which part of the openpose json do you want to use for eos? Is it 2D landmarks? Or 3D pose? If it's the 2D landmarks, it's really easy, you just need to define a mappings file (see the share/ directory). The 2D face landmarks on that page look very similar to the ibug-68 landmarks.

Myzhencai commented 6 years ago

@patrikhuber thanks for your reply ,the openpose can get the 2d and 3d information in the same time ,I want to extract the 2d information for use .But I have the doubt like this : can the 3d information get more exact result face models? Any way I will try the 2d first and thanks for your kind answer . Have a nice day : -).