Skip to content

Update facerec_from_webcam.py updated the grammer in line 40,44#1570

Open
Mr-Dark-debug wants to merge 1 commit into
ageitgey:masterfrom
Mr-Dark-debug:master
Open

Update facerec_from_webcam.py updated the grammer in line 40,44#1570
Mr-Dark-debug wants to merge 1 commit into
ageitgey:masterfrom
Mr-Dark-debug:master

Conversation

@Mr-Dark-debug
Copy link
Copy Markdown

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