Documentation for FaceRecognizer started (not added to toc of contrib/doc/contrib.rst yet). CSV file for the samples/cpp/facerec_demo.cpp added. Added some more exceptions to warn the user, when passing bad aligned data.

This commit is contained in:
Philipp Wagner
2012-06-12 22:49:14 +00:00
parent 5349fa0302
commit 7b544d2a6d
4 changed files with 968 additions and 4 deletions

View File

@@ -116,9 +116,8 @@ int main(int argc, const char *argv[]) {
// test image:
int predictedLabel = model->predict(testSample);
//
// To get the confidence of a prediction call it with:
// To get the confidence of a prediction call the model with:
//
// model with:
// int predictedLabel = -1;
// double confidence = 0.0;
// model->predict(testSample, predictedLabel, confidence);