fixed binary compatibility

This commit is contained in:
Konstantin Matskevich
2014-05-20 18:03:20 +04:00
parent a46f119fdf
commit 8d4a76925c
4 changed files with 76 additions and 115 deletions

View File

@@ -118,6 +118,7 @@ int main(int argc, const char *argv[]) {
Ptr<FaceRecognizer> model = createEigenFaceRecognizer();
model->setLabelsInfo(labelsInfo);
model->train(images, labels);
// The following line predicts the label of a given
// test image:
int predictedLabel = model->predict(testSample);