![]() |
How do I put the CvSource video in the smart dashboard?
We want to test out the vision processing by seeing the final Mat in the SmartDashboard, but what we concluded is that - that mat is not what we're seeing in the SmartDashboard when I try to add a CameraServer Stream Viewer (Checked by telling the process() function to add a rectangle over the image). So how do we put this CvSource in the SmartDashboard?
|
Re: How do I put the CvSource video in the smart dashboard?
The code for anyone who asks:
Robot.java: Code:
package org.usfirst.frc.team5951.robot;imageToShow() just returns a Mat of the final "product". |
Re: How do I put the CvSource video in the smart dashboard?
Have you looked at the intermediate vision example?
|
Re: How do I put the CvSource video in the smart dashboard?
Quote:
|
Re: How do I put the CvSource video in the smart dashboard?
I think this is your issue:
Code:
output.putFrame(pipeline.getImgae()); |
Re: How do I put the CvSource video in the smart dashboard?
Quote:
Is there a difference in where it's initialized? Since it only runs when Teleop is running. |
| All times are GMT -5. The time now is 21:48. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi