Open MANI1805 opened 2 years ago
def find_encodings(images):
for img in images: encodings = face_recognition.face_encodings(img)[0] encode_list.append(encodings) return encode_list
encodeListKnown = find_encodings(images)
Traceback (most recent call last): File "E:/Mask-Face-recog-Project-main/Face_recog.py", line 138, in encode_list = find_encodings(images) File "E:/Mask-Face-recog-Project-main/Face_recog.py", line 132, in find_encodings encodings = face_recognition.face_encodings(img)[0] TypeError: face_encodings() missing 1 required positional argument: 'facesCurFrame'
def find_encodings(images):
for names in images :
encodeListKnown = find_encodings(images)
Traceback (most recent call last): File "E:/Mask-Face-recog-Project-main/Face_recog.py", line 138, in
encode_list = find_encodings(images)
File "E:/Mask-Face-recog-Project-main/Face_recog.py", line 132, in find_encodings
encodings = face_recognition.face_encodings(img)[0]
TypeError: face_encodings() missing 1 required positional argument: 'facesCurFrame'