narender-rk10 / MyProctor.ai-AI-BASED-SMART-ONLINE-EXAMINATION-PROCTORING-SYSYTEM

This is a AI Based Smart Exam Proctoring System using python flask, mysql as database, yolov4
146 stars 98 forks source link

file shape_predictor_68_face_landmarks.dat not found #16

Closed luthfy13 closed 2 years ago

luthfy13 commented 2 years ago

hello, good morning op. could u upload the file shape_predictor_68_face_landmarks.dat? it's not included in this repo.

i have this error:

Traceback (most recent call last):
  File "app.py", line 29, in <module>
    import camera
  File "/home/User/Documents/MyProctor.ai/camera.py", line 26, in <module>
    gaze = GazeTracking()
  File "/home/User/Documents/MyProctor.ai/gaze_tracking/gaze_tracking.py", line 28, in __init__
    self._predictor = dlib.shape_predictor(model_path)
RuntimeError: Unable to open /home/User/Documents/MyProctor.ai/gaze_tracking/trained_models/shape_predictor_68_face_landmarks.dat
narender-rk10 commented 2 years ago

Download shape_predictor_68_face_landmarks.dat model and import it: https://github.com/italojs/facial-landmarks-recognition/blob/master/shape_predictor_68_face_landmarks.dat?raw=true