1 | initial version |
If you have video, try using THIS technique and maybe you can use that to tell the difference between a live person and a picture. Maybe only do it if the recognizer says it's the right face.
There's a couple of different OpenCV implementations, google it and see which one is right for you.