Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Mat to SmartDashboard (http://www.chiefdelphi.com/forums/showthread.php?t=153957)

YairZiv 20-01-2017 07:17

Mat to SmartDashboard
 
Hello CD!
My team and I have created a vision code and we wanna check it. We'll know if it works by using the Imgproc.rectangle() on the image and if the rectangle is on the retroreflective lines we'll know if the processing worked. Problem is: Imgproc.rectangle() returns a Mat image. So we'd like to know if you can put a Mat in the SmartDashboard and if so, how do we do it?

jreneew2 20-01-2017 09:03

Re: Mat to SmartDashboard
 
Have you looked into WPILib's CameraServer code (cscore)? I would try that.

http://wpilib.screenstepslive.com/s/...e-roborio-2017


All times are GMT -5. The time now is 13:08.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi