antoinelame / GazeTracking

👀 Eye Tracking library easily implementable to your projects
MIT License
1.85k stars 505 forks source link

Run Error #11

Closed Blackhorse1988 closed 5 years ago

Blackhorse1988 commented 5 years ago

Didn´t modified anything on the code and get these error. dlib version is 19.9, Package requirement 19.16.0 is needed. Is that important?

Traceback (most recent call last): File "C:/Users/XXXXX/PycharmProjects/untitled2/example.py", line 9, in gaze = GazeTracking() File "C:\Users\XXXXX\PycharmProjects\untitled2\gaze_tracking\gaze_tracking.py", line 28, in init self._predictor = dlib.shape_predictor(model_path) RuntimeError: Error deserializing object of type int

Process finished with exit code 1

antoinelame commented 5 years ago

Hi @Blackhorse1988 It's not about dlib version. Your shape_predictor_68_face_landmarks.dat is corrupted. It seems that because Git LFS, a lot of people are in the same situation... Check this issue to solve it.

Blackhorse1988 commented 5 years ago

great, it works! :)

Blackhorse1988 commented 5 years ago

Thank you very much!