Speech Recognition icon Speech Recognition Windows Speech Recognition skill: detect custom phrases via PC mic, trigger configurable scripts/actions with adjustable confidence. Try it →

ARC Pro

Upgrade to ARC Pro

Elevate your robot's capabilities to the next level with Synthiam ARC Pro, unlocking a world of possibilities in robot programming.

Author Avatar
Norway
#1  

Dunno about facial tracking, but color tracking uses EZ_B.Camera.ColorEnum

Then you can use:

if (_ezb.IsConnected) {

    int position = _ezb.Servo.GetServoPosition(Servo.ServoPortEnum.D12);

    if (objectLocation.horizontalLocation == ObjectLocation.HorizontalLocationEnum.Left)
      position++;
    else if (objectLocation.horizontalLocation == ObjectLocation.HorizontalLocationEnum.Right)
      position--;

    _ezb.Servo.SetServoPosition(Servo.ServoPortEnum.D12, position);
  }

Take a look at the tutorial 11 from the SDK *C#

  • Mix3rn
Author Avatar
Australia
#2  

Thanks for the reply Mix3rn - your example and the tutorial are great for colour tracking. However, I am still very interested in the facial tracking that DJ uses in his latest WALL-E robot and ARC deployment, only again within an SDK framework... Will we have to wait until the latest build of the SDK?

Thanks again, thomas

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#3  

you know what? I think the SDK may not contain the facial tracking. Let me update the SDK for you. The new version will be 2011.09.26.00

Author Avatar
Australia
#4  

Sweet - thanks mate. I'll try to put it to good use :)

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#5  

Yah! Don't forget to share your awesomeness:D