When I call LBPHFaceRecognizer::predict method I get the following error: OpenCV Error: Bad argument (This LBPH model is not computed yet. Did you call the train method?)
Is it possible to check if model of LBPHFaceRecognizer is trained or not?
1 | initial version |
When I call LBPHFaceRecognizer::predict method I get the following error: OpenCV Error: Bad argument (This LBPH model is not computed yet. Did you call the train method?)
Is it possible to check if model of LBPHFaceRecognizer is trained or not?