(face) E:\code\运行代码>C:/Users/29847/Anaconda3/envs/face/python.exe e:/code/运行代码/face.py
Traceback (most recent call last):
File “e:\code\运行代码\face.py”, line 76, in
success = registrator.register_face(“Mark_Zuckerberg”, “MarkZuckerberg\Mark_Zuckerberg_0001.jpg”)
File “e:\code\运行代码\face.py”, line 35, in register_face
face_locations = face_recognition.face_locations(image)
File “C:\Users\29847\Anaconda3\envs\face\lib\site-packages\face_recognition\api.py”, line 121, in face_locations
return [_trim_css_to_bounds(_rect_to_css(face), img.shape) for face in _raw_face_locations(img, number_of_times_to_upsample, model)]
File “C:\Users\29847\Anaconda3\envs\face\lib\site-packages\face_recognition\api.py”, line 105, in _raw_face_locations
return