Chief Delphi

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

CreativeName55 29-01-2015 20:36

OpenCV in SmartDashboard
 
So my team's created a vision system for this year, and are trying to get it implemented with SmartDashboard sfx. As a result, I've managed to port over some of the classes used in wpijavacv from last year into eclipse, namely WPICameraExtension, along with Integer and Boolean Properties, and all they depend on. We're stuck at the last step of the process.

Last year it was as simple as building a jar and putting it in the extensions folder of SmartDashboard, and running it as a widget on the driver station. Is there anything similar to that for SmartDashboard sfx, or do we have to reinvent the wheel a bit?

jreneew2 05-02-2015 17:20

Re: OpenCV in SmartDashboard
 
We want to do the same thing! I replied to someone in the OpenCV for RoboRIO thread, but I want to keep the thread on topic. Does anyone have any ideas on how to go about this.

We can convert the Mat into a jpg, is there a way to put those images on the smartdashboard into a movie file?

Thanks.

CreativeName55 07-02-2015 18:37

Re: OpenCV in SmartDashboard
 
Quote:

Originally Posted by jreneew2 (Post 1438923)
We want to do the same thing! I replied to someone in the OpenCV for RoboRIO thread, but I want to keep the thread on topic. Does anyone have any ideas on how to go about this.

We can convert the Mat into a jpg, is there a way to put those images on the smartdashboard into a movie file?

Thanks.

We eventually gave up on OpenCV in SFX, as there seemed to be a major problem that made it unable to work, so we moved back into SmartDashboard, and eventually converting our png into an IPLImage, then into a WPIImage using a custom method

Ozuru 07-02-2015 18:56

Re: OpenCV in SmartDashboard
 
Quote:

Originally Posted by CreativeName55 (Post 1439907)
We eventually gave up on OpenCV in SFX, as there seemed to be a major problem that made it unable to work, so we moved back into SmartDashboard, and eventually converting our png into an IPLImage, then into a WPIImage using a custom method

Can you check out my thread here? http://www.chiefdelphi.com/forums/sh...d.php?t=134152

It sounds like you may have had the issues I'm having. Where are you placing your SmartDashboard extension and how are you launching SmartDashboard? Where is your SmartDashboard's .jar at?

CreativeName55 07-02-2015 20:48

Re: OpenCV in SmartDashboard
 
Quote:

Originally Posted by Ozuru (Post 1439920)
Can you check out my thread here? http://www.chiefdelphi.com/forums/sh...d.php?t=134152

It sounds like you may have had the issues I'm having. Where are you placing your SmartDashboard extension and how are you launching SmartDashboard? Where is your SmartDashboard's .jar at?

My problem was directly related to SmartDashboard SFX. After a decent length conversation with the lead dev of it, he explained that he had no clue how to solve a specific library issue, other than wait for the JavaCV bindings to be finished (thanks again Pat, if you read this). So that's when we moved over to SmartDashboard, where mostly it's working. Besides a small error with Mat's and cvtColor that we're working through


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

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