Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 1.02 KB

File metadata and controls

22 lines (13 loc) · 1.02 KB

face_liveness_detection-Anti-spoofing

face liveness detection activate, the script asks the person to generate an action, for example one of the actions they may ask you to do is smile, turn your face to the right, get angry, blink, etc. The actions are requested randomly, after fulfilling all the actions it generates a message saying "liveness successful" or "liveness fail".

How to install:

pip install -r requirements.txt 

How to run:

The code is tested in python 3.7.8 and macOS Catalina

python face_anti_spoofing.py 

alt text

alt text

References