xionghc / Facial-Expression-Recognition

Facial-Expression-Recognition in TensorFlow. Detecting faces in video and recognize the expression(emotion).
GNU General Public License v3.0
628 stars 189 forks source link

I'd like to visualize with LED #17

Open ghost opened 6 years ago

ghost commented 6 years ago

Hello, I am a student who is interested in your source code. To begin with, thank you for sharing the source code. ^^ I confirmed that your code is successfully working on my raspberry pi. I'd like to visualize emotions with some LEDs.
For example, if smile emoji appears, a blue LED turns on. So I am wondering where to add the code. I would appreciate if you could help me.

xionghc commented 6 years ago

I am sorry to reply you so late. In my program, the line 110 in demo.py file output the results of emotion. In the next if block, I display the emotion result in emoji, I think you can change or add your code in this block.

ghost commented 6 years ago

thank you for reply