I tested it and it sample is not useful. We want to face detection and recognation face for example in live video if show my face then in top of my face show 'Ali Abbasi' and if in live video show your face them a top of face show 'Nigel'. We want to face recognation and face detection is not complete. I am sure it is very useful for many developers. Please see in the attachment file.
For my part I would like to use a film to capture several faces. The examples you provide seem to work only with a computer camera and I don't see how to modify the sources to adapt them to a video. Thank you for your help. Best Regards