|
Java OpenCV on Jetson Tk1
We recently started to use our Jetson that we got a while back to do vision tracking this season. We built a jar to start doing some vision tracking, we ran it on Windows first to see how it would run, and it ran great. We used an openCV library in our project. We then transferred the executable .jar over to our Jetson, and it wouldn't run, with the error:
Code:
java.lang.UnsatisfiedLinkError: no opencv_java310 in java.library.path
We tried running it as a relative path, using the java.library.path file, and putting the opencv jar inside the following folders: /usr/include/ /home/ubuntu/ and the project folder. We also tried to load the file as a static (explicitly stating the path), but with no luck either. We also tried reinstalling the libopencv from apt-get and getting the one from the JetPack installer.
What can we do to use an OpenCV library in our Java project and run it on our Jetson Tk1 (running ubuntu)? Do we need to build a library on the Jetson itself? How do we do that?
__________________
2016: Greater Kansas City Regional Finalists, Oklahoma Regional Winners, Tesla Semifinalists, IRI Quarterfinalists
2015: Greater Kansas City Regional Finalists, Oklahoma Regional Winners, Tesla Quarterfinalists, IRI Winners
2014: Central Illinois Regional Quarterfinalists, Greater Kansas City Regional Finalists, Newton Semifinalists
2013: Greater Kansas City Regional Winners, Oklahoma Regional Winners, Galileo Quarterfinalists
|