Skip to content

Instantly share code, notes, and snippets.

@Mooan
Last active March 20, 2016 13:51
Show Gist options
  • Save Mooan/9b99183a30e5aed15c7e to your computer and use it in GitHub Desktop.
Save Mooan/9b99183a30e5aed15c7e to your computer and use it in GitHub Desktop.
Facial detection

Install OpenCV 3.0

Install dlib

Facial landmark detection

$g++ -O3 -I.. ../../dlib/all/source.cpp -I../../ `pkg-config --cflags opencv` -lpthread -lX11 ../../examples/webcam_face_pose_ex.cpp -o webcam_face_pose_ex -L$HOME/opt/opencv/share/OpenCV/3rdparty/lib/ `pkg-config --libs opencv`
$sudo apt-get install libboost-python1.55.0  libboost-python1.55-dev
$python setup.py install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment