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

Multi Face Emotion Detection #2

Open
michaelmalice opened this issue Apr 22, 2019 · 2 comments
Open

Multi Face Emotion Detection #2

michaelmalice opened this issue Apr 22, 2019 · 2 comments

Comments

@michaelmalice
Copy link

[Required] Your device (RaspberryPi3, LaptopPC, or other device name):
Intel NUC

[Required] Your device's CPU architecture (armv7l, x86_64, or other architecture name):
x86_64

[Required] Your OS (Raspbian, Ubuntu1604, or other os name):
Ubuntu 16.04

[Required] Details of the work you did before the problem occurred:
Ran the program as is with 1(one) NCS(not the NCS2)
[Required] Error message:
Emotion output is (0,0)
[Required] Overview of problems and questions:
Just curious if it is supposed to detect emotion on more than one face. When two people are in frame only one person gets an emotion recognized. While looking through your code it looks like it should go through the list of faces and detect emotion on them all but maybe I'm misreading it.

Thanks for any insight!

@CDNova
Copy link

CDNova commented Nov 8, 2019

@michaelmalice have you found an answer/ a solution for it? I have the same problem

@michaelmalice
Copy link
Author

I have found the solution. I rewrote it so it was easier for me to understand but basically the face detection model outputs an array and every 7 values is for one face. The third value in every set of 7 is the probability of it being a face so I loop through the array by 7 and get the face values.

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