Ask Your Question

Revision history [back]

The LBPH is the only algorithm that alow us update our training data stored in xml file. I work with c++ and now i'm looking some way to delete a representation of one person, but i still looking for. I promess you if a found it that i share with you guys.

The LBPH use 2 vectors to train the model. The first vector contains the Mat as faces and the second vector contains the integers as ids. Once created the model you can update it with the function of same name (update(param1, param2)) This parameters are the same of the Train function but only with the new person information.

After update the model you most save it (model->save("path")) and latter load it (model->load("path")) again; I hope has been usefull to you.