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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user