/zalo-challenge

liveness-detection

Primary LanguagePython

Step 1: Extract frame from video

python generate.py

Step 2: Crop image to scale

python crop_images_2.py
├───scale_1.0
│   └───liveness_face
│       └───datasets
│           └───datasets_train
|   └───label_list.txt
├───scale_2.7
│   └───liveness_face
│       └───datasets
│           └───datasets_train
|   └───label_list.txt
└───scale_4
    └───liveness_face
        └───datasets
            └───datasets_train 
    └───label_list.txt

Config params: ./src/default_config.py

Step 3: training model

python train.py

refers: