Primary Study on the Face-recognition Framework with anti-spoofing function