FaceRecognizer class is now derived from Algorithm, therefore it's possible to set and retrieve the parameters using conventional Algorithm::set and Algorithm::get methods

This commit is contained in:
Vadim Pisarevsky
2012-05-21 15:27:40 +00:00
parent fd68cc768a
commit 41c932f306
2 changed files with 68 additions and 47 deletions

View File

@@ -918,7 +918,7 @@ namespace cv
void lda(InputArray src, InputArray labels);
};
class CV_EXPORTS FaceRecognizer
class CV_EXPORTS FaceRecognizer : public Algorithm
{
public:
//! virtual destructor
@@ -970,6 +970,8 @@ namespace cv
};
CV_EXPORTS void applyColorMap(InputArray src, OutputArray dst, int colormap);
CV_EXPORTS bool initModule_contrib();
}