Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   OpenCV for Java/Windows (http://www.chiefdelphi.com/forums/showthread.php?t=100902)

FRC997Madison 22-01-2012 17:28

OpenCV for Java/Windows
 
How do you set up WPIJavaCV for java on windows? We've tried OpenCV and JavaCV, but we couldn't figure it out. We need to use it for vision tracking on the 'backboards' for this year's game. Suggestions?

shuhao 22-01-2012 21:14

Re: OpenCV for Java/Windows
 
Are you doing an onboard computer?

If you are, it's recommended to not just JavaCV and not windows (imo building anything in windows is a pain). JavaCV, although great, is not an officially supported language binding.

Windows is just generally difficult when it comes to programming anything that requires building

Sunstroke 22-01-2012 21:44

Re: OpenCV for Java/Windows
 
Quote:

Originally Posted by FRC997Madison (Post 1111356)
How do you set up WPIJavaCV for java on windows? We've tried OpenCV and JavaCV, but we couldn't figure it out. We need to use it for vision tracking on the 'backboards' for this year's game. Suggestions?

Install the SmartDashboard, all the vision stuff is packed into the installer.

FRC997Madison 23-01-2012 19:30

Re: OpenCV for Java/Windows
 
Quote:

Originally Posted by Sunstroke (Post 1111547)
Install the SmartDashboard, all the vision stuff is packed into the installer.

Thanks for your help - however, we had the smartdashboard installed already. :(

ksanger 30-01-2012 22:39

Re: OpenCV for Java/Windows
 
I've installed the SmartDashboard installer too, now what must we do? Pointing to the jar files WPIJavaCV.jar or WPICameraExtension does not help. The SmartDashboard is loaded into C:\Program Files\SmartDashboard. Under there there are .jar files, but I don't know if they are executables for running under windows or to be included and linked to the java program we are trying to write?

My program doesn't understand WPICameraExtension, WPIImage, or WPIColorImage, nor the processImage function.

Has anyone written a standalone Java app that reads the camera image they may share as an example? The WPILibCookbook is missing some key information that we have no clue in what to do.

basicxman 30-01-2012 22:48

Re: OpenCV for Java/Windows
 
1 Attachment(s)
Quote:

Originally Posted by ksanger (Post 1116847)
I've installed the SmartDashboard installer too, now what must we do? Pointing to the jar files WPIJavaCV.jar or WPICameraExtension does not help. The SmartDashboard is loaded into C:\Program Files\SmartDashboard. Under there there are .jar files, but I don't know if they are executables for running under windows or to be included and linked to the java program we are trying to write?

Here's what I include:

ksanger 30-01-2012 23:06

Re: OpenCV for Java/Windows
 
Awesome thank you. Along with this example http://pastebin.com/cYtQiKpF I think we'll make some progress now.

Thanks again.

FRC997Madison 02-02-2012 17:57

Re: OpenCV for Java/Windows
 
Thanks everyone for your help, this looks like just what we need. I really appreciate it!


All times are GMT -5. The time now is 20:34.

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