How to add the Cognitive Emotion robot skill
- Load the most recent release of ARC (Get ARC).
- Press the Project tab from the top menu bar in ARC.
- Press Add Robot Skill from the button ribbon bar in ARC.
- Choose the Camera category tab.
- Press the Cognitive Emotion icon to add the robot skill to your project.
Don't have a robot yet?
Follow the Getting Started Guide to build a robot and use the Cognitive Emotion robot skill.
How to use the Cognitive Emotion robot skill
Use the Microsoft Cognitive Emotion cloud service to describe images. The images come from a Camera Device added to the project. This plugin requires an internet connection. Please consult the appropriate lessons in the learn section to configure your EZ-B to WiFi client mode or add a second USB WiFi adapter.
What Can You Do?
An easy example of using this control is adding this simple line of code to the control config. The code will speak what the camera sees for emotion from the PC speaker. You will need a Camera Device robot skill, which will be added to the project.
See It In Action
DJ Sures created this project using an EZ-Robot JD to make the robot converse and recognize his emotions. The robot has some funny things in response to the DJ's questions!
You can try DJ's sample project if you have an EZ-Robot JD Humanoid.
Download DJ's testemotion.EZB project
It would look like this...
And add this simple line of code...
say("You are " + $EmotionConfidence + " percent " + $EmotionDescription)
I see the same eight emotions listed for both Cognitive Emotion and Cognitive Face. Does this skill duplicate the emotion detection functionality of the Cognitive Face skill? If not, how are they different when it comes to reading someone's emotions?
Thanks,
Thomas
It is actually the other way around. The Face robot skill uses features from the emotion robot skill. For more information, the author of the robot skills and their documentation at microsoft can be found here: https://azure.microsoft.com/en-us/products/cognitive-services/#api
FYI the testemotion example that you can download on this page no longer works. Plugins out of date