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);
}
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?
Dunno about facial tracking, but color tracking uses EZ_B.Camera.ColorEnum
Then you can use:
if (_ezb.IsConnected) {
Take a look at the tutorial 11 from the SDK *C#
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
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
Sweet - thanks mate. I'll try to put it to good use
Yah! Don't forget to share your awesomeness