Log in

View Full Version : How to access USB Camera from program running on dashboard?


JohnM
21-01-2015, 18:56
Does anybody know hot to get access to the USB camera that is connected to the roboRIO? For example if I wanted to run a c++ program using openCV to process the images coming from the robot on the driver station computer. How would you get those images for that separate program?

cgmv123
21-01-2015, 18:59
There's a USBCamera class in the API.

Mark McLeod
21-01-2015, 19:12
You need a program on the roboRIO to retrieve the USB camera images and forward them to the laptop.
There is an example for c++.