parameters: when fdloc provided, set detector to use HAAR cascade

This commit is contained in:
yorkie 2017-06-15 11:13:42 +08:00
parent 34c81ee113
commit a539e73b93

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++;