patrikhuber / 4dface

Real-time 3D face tracking and reconstruction from 2D video

Home Page:https://www.4dface.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shortcuts in the 4dface app

quentbau opened this issue · comments

Good morning,
First I would like to thank you for making such a cool software available as open source! I am running it on ubuntu throught the console command "cd install/bin" and "./4dface -i test.mp4", test.mp4 being a video file present in install/bin. I cannot run the application by double clicking on it in the folder install/bin directly, do you know if it is normal?
It opens two windows: my video with a green mesh on top of the face and a small render window where the 3d imaging of the face appears. My issue is I am stuck here with the functionalities: i cannot use the shortcuts q, r ans especially s in order to save the 3d model (mesh+texture). Could you please explain how to export the 3d model? Is there a command i could write in the console?

Thanks a lot for your work,
Quentin

Hi!

I think when you double-click the file, it starts it with the default parameters, which expect the model and all the stuff to be in a certain directory relative to where you run the executable from. If these paths all match, I'm not sure why it wouldn't work, I usually use the terminal to run such kind of apps :-)

The shortcuts should really work. Have you tried focusing the various windows? Maybe the focus is in the wrong window? Or maybe OpenCV changed something in one of their latest versions, though I think that's unlikely to be the cause of error here.
You can always modify the code to save whatever you want to save :-)

I'm going to close this as I think it's probably an issue with your system, but please feel free to post back with some more details if you find out.

Thank you very much for answering my question! I though I was not focusing the good window as well but it was not the case. I finally changed the code so that it exports the 3Dmodel and texture before ending.
Thanks a lot!