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" -
View it on GitHub