My team’s robot has two USB cameras plugged into the RoboRIO, which are streamed to Shuffleboard using wpilib’s CameraServer library. I would like to create a custom Java application which runs on the driver station, which can read the camera streams from network tables and use OpenCV to do computer vision tasks on individual frames from the streams. The processing is resource intensive, and the outputs are shown to the drivers but not sent back to the robot, so it doesn’t make sense to do this processing on the RoboRIO. However, after looking through the CameraServer documentation and the wpilib guides, I’m not sure how to create my own CameraServer client. This page covers creating a custom networktables client, but I haven’t been able to extend it to include camera streams. Has anyone had success with this approach before?
Noah - Team 1157 Programming Captain