ARC Pro

Upgrade to ARC Pro

ARC Pro is your gateway to a community of like-minded robot enthusiasts and professionals, all united by a passion for advanced 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