Quote:
Originally Posted by Fauge7
Thanks for recommending my program
my advice is to see if you have an axis camera. If not with the usb camera you will have to run mjpeg-streamer on the rio to stream the usb camera to a web interface where Tower tracker can take the video stream and process it.
|
You dont have to. If he is running it on the roborio you can just plug in a usb camera and change
videoCapture = new VideoCapture();
to videoCapture = new VideoCapture();
videoCapture.open(0).
This opens up the usb camera plugged into the roborio. This works with virtuald's version on opencv on the roborio. However, the version he build doesn't work with mjpg streams. If you really want to use that, I would use opencv2 that another team compiled.