I am planning to build an autonomous car in LEGO Mindstorms that will use ultrasonic or infrared sensors for collision avoidance and in the future also a camera for line tracking. I am now wondering which camera I should use. Currently, I am considering the following two cameras:
The Pixy LEGO Camera
It seems to be quite good for object tracking, however, I am not sure whether it will work well for line tracking.
I am leaning towards the NXTCam but I wanted to get some other opinions before investing money ;) Therefore, your view on things is greatly appreciated, especially regarding which camera is best for lane tracking and which camera has a good API to use it with a different programming language than the LEGO building blocks (so for example to leJOS, RobotC, ...). Thank you!