- pytorch
- cv2
- tensorflow
- mtcnn
run generate_frames_and_bbox.py
,video is sampled as a frame,also generate a file_list containing the list of files_name and the bbox of the face
like this:
file_name x y w h label
/home/CASIA_frames/test_release/27/1/frame_42.jpg 233 122 170 215 1
run crop_image.py
,generate face photos at different scales,like this
To facilitate training, generate a file_list for each scale.
run train.py
,a network will be trained and tested every n epochs