Updated the train method to be an InputArrayOfArrays, so the Python wrapper now generates the correct code (and it works).

This commit is contained in:
Philipp Wagner
2012-07-29 23:51:12 +02:00
parent b2deab2175
commit f29d73fe86
2 changed files with 10 additions and 11 deletions

View File

@@ -925,7 +925,7 @@ namespace cv
virtual ~FaceRecognizer() {}
// Trains a FaceRecognizer.
CV_WRAP virtual void train(InputArray src, InputArray labels) = 0;
CV_WRAP virtual void train(InputArrayOfArrays src, InputArray labels) = 0;
// Gets a prediction from a FaceRecognizer.
virtual int predict(InputArray src) const = 0;