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?
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?
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
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