Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError: list index out of range #1

Open
albertyou2 opened this issue Nov 17, 2018 · 3 comments
Open

IndexError: list index out of range #1

albertyou2 opened this issue Nov 17, 2018 · 3 comments

Comments

@albertyou2
Copy link

@66pig
你好,当我配置识别的人超过3个的时候
会出现这个错误

Traceback (most recent call last):
File "face.py", line 836, in
ui = MainWindow()
File "face.py", line 77, in init
self.get_userinfo_fromapifile()
File "face.py", line 217, in get_userinfo_fromapifile
self.person.append(face_recognition.face_encodings(face_recognition.load_image_file(user["avatar"]))[0])
IndexError: list index out of range

@66pig
Copy link
Owner

66pig commented Jun 8, 2019

@66pig
你好,当我配置识别的人超过3个的时候
会出现这个错误

Traceback (most recent call last):
File "face.py", line 836, in
ui = MainWindow()
File "face.py", line 77, in init
self.get_userinfo_fromapifile()
File "face.py", line 217, in get_userinfo_fromapifile
self.person.append(face_recognition.face_encodings(face_recognition.load_image_file(user["avatar"]))[0])
IndexError: list index out of range

你好,真的很抱歉,我平时没怎么看github,这会才看到您的消息,不知道你的问题解决没?如果还未解决的话,你可以加我QQ,我帮你看一下。到目前为止,软件的运行能够支持100多人,有可能是你配置哪里出了问题,也有可能是软件发送的http请求没有关闭(软件是有后台的)在打卡成功时也会出错,如果将http请求注释起来的话,可以本地运行。我QQ邮箱:[email protected]

@Asuna88
Copy link

Asuna88 commented Nov 2, 2023

这是因为你选择的avatar图像没有人脸(或者很难检测到),换几张简单的人脸图即可。

@TheTurtle2020
Copy link

这是因为你选择的avatar图像没有人脸(或者很难检测到),换几张简单的人脸图即可。

请问如何人脸录入啊也就是增加新的人脸!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants