MaskTheFace icon indicating copy to clipboard operation
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

Open zhang123-sys opened this issue 11 months ago • 1 comments

(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

image

zhang123-sys avatar Mar 06 '24 15:03 zhang123-sys

Update dlib library to newer versions.

Arpan-14 avatar May 24 '24 07:05 Arpan-14