parameters: when fdloc provided, set detector to use HAAR cascade
This commit is contained in:
parent
34c81ee113
commit
a539e73b93
1 changed files with 1 additions and 0 deletions
|
@ -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++;
|
||||
|
|
Loading…
Reference in a new issue