This project is for face-antispoofing based on ir cameras.
- Prepare dataset (training, validation and test): real faces, spoof faces on printed paper and screens.
- Choose a backbone.
python train.py
- keras h5 file to pb file
cd tools
python h5Topb.py
- keras h5 file to tflite file
python h5Totflite.py
cd test
python test_irspoofing_keras.py