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

Trying to predict emotions in real time #5

Open
DisplayFace opened this issue Apr 2, 2020 · 0 comments
Open

Trying to predict emotions in real time #5

DisplayFace opened this issue Apr 2, 2020 · 0 comments

Comments

@DisplayFace
Copy link

I trained the classifier as explained in your post, and got a trained model. I'm now trying to put together a script that can take a grayscale image from the RPi Camera V2, then return a value from 0-6 depending on the emotion it detected using the trained model. However, I don't know how to feed the landmarks I extracted from the image to the model. I tried replicating some snippets of your code in order to get the desired results, but always ended up feeding incompatible data to the "predict()" function. How could this be done?

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