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 the Camera Device added to the project. This plugin requires an internet connect. 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 from this tutorial.
What Can You Do?
An easy example of how to use this control is to add 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 and this plugin added to the project.
See It In Action
DJ Sures created this project using an EZ-Robot JD to make the robot have a conversation and recognize his emotions. The robot comes out with some of the funniest things in response to DJ's questions!
If you have an EZ-Robot JD Humanoid, you can try DJ's sample project.Download DJ's testemotion.EZB project
It would look like this...
And add this simple line of code...
say("You are " + $EmotionConfidence + " percent " + $EmotionDescription)
Limited Daily Quota
This robot skill uses a shared license key with Microsoft that enables ARC users to experiment and demo this robot skill. The shared license key provides a daily quota for ARC Pro users of 500 requests per day. Because this robot skill uses a 3rd party service that costs Synthiam per transaction, the daily quota does not exceed our spending limit. If your application requires a higher daily quota, we can provide a robot skill that allows specifying your license key to pay Microsoft service directly. Contact Us for more information.