Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Display processed images on dashboard. (http://www.chiefdelphi.com/forums/showthread.php?t=101457)

That Canadian 29-01-2012 11:46

Display processed images on dashboard.
 
I'm currently able to process images and mask them etc. but I can't seem to figure out how to display the processed image on the dashboard (or possible on a separate frame). When I try to use the JFrame or Frame classes I can't get the imports (help on this would be appreciated) nor can I figure out how to display custom images on the driver station dashboard. I just need a way to display a custom image, thank you.

Secretspy97 29-01-2012 11:53

Re: Display processed images on dashboard.
 
I have the same problem. I think that the camera is tracking the squares but when i point the camera away from them, I still gives a reading. I want to print the images the robot sees after it has done its edge detection.

2869Robotics 31-01-2012 21:46

Re: Display processed images on dashboard.
 
You can save your images onto your cRIO and the FTP into the cRIO to retrieve them. use the write method in BinaryImage and it will write the image to the root directory.

BinaryImage image;
image.write("test.jpg");

I believe that's the correct syntax

To FTP into the cRIO type ftp://10.te.am.2 into your browser and then you can retrieve the pictures.


All times are GMT -5. The time now is 22:21.

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