Merge pull request #205 from yorkie/fix/detector

parameters: when fdloc provided, set detector to use HAAR cascade
This commit is contained in:
Tadas Baltrusaitis 2017-06-15 12:06:02 -04:00 committed by GitHub
commit d40e57a4c4

View file

@ -87,6 +87,7 @@ FaceModelParameters::FaceModelParameters(vector<string> &arguments)
{
string face_detector_loc = arguments[i + 1];
face_detector_location = face_detector_loc;
curr_face_detector = HAAR_DETECTOR;
valid[i] = false;
valid[i + 1] = false;
i++;