|
Re: Tower Tracker 1.0
*My java opencv is a little rusty*
Here is how you use a use camera with the opencv libraries and store the image in the data type Mat.
VideoCapture camera = new VideoCapture(0);
Mat frame = new Mat();
camera.read(frame);
instead of
videoCapture = new VideoCapture();
//replaces the ##.## with your team number videoCapture.open("http://10.##.##.11/mjpg/video.mjpg");
|