You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using these two lines to create the encoding of the faces in the webcam frame:
face_locations = face_recognition.face_locations(rgb_frame)
face_encodings = face_recognition.face_encodings(rgb_frame, face_locations)
but what I'm getting if there are more than one face in the frame:
for face_locations : [(167, 373, 322, 218)]
for face_encodings : one 128d array.
what I'm trying to get is for example if there are two faces in the frame, I want two 128d array for each face.
I will include the full file of the code. inside.txt
What I Did
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.
The text was updated successfully, but these errors were encountered:
Description
I'm using these two lines to create the encoding of the faces in the webcam frame:
face_locations = face_recognition.face_locations(rgb_frame)
face_encodings = face_recognition.face_encodings(rgb_frame, face_locations)
but what I'm getting if there are more than one face in the frame:
for face_locations : [(167, 373, 322, 218)]
for face_encodings : one 128d array.
what I'm trying to get is for example if there are two faces in the frame, I want two 128d array for each face.
I will include the full file of the code.
inside.txt
What I Did
The text was updated successfully, but these errors were encountered: