That example already serves a stream of both the input image and the cv image. The input image streams on port 1185, and can be accessed by any web browser by going to
Code:
http://YOUR.IP.ADDRESS.HERE:1185
. The cv image can be accessed at
Code:
http://YOUR.IP.ADDRESS.HERE:1186
In addition, once you have done your cv processing, the example already links to networktables, so all network tables functionality is already there, initialized, and working. All you would need to do is call
Code:
NetworkTable table = NetworkTable.getTable("SmartDashboard");
and you would have a table object that would send data straight to smart dashboard that you could use on your robot.
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of
RobotDotNet, a .NET port of the WPILib.