Ask Your Question
0

how to appened the new faces into the xml file

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

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

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
3

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

berak gravatar image

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

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

Question Tools

Stats

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

Seen: 449 times

Last updated: Apr 21 '14