Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Vision Tracking Solution (http://www.chiefdelphi.com/forums/showthread.php?t=132809)

WillNess 09-02-2015 12:36

Re: Vision Tracking Solution
 
My laptop has OpenCV 2.4.10, and when we tried to upload code that had OpenCV in it, errors started with the imports, and then every time any part of OpenCV was located it was an error.

Fauge7 09-02-2015 13:33

Re: Vision Tracking Solution
 
Quote:

Originally Posted by WillNess (Post 1440656)
My laptop has OpenCV 2.4.10, and when we tried to upload code that had OpenCV in it, errors started with the imports, and then every time any part of OpenCV was located it was an error.

try adding the opencv library to the build path of the project in eclipse

right click the project>java build path>Libraries>add external jar> find the java library installed should be in /path/to/opencv/build/java/opencv-2410.jar

WillNess 09-02-2015 13:42

Re: Vision Tracking Solution
 

Fauge7 09-02-2015 13:44

Re: Vision Tracking Solution
 
its meant to be run on the driverstation computer not the robotcode.

WillNess 09-02-2015 14:12

Re: Vision Tracking Solution
 
Well I can't run the robot from the driver station computer with the code that has OpenCV when I can't upload code to the robo-rio. I get a build failed every time I try to upload the code.

WillNess 10-02-2015 17:32

Re: Vision Tracking Solution
 
Wait, so should the opencv jar be in the JRE System Library thing, not on it's own separate library?

Fauge7 11-02-2015 08:21

Re: Vision Tracking Solution
 
You set it up right, can you post your error? Or a link to your github

WillNess 11-02-2015 09:59

Ya. I'm at school right now but when I get to robotics tonight I will upload my project & post my build path& errors.

WillNess 14-02-2015 15:49

Re: Vision Tracking Solution
 
I cannot figure out how to upload to GitHub but if you give me your gmail I will share a google doc of it.


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

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