ihp-lab / OpenSense

OpenSense: A Platform for Multimodal Data Acquisition and Behavior Perception
Other
32 stars 7 forks source link

OpenFace Integration with PSI #15

Open mwstiber opened 3 years ago

mwstiber commented 3 years ago

I was trying to integrate OpenFace with PSI and was having trouble. I was wondering if you have any recommendations/examples on how you did it. I added CPPInerop.dll as a project reference but when it comes to running the program, it is unable to load the library. I appreciate any advice you can give me.

KanaHayama commented 3 years ago

The interoperation assembly is inside project OpenFaceInterop. I think the code there was got from some other places.

And OpenFace.cs is how that assembly is used in \psi.

KanaHayama commented 3 years ago

Adding only the interop DLL in project dependency may not enough. All OpenFace's native dependencies should be copied to the output directory.