Quote:
Originally Posted by Dreuxtray
Okay, so I looked at Open CV and it doesn't seem to be anything on getting the camera. Do yall use the WPI libraries to set up the camera and then use OpenCV to do the processing?
|
If you execute the stuff on the robot, you're better off using NIVision, in which case you would use the WPI Libraries to set things up. On the driver station or some other processing platform, there's a variety of ways to capture images from the camera.
One way of doing it is with the VideoCapture class, with a connection string something like "http://10.xx.xx.11/mjpg/video.mjpg". However, beware of significant startup delays in the default build of OpenCV. See
http://www.chiefdelphi.com/forums/sh...d.php?t=114806