NumesSanguis / FACSvatar

An Open Source Modular Framework From Face to FACS Based Avatar Animation (Unity3D / Blender)
GNU Lesser General Public License v3.0
430 stars 97 forks source link

Avatar Face isn't moving at all #5

Closed SilentSin closed 5 years ago

SilentSin commented 6 years ago

Following on from https://github.com/TadasBaltrusaitis/OpenFace/issues/492.

I pasted the MainWindow.xaml.cs straight in and it worked fine, though I do still get the same crash when trying to load webcams so I'll wait for a response on my other issue over there. https://github.com/TadasBaltrusaitis/OpenFace/issues/506

Using cd to change the working directory to the folder containing each of the python files before running them seems to have done the trick. I now get both the n_proxy_m_bus.py and pub_facs.py scrolling through lots of data then eventually stopping, but the head in Unity still doesn't do anything. I get the Debug.Logs in ZeroMQFACSvatar.cs for "Setting up subscriber sock" and "sub socket initiliased", but uncommenting the one for "Received messages:" never gets called.

NumesSanguis commented 6 years ago

Dear SilentSin,

I wanted to have the new Unity3D project that works with the latest master branch uploaded by now, but unfortunately the experiments I'm running are taking more time than expected. Currently I did some hackish approach for my experiment, so I have to clean-up the code before uploading. I hope to have updated the Unity3D project in 2 days. Documentation will take somewhat longer.

SilentSin commented 6 years ago

OK cool, thanks for keeping me in the loop.

NumesSanguis commented 6 years ago

A new Unity3D project has been uploaded that should work with the updated code. Please try again and let me know whether it works :)

SilentSin commented 6 years ago

It works :)

I also fixed the crash in OpenFaceOffline (the depth sensor in the RealSense camera shows up as a separate device that fails to give a proper width and height, so I just made it skip over any device with 0 size) and I can stream in real time from there as well.

A couple of things I noticed:

Thanks a lot for the work you've done and the help you've given me.

NumesSanguis commented 6 years ago

I also had trouble with getting the RealSense camera to work. Good to know what the problem is.

You're welcome :)