在录入了17张人脸信息之后再运行会报错
(dlib_env) cc@CAIMacBook-Air main % python3.10 get_faces_from_camera_tkinter.py
Traceback (most recent call last):
File "/Users/cc/Downloads/face/main/get_faces_from_camera_tkinter.py", line 304, in
main()
File "/Users/cc/Downloads/face/main/get_faces_from_camera_tkinter.py", line 300, in main
Face_Register_con.run()
File "/Users/cc/Downloads/face/main/get_faces_from_camera_tkinter.py", line 291, in run
self.check_existing_faces_cnt()
File "/Users/cc/Downloads/face/main/get_faces_from_camera_tkinter.py", line 172, in check_existing_faces_cnt
person_num_list.append(int(person_order))
ValueError: invalid literal for int() with base 10: 'Store'
在录入了17张人脸信息之后再运行会报错 (dlib_env) cc@CAIMacBook-Air main % python3.10 get_faces_from_camera_tkinter.py Traceback (most recent call last): File "/Users/cc/Downloads/face/main/get_faces_from_camera_tkinter.py", line 304, in
main()
File "/Users/cc/Downloads/face/main/get_faces_from_camera_tkinter.py", line 300, in main
Face_Register_con.run()
File "/Users/cc/Downloads/face/main/get_faces_from_camera_tkinter.py", line 291, in run
self.check_existing_faces_cnt()
File "/Users/cc/Downloads/face/main/get_faces_from_camera_tkinter.py", line 172, in check_existing_faces_cnt
person_num_list.append(int(person_order))
ValueError: invalid literal for int() with base 10: 'Store'