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

Addition of Emotion Detection #27

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

justin-hubbard
Copy link

  • Added emote.py that uses a neural network model to detect facial emotion from cropped face images
  • added neural net model/parameter files
  • added example emotion images

Commit resolves #3

JH - Mac added 3 commits October 24, 2019 21:08
- Adden neural net model w/parameters
- Added emote.py which detects emotion on cropped face
- Added two images for testing emotions
- Added emotion detection to main program logic
@riya-17
Copy link
Owner

riya-17 commented Feb 9, 2020

Facing some issues
Screenshot (6)

@riya-17
Copy link
Owner

riya-17 commented Feb 9, 2020

@justin-hubbard

@dbckdgjs369
Copy link

@riya-17 It's been almost a year and he's not replying. May I take a look at his code and fix it???

@riya-17
Copy link
Owner

riya-17 commented Nov 23, 2020

@dbckdgjs369 sure

@@ -11,6 +11,7 @@
import cv2
import uuid
import rotateImage
import emote

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@riya-17 This should be
import emotion as emote

@dbckdgjs369
Copy link

@riya-17
Hi, I have been working on it. And I change a little bit, and I think it is working.
I made changes only in FaceRecognition.py which justin-hubbard had fixed.

  1. import emote => import emotion as emote
  2. Added image = imutils.resize(image, width=250) to where #load the input image and convert it from BGR to RGB part.
    The second one is for avoiding Memory allocation problem. If the picture is to big then I'm getting this error.
    It isn't actually my code so I'm not giving a Pull Requst. I'll just leave a comment and hope to get some feedback. Thank You.

@riya-17
Copy link
Owner

riya-17 commented Dec 13, 2020

@dbckdgjs369 I am facing some errors trying to debug it will update you as soon as possible.

@dbckdgjs369
Copy link

@riya-17 Ok, If your facing any trouble let me know.

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

Successfully merging this pull request may close these issues.

Enhancements
3 participants