Several exceptions added to the available FaceRecognizer classes and helper methods, so wrong input data is reported to the user. facerec_demo.cpp updated to latest cv::Algorithm changes and commented.

This commit is contained in:
Philipp Wagner
2012-06-10 11:57:33 +00:00
parent 6727e4cb6d
commit ee1b671279
4 changed files with 282 additions and 142 deletions

View File

@@ -942,8 +942,6 @@ namespace cv
// Deserializes this object from a given cv::FileStorage.
virtual void load(const FileStorage& fs) = 0;
// Returns eigenvectors (if any)
virtual Mat eigenvectors() const { return Mat(); }
};
CV_EXPORTS Ptr<FaceRecognizer> createEigenFaceRecognizer(int num_components = 0);