Created
January 21, 2017 22:15
-
-
Save pliablepixels/90e687010ee4ee0ed1311174a6ef9192 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Options faceOptions; | |
//faceOptions.set( "method", "hog" ); | |
//faceOptions.set( "dataFile", "shape_predictor_68_face_landmarks.dat" ); | |
faceOptions.set( "method", "cnn" ); | |
faceOptions.set( "dataFile", "mmod_human_face_detector.dat" ); | |
faceOptions.set( "markup", FaceDetector::OZ_FACE_MARKUP_ALL ); | |
FaceDetector detector( "detector", faceOptions ); | |
detector.registerProvider( r ); | |
app.addThread( &detector ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment