arduino image processing

http://www.cmucam.org/ will do color tracking and would allow you to follow a line.