Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

model->get<mat>

Hi to everyone! I am trying to use some obsolete code from opencv 2.4.1 in opencv 3.1 project. And some functions have "get" method:

Mat eigenvalues = model->get<Mat>("eigenvalues");
int ncomponents = model->get<int>("ncomponents");
vector<Mat> projections = model->get<vector<Mat> >("projections");
Mat averageFaceRow = model->get<Mat>("mean");

Does anybody know how to make the same in OpenCV 3.1? Help me please to find a solution. Thank you.