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

ValueError Attempting to Process Frames Without Faces #22

Open
kbvatral opened this issue Sep 28, 2023 · 0 comments
Open

ValueError Attempting to Process Frames Without Faces #22

kbvatral opened this issue Sep 28, 2023 · 0 comments

Comments

@kbvatral
Copy link

Running into a numpy ValueError: need at least one array to stack when running the pipeline on a frame of video that has no faces detected. Seems to point back to line 90 in the Pipeline file: pitch, yaw = self.predict_gaze(np.stack(face_imgs)). Using Numpy 1.24.3

My guess is that this is due to face_imgs being an empty list when there are no detected faces. Working on a fix in my fork and will PR when complete.

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

1 participant