1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

FaceRecognizer supports updating a model now. Documentation has been updated to reflect latest changes.

This commit is contained in:
Philipp Wagner
2012-07-30 19:31:10 +02:00
parent b9d7c712f5
commit 62a8f6783e
3 changed files with 99 additions and 25 deletions
@@ -927,6 +927,9 @@ namespace cv
// Trains a FaceRecognizer.
CV_WRAP virtual void train(InputArrayOfArrays src, InputArray labels) = 0;
// Updates a FaceRecognizer.
CV_WRAP virtual void update(InputArrayOfArrays src, InputArray labels);
// Gets a prediction from a FaceRecognizer.
virtual int predict(InputArray src) const = 0;