We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f5aeecf + 025e137 commit a41d0fdCopy full SHA for a41d0fd
modules/face/src/facemarkLBF.cpp
@@ -332,9 +332,9 @@ void FacemarkLBFImpl::training(void* parameters){
332
CV_Error(Error::StsBadArg, "Training data is not provided. Consider to add using addTrainingSample() function!");
333
}
334
335
- if (params.cascade_face.empty() || (params.model_filename.empty() && params.save_model))
+ if (params.model_filename.empty() && params.save_model)
336
{
337
- CV_Error(Error::StsBadArg, "The parameter cascade_face and model_filename should be set!");
+ CV_Error(Error::StsBadArg, "The parameter model_filename should be set!");
338
339
340
// flip the image and swap the landmark position
0 commit comments