So you would like to build your own autonomous line following robot? EZ-Robot has you covered. It involves using a modified AdventureBot with EZ-bits to see lines on the left of it and follow it. You will need a few bits to position the camera properly. A Windows PC with EZ-Builder installed is also required.
More info is available here.