How does stereocam prevents anti face spoofing?
I am struck with face spoofing. Right now I can setup stereo webcam and take images from left and right webcam simulatenously(at least, I am practicing concurrent programming to do this job).
I can extract the eyes, nose, mouth, face center correctly. I had search on face spoofing publication. I usually found texture, skin, or something similar analysis on the single picture. And the prominent technique is 3D face scanner by maser
Question:
I do not know how to let computer distinguish between single picture(spoofing case) and real face(human face).
I heard that is not difficult, but I could not figure out.
Please guide me some clue then I will report back what I found.
If you use stereo cameras, you can check if your face is flat (picture) or have depth (real face).
For that, you have to do the classical procedure for stereo cameras:
There is a sample code here: stereo_match.cpp.