Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Camera Tracking (http://www.chiefdelphi.com/forums/showthread.php?t=91031)

josneville 05-02-2011 16:41

Camera Tracking
 
Rookie programmer. Need to learn how to use the camera for vision tracking. I learned how to detect a specific color and create a script from it but dont know how to make the robot respond and move to the detected color. Please Help.

WizenedEE 05-02-2011 22:52

Re: Camera Tracking
 
(I've never done vision programming)

But I think what you should do is divide the camera into three sections: left, right, and center. If you see the color in the left one, send a small value to the joystick x value in arcade drive (or whatever you have there). If it's the right one, send a negative value, and if it's in the middle zone send a 0.

Is that helpful?

Wolfgang 07-02-2011 19:45

Re: Camera Tracking
 
You should try to code out the position of the color source since the camera probably picks one up and make the camera try to make its position equal the color source position.

ashleyh 12-02-2011 16:12

Re: Camera Tracking
 
This tutorial might be helpful: http://decibel.ni.com/content/docs/DOC-14729


All times are GMT -5. The time now is 10:15.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi