I am trying to adopt a liveness recognition model from this tutorial (the code was not much modified, the model remained untouched):
https://www.pyimagesearch.com/2019/03