davidsandberg / facenet

Face recognition using Tensorflow
MIT License
13.72k stars 4.8k forks source link

Liveness detection #1157

Open dan-developer opened 4 years ago

dan-developer commented 4 years ago

Is it possible to do a liveness check and ensure that it is not a printed photo that the user is holding in front of a webcam?

satinder147 commented 4 years ago

You can look if the eyes blink, you can use dlib to get face landmarks. For more info you can have a look at pyimagesearch blink detection.