Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to merge new LBP traning 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:

  1. 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..)

  2. 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 used update()?

  3. 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

How to merge new LBP traning 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:

  1. 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..)

  2. 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 used update()?

  3. 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

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:

  1. 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..)

  2. 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 used use update()?

  3. 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