Ask Your Question

how to appened the new faces into the xml file

asked 2013-08-22 09:48:48 -0500

updated 2014-04-21 11:31:06 -0500

berak gravatar image

Hi, I am trying to do face recognition module. In this i am using Face recognizer class. By using the save option, copied the faces to the xml file. Again if i try to add some faces to the xml file, it is not getting appended, instead it again starts to add fron starting. Help me how can i appened the new faces into existing xml file using face recognizer class.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-08-22 10:23:17 -0500

berak gravatar image

updated 2013-08-22 12:16:25 -0500

first of all, appending faces only makes sense for the LBP face recognizer.

and you probably should not (manually) append data to the xml file, instead:

  • load the existing one
  • call reco->update(images,labels); with your new data

  • save it again

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2013-08-22 09:48:48 -0500

Seen: 265 times

Last updated: Apr 21 '14