Our team had set up vision processing to be done on the driver station laptop using OpenCV in Java. While all of that vision code is done, we very recently made the switch from the Axis IP camera to the Lifecam USB camera. Right now, I’m at a bit of a loss on how to grab images from that camera.
Is NetworkTables the way to go in this case? Are there any examples out there?
You need to stream the images over with some sort of streamer. mjpg_streamer is pretty good, and so are the streaming options of ffmpeg.
That said, I would suggest processing the images on board, because you’ll have to pay two wireless network latency penalties, one getting the images to the dashboard, and the other sending the results back to the robot.