Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to read/write a PCA object from/to a cv::FileStorage ?

Dear all,

I'm trying to save (and subsequently reuse) to a cv::FileStorage a cv::PCAobject after training it.

However, the cv::FileStorageclass does not implement suitable R/W methods for this type, and the cv::PCA class description does provide little insight on how to initialize an object without computing a principal component analysis.

Is what I want to do possible ? And in this case, could someone please point me to the methods that would be useful in my case,?

Thanks in advance.