Welcome to Synthiam!

Program robots using technologies created from industry experts. ARC is our free-to-use robot programming software that makes features like vision recognition, navigation and artificial intelligence easy.
Get Started

Resolved Resolved by EzAng!

Blockly Workspace

Hi Fellow Roboters!
    I have a question I am a newbie and I have followed the precse instructions for emotions recognition using Blockly. However, the Cognitive Emotion plug in states it does not recognize a face? Also in Blockly, Six will only say "I think you are feeling". That's it I added the EmotionalDescription variable but it does not say any emotion.It says I think you are feeling zero or once it said I think you are feeling neutral? Suggestions?

Related Hardware EZ-Robot Six Hexapod
Related Control Cognitive Emotion
#6   — Edited
Hi EZang60,
     The Cognitive Vision works great! However the Emotion Description does nothing at all. Is there some code besides the 
SayEZB(("I see " + $EmotionDescription)) I should be adding to the EzScript in the Cognitive Emotion code?
It keeps giving error message no face recognition?
In Cognitive Vision it gives description of what I look like including the fact that I wear eyeglasses, so all good there, but the emotion description is what I really want.  Here's what I would like it to do, when a random face appears in the camera, tell what emotion the person is showing : Ex: angry, happy, sad etc.  If the random person asks the robot how they feel, it will say the emotion. Hope I have explained it clear enough for you. I graduate in 2020 but shoo they got lots of lit tasks to complete prior to graduation lol. I plan to be  Digital Forensics expert ... :-) But I am finding working with robots both challenging and interesting lol. So we shall see
#7   — Edited
Put in the cognitive emotion -  SayEZB(("I see " + $EmotionDescription))
for your robot

make sure the variables are:

detected emotion = $EmotionDescription
confidence = $EmotionConfidence

start the camera, then In the camera tracking - click "face"

correct, put your face in front of the camera, lol - assume nothing

Digital Forensics expert, sounds good -  working with robots is the now and the future
You must have your face in front of the camera for the control to recognize and detect your emotion. The control cannot detect emotion if there is no human face on the camera image. Also, ensure you are close enough to the camera to have your face in it. 

Here's a good tutorial to get started by EZ-Robot. There's a lot of great tutorials on their website that I highly recommend. Follow this link: https://www.ez-robot.com/Tutorials/Lesson/92
correct, put your face in front of the camera, lol - assume nothing
#10   — Edited
LOL - well, that message is returned by the cognitive service engine if there's no face detected. So....
thank you both, I have followed all these instructions and it still says same thing sooo  Guess I'm not smarter than a first grader , because If I get my face in camera anymore I will be the robot lol. It has a trained image of my face also, so I'm not sure what more I can do. It was a nice idea tho. I will leave this to you experts, as I said I am a newbie, but reading is fundamental and comprehension isn't lost on me. I'm not sure how it could tell emotion IF a face wasn't in camera view. I thought this was where I should ask any questions dumb or otherwise, my apologies.
simple things first:
you have a project with camera and Cognitive emotion then you start the camera

User-inserted image

then you press "describe image" button. In my case the camera is not pointing to a face.
Then I point the camera to a face and i press "Describe image"

User-inserted image

and the service returns the results.
Can you do a similar test (Pic 2) and post a screen capture.
#14   — Edited
User-inserted image

I followed the video,, I heard the robot say, I think you are feeling happiness -  read 100% happiness
Your screen shot says 99.4% neutral

did you hear the robot speak?
#16   — Edited
User-inserted image

leave a space after feeling
click save

here is the breakdown:

User-inserted image
Gee thanks must be that ! LoL

btw, You are insisting with ez-scripts / blocky when the problem seems absence of a face.
#18   — Edited
now that you got a "face the facts", a face in the front the camera, lol,  a simple question: did you hear the audio from the robot?
I Cant hear anything no sound, nada!
#20   — Edited
I thought so, 

Always use a fresh charged robot

Step 1 - Adjust the volume on your computer

Step 2 - open ARC, go to the audio tab, click on sound board (Ezb), raise the volume to the top

Step 3 - again in the audio tab, select speech synthesis settings, I use David, set your voice / tone there

Try that, let me know
Here is a screen shot

User-inserted image
Don't give up my young friend
#23   — Edited
hi Ezang6o! after licking my wounds and tightening my  willingness to listen and learn straps ... I am proud to report that the program works! Hallelujah!
Apparently I have one of those faces  the Six Robot doesn't like lol. Seriously I tried the program on everyone in my class and it worked great! and then it got to me it wouldn't give me an emotion and then it happened after 10 tries ...it said I was feeling happiness! Thank you so much for patience, perseverance and encouragement toward me. It really mattered and is greatly appreciated. Thanks to you ptp for questions too it made me revisit some things I added that I really didn't need. Oh, I did download the Microsoft cognitive emotion tho. couldn't get cognitive to work for me. Im sure some errors on my part .  Happy Thanksgiving to you all! See you in cyberspace or robotics land.
#24   — Edited
perseverance = continue in spite  of difficulty - is the name of the game, great going

perseverance = continue in spite of difficulty - use in all aspects of your life
#25   — Edited
thank you my new mentor ;). will do!