Open Beat24 opened 2 years ago
Hi! I believe the expression detection may not currently work natively under Linux.
You can probably make a Linux build using the files here:
https://github.com/emilianavt/OpenSeeFace/tree/master/Source
I haven't tested it, but something like g++ SVMWrapper.cpp svm.cpp -shared -o LibSVM.so
might work. Then place it into the Plugins folder inside the Unity project.
When trying to build I get:
SVMWrapper.cpp:4:10: fatal error: stdafx.h: No existe el archivo o el directorio (The file nor the path exists) 4 | #include "stdafx.h" | ^
~~~~~ compilation terminated. svm.cpp:1:10: fatal error: stdafx.h: No existe el archivo o el directorio (The file nor the path exists) 1 | #include "stdafx.h" | ^~~~~~ compilation terminated.
I checked with Visual Studio Code to see what was happening and I got some the exceptions (Translated)
svm.cpp (3)
Include errors have been detected. Update the value of includePath. The undulating underline is disabled for this translation unit
- The source file can not be opened (Error code "stadfx.h").
- The source file can not be opened (Error code "combaseapi.h").
svm.h (1)
Include errors have been detected. Update the value of includePath. The undulating underline is disabled for this translation unit
SVMWrapper.cpp (2)
Include errors have been detected. Update the value of includePath. The undulating underline is disabled for this translation unit
- The source file can not be opened (Error code "stadfx.h").
ThunderSVMWrapper.cpp (7)
- The source file can not be opened (Error code "pch.h").
- The source file can not be opened (Error code "framework.h").
- The source file can not be opened (Error code "ThunderSVMWrapper.h").
- The source file can not be opened (Error code "thundersvm.h").
- The source file can not be opened (Error code "svmmodel.h").
- The source file can not be opened (Error code "svc.h").
I thought this was a problem with Linux so I checked in Windows and tried to build there, but I get the same problems. I searched and found that it seems I'm missing some header files that are supposed to be bundled with the IDE but I couldn't find them.
I'll look into making this part build properly.
Ok, thank you so much!
I'm using Unity 2020.3.30f1 Personal running on KDE Neon 5.24 (Ubuntu 20.04 LTS)
I'm trying to record expressions with the OpenSeeExpression Script, but when I click "Train" I get this Exception in the Console:
I also get this message when clicking the "Load" tick:
I haven't edited neither the script nor the plugin, I also seem to be getting the corresponding Debug.Logs when clicking "Train" up until
I also tried with ThunderSVM but it also fails