Quantcast
Viewing all articles
Browse latest Browse all 40524

Face tracking with dlib?

@stephanschulz I was able to get it up and running by updating the project build settings. In Project Settings -> Build Phases -> Run Script I found this line in the shell script:

install_name_tool -change @executable_path/libfmodex.dylib @executable_path/../Frameworks/libfmodex.dylib "$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/MacOS/$PRODUCT_NAME\";

And replaced @executable_path/libfmodex.dylib with ./libfmodex.dylib. (Not sure how it got that way but this is what it's set to in the 0.9.0 emptyExample project).

This article explains a little bit about what install_name_tool is doing.

ALSO I ran into a runtime error once I resolved that issue giving me an EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0) error thrown in one of the dlib source files.

I you run into this, I fixed it by going to Project Settings -> Build Settings -> "APPLE LLVM 6.1 - Code Generation" and changed the value of "Enable Additional Vector Extensions" from "AVX" to "Platform default".

Image may be NSFW.
Clik here to view.


Viewing all articles
Browse latest Browse all 40524

Trending Articles