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: index 185 is out of bounds for axis 0 with size 185 #36

Closed
IpsumDominum opened this issue Feb 11, 2022 · 1 comment
Closed

Comments

@IpsumDominum
Copy link

IpsumDominum commented Feb 11, 2022

Happens when detected face is out of bounds of the image.
Also, error in main_video.py line 55:

if not os.path.isdir(dir_path):
        os.makedirs(dir_path)

Will output error if dir_path is ""

Edit:

if dir_path != "" and not os.path.isdir(dir_path):
        os.makedirs(dir_path)
@wuhuikai wuhuikai closed this as completed Mar 4, 2022
@wuhuikai
Copy link
Owner

wuhuikai commented Mar 4, 2022

  1. "detected face is out of bounds of the image" is a known issue, but I do not have time to fix this currently.
  2. use "./" instead.

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

2 participants