How to merge new LBP training to existing one?
Hi,
I have done several implementations of face recognition and currently working with LBP training models. I can create LBP face training models and call the FaceRecognizer update() to append new faces traning.
Now, considering that I have 2 raspberry boards running the face recognizer service, I would need to replicate the XML training file into both boards evertyime I add a new face.
Let's say I have a server that holds the faces (10 to 20 images per person) and the training XML itself. Now, I see 3 ways to let both raspberry boards updated:
The server service runs the update() to add up new faces to the existing XML training and then the file is downloaded to both boards.
a) PROS: Only 1 file as training model all the time.
b) CONS: File gets bigger and bigger all the time
c) CONS: Raspberry will download bigger files (take time..)
The server service runs a NEW training on new faces and create a NEW XML file. Then the boards keep track of new XML files and APPEND it to its actual file.
a) PROS: Server will keep lots of versioned .xml files
b) PROS: Raspberry will download only the last training (small file)
c) CONS: HOW to merge/append this new XML file to existing one as I cannot use update()?
Boards download the new available server's faces set and each board update() its own XML LBP training.
a) PROS: Board will download only a few images < 1MB.
b) PROS: Boards just need to run update() to update the training file
Does any of you have implemented some kind work like this? Any suggestion?
Thanks!
Regards, Sylvio
run the face reco on a decent, central server, and let your raspi's act as shallow clients for that.
(imho, your problem is artificial)
You mean that I should upload new faces to the server to recognize it? I do want to run it offline for fast recognition. Consider that the number of raspberrys can increase to 100 units..
you want to deploy, mantain and synchonize models on 100 seperate pi's ?
... no dear.