Skip to content

Instantly share code, notes, and snippets.

@khalidmeister
Created September 5, 2021 08:52
Show Gist options
  • Save khalidmeister/3ef957ddd5e36f5fd4f4d4c80c479c5a to your computer and use it in GitHub Desktop.
Save khalidmeister/3ef957ddd5e36f5fd4f4d4c80c479c5a to your computer and use it in GitHub Desktop.
detector = dlib.get_frontal_face_detector()
predictor = dlib.shape_predictor('../shape_predictor_68_face_landmarks.dat')
cap = cv2.VideoCapture(0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment