Ask Your Question

Revision history [back]


FaceRecognizer::save("/var/www/html/photos/saved.txt");

What is this?

You have to call this on an instance of a FaceRecognizer, so in your example it would be:


model->save("/var/www/html/photos/saved.txt");

And the problems should be gone.


FaceRecognizer::save("/var/www/html/photos/saved.txt");

What is this?

You have to call this the save method on an instance instance of a FaceRecognizer, FaceRecognizer, so in your example it would be:


model->save("/var/www/html/photos/saved.txt");

And the problems should be gone.