this code takes surf feature to detect spoofing face in recognition.
-
the linear svm was selef contained, and you still need to configure two other libraries: Opencv3.0+, vlfeat
-
after that run live demo
-
this code is implemented using c/c++ according to my understanding to << Face Anti-Spoofing using Speeded-Up Robust Features and Fisher Vector Encoding >> , thanks the authors, and you can read this paper if need.