-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
action units / other notes #1
Comments
Hi Zach! Thanks for the heads up. I will work on this when I get the chance. I did run different cmake commands for Debug/Release. It looked something like:
|
ps requires more testing, but I found my crashing disappeared when I did this -- which makes a copy of the matToProcessColor
see for example |
Hey @ofZach, check out the new branch OpenFace_v2.0.3. It includes an HAAR single face fix, and contains the Debug & Release libs for OpenFace compiled with Boost 1.57, which fixes the action unit issue. I've also added the thread-safe material copy. I did get some weird crashes too and never figured out where that came from. Good catch! I don't have the time now to do a proper integration of action units into the example (GUI toggle, drawing), but if you look at FaceLandmarkVidMulti.cpp from the OpenFace examples, you can probably figure it out, as my code uses a lot of that logic. I've also noticed that the single face example doesn't do action units, and it would probably be good to do it in the OF integration. |
greetings, I was able to get action units to work by recompiling openface with a different version of boost
I think it was something like this (reviewing my history)
or something like this. I don't have debug and release builds of the openface libraries (not sure if there's a special cmake command to get that) but happy to share if helpful.
I think I also had to set a #define in opencv (latest) for openface to compile (something in traits.hpp)
couple of other notes -- setupsingleface() was missing some code for loading Haar I think, I copied some lines from setupmultiface to help.
The text was updated successfully, but these errors were encountered: