Merge pull request #205 from yorkie/fix/detector
parameters: when fdloc provided, set detector to use HAAR cascade
This commit is contained in:
commit
d40e57a4c4
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];
|
string face_detector_loc = arguments[i + 1];
|
||||||
face_detector_location = face_detector_loc;
|
face_detector_location = face_detector_loc;
|
||||||
|
curr_face_detector = HAAR_DETECTOR;
|
||||||
valid[i] = false;
|
valid[i] = false;
|
||||||
valid[i + 1] = false;
|
valid[i + 1] = false;
|
||||||
i++;
|
i++;
|
||||||
|
|
Loading…
Reference in a new issue