MaskTheFace
MaskTheFace copied to clipboard
Error when running "python mask_the_face.py --path 'data/frontal1.jpg' --mask_type N95 --verbose --write_original_image" with dlib==19.24.99
(python3.6) E:\face_mask\MaskTheFace>python mask_the_face.py --path 'data/frontal1.jpg' --mask_type N95 --verbose --write_original_image
Traceback (most recent call last):
File "mask_the_face.py", line 86, in <module>
args.predictor = dlib.shape_predictor(path_to_dlib_model)
RuntimeError: Error deserializing object of type int
Update dlib library to newer versions.