Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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