Ask Your Question

Revision history [back]

facerecognizer save() method

I miss a problem when I using the save() method in my face recognizer project. My code is:

    Ptr<FaceRecognizer> model = createEigenFaceRecognizer();
model->set("threshold",100.0);
model->train(images,labels);
model->save("/sdcard/Train_model.xml");

I can't open the file /sdcard/Train_model.xml in my project. I want to know whether the save method can create a new file. I hope that I can get your help,thanks My error isimage description

click to hide/show revision 2
retagged

updated 2014-04-21 08:22:37 -0600

berak gravatar image

facerecognizer save() method

I miss a problem when I using the save() method in my face recognizer project. My code is:

    Ptr<FaceRecognizer> model = createEigenFaceRecognizer();
model->set("threshold",100.0);
model->train(images,labels);
model->save("/sdcard/Train_model.xml");

I can't open the file /sdcard/Train_model.xml in my project. I want to know whether the save method can create a new file. I hope that I can get your help,thanks My error isimage description