Git Product home page Git Product logo

danduncan / happynet Goto Github PK

View Code? Open in Web Editor NEW
130.0 130.0 59.0 5.95 MB

Convolutional neural network that does real-time emotion recognition. HappyNet detects faces in video and images, classifies the emotion on each face, then replaces each face with the correct emoji for that emotion. Based on Caffe and the "Emotions in the Wild" network available on Caffe model zoo.

Home Page: https://youtu.be/MDHtzOdnSgA

Python 100.00%

happynet's People

Contributors

danduncan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

happynet's Issues

Training loss is -nan

I follow the steps you provide strictly, but the loss is -nan from beginning. The training data is properly converted, what is the reason?

About the Caffe model

Hi, I am new to caffe. When I searched for the caffe model on the Github, they have several version of caffe model. Such as EmotiW with RGB, EmotiW with LBP etc. Which version of Caffe model I should choose?
Thanks!

ReTrain own model

Hi ,i training my own datasets but the accuracy is only 25%,what should i do to improve the accuracy

convert ck+ to jaffe

When I convert ck dataset to jaffe format, i have this issue:

Detected 1 faces.
Traceback (most recent call last):
File "D:\software\work\Caffe\models\HappyNet-master\HappyNet-master\CKPlus_convert_to_Jaffe_format.py", line 64, in
input_list = faceCrop(dirCrop, input_list, color, single_face)
File "D:\software\work\Caffe\models\HappyNet-master\HappyNet-master\opencv_functions.py", line 212, in faceCrop
cropped_pil_img.save(save_name)
File "D:\software\work\Anaconda2\lib\site-packages\PIL\Image.py", line 1725, in save
fp = builtins.open(filename, "w+b")
IOError: [Errno 2] No such file or directory: 'datasets/CK_Plus/cropped/CKPlus_Images\S005\001\S005_001_00000011_crop1.png'
[Finished in 2.8s]

i can not understand why this happen, thank you very mucn for help!

Missing video-creation files

Hi there!
Seems like you missed some files - would be nice if you could push them too:

    video_generate.py  - Run HappyNet in real-time and save output to video
    video_test.py      - Run HappyNet in real-time; does not save to video

Thanks in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.