some fraction of code is as following. Ptr model = createFisherFaceRecognizer(); model->train(images, labels); . . . . . int prediction = model->predict(face_resized);
1 | initial version |
some fraction of code is as following. Ptr model = createFisherFaceRecognizer(); model->train(images, labels); . . . . . int prediction = model->predict(face_resized);
2 | retagged |
some fraction of code is as following. Ptr model = createFisherFaceRecognizer(); model->train(images, labels); . . . . . int prediction = model->predict(face_resized);