faceswap-GAN icon indicating copy to clipboard operation
faceswap-GAN copied to clipboard

dlib face detection in video

Open visonpon opened this issue 7 years ago • 2 comments

i test the dlib face detection in my own video(about 10s), but it output only one image ,not output the each frame's face image.

visonpon avatar Jan 12 '18 09:01 visonpon

Adjust min_face_scale to proper ratio. Be careful of the output size that if the cropped faces are much smaller than 64x64, it can be detrimental to your model.

shaoanlu avatar Jan 12 '18 10:01 shaoanlu

Does this program have any requirements for feeding videos? I put a video for about two minutes in the home directory, and then run the dlib_video_face_detection program. After running to the Crop faces section, reported RuntimeError: Expected writable numpy.ndarray with shape set.

notknowchild avatar Dec 09 '19 08:12 notknowchild