Skip to content

Conversation

@Mr-Dark-debug
Copy link

in the file facerec_from_webcam.py
fixed this codes line 40 and 44 grammar mistakes.

 # Find all the faces and face enqcodings in the frame of video
    face_locations = face_recognition.face_locations(rgb_frame)
    face_encodings = face_recognition.face_encodings(rgb_frame, face_locations)

    # Loop through each face in this frame of video
    for (top, right, bottom, left), face_encoding in zip(face_locations, face_encodings):

changed code

 # Find all the faces and face encodings in the frame of the video
    face_locations = face_recognition.face_locations(rgb_frame)
    face_encodings = face_recognition.face_encodings(rgb_frame, face_locations)

    # Loop through each face in this frame of the video
    for (top, right, bottom, left), face_encoding in zip(face_locations, face_encodings):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant