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
and how to find pixel of face cause i want to compare higher pixel if more than one face is detected in photo, what i try is calculate the top, right, bottom, left but is wrong:
face_locations1 = face_recognition.face_locations(selfieimage, number_of_times_to_upsample=2, model="cnn")
compare_encode1 = face_recognition.face_encodings(selfieimage, face_locations1, num_jitters=6)
for (top, right, bottom, left), face_encoding in zip(face_locations1, compare_encode1):
i = 0
print(face_encoding)
res = [compare_encode1[i]]
selfielowest.append(compare_encode1[i])
i = i + 1
The text was updated successfully, but these errors were encountered:
blinkbink
changed the title
Error while use batch_face_locations
Error while use batch_face_locations and how to get pixel of face location
Aug 21, 2019
i'm try to use batch_face_locations, this my code :
but got this error :
why this happen ?
and how to find pixel of face cause i want to compare higher pixel if more than one face is detected in photo, what i try is calculate the top, right, bottom, left but is wrong:
The text was updated successfully, but these errors were encountered: