Linux?°???????Java????opencv??????
???????????? ???????[ 2015/3/26 13:53:12 ] ????????Java Linux ????
???????????С?????????linux?°?eclipse??java????opencv??????…??????????????????…????????????…
????linux?????opencv
?????????linux?°??opencv??????鷳????ο???????????:http://docs.opencv.org/trunk/doc/tutorials/introduction/linux_install/linux_install.html
?????????????????????:
????1)???gcc???cmake??????????????(????ubuntu?????????????…)
????sudo apt-get install build-essential python-dev cmake
????2)????opencv-2.4.8.zip???????
????3)??????build?????
????cd~/opencv
????mkdir build
????cd build
????4)???????????:
????cmake-D CMAKE_BUILD_TYPE=RELEASE-D CMAKE_INSTALL_PREFIX=/usr/local..
????make
????sudo make install
????make????????????????…??????????????…???????java???????OK????????????sample??????μ?python????…
????????????????java????????????????????…..
???????opencv-java
????????????DT???????????????????????????????java??????…http://docs.opencv.org/doc/tutorials/introduction/desktop_java/java_dev_intro.html
????1)???????????ant:
????sudo apt-get install ant
????2)??????????cmake???????cmake???????????????????????:
????export JAVA_HOME=/usr/lib/jvm/java-6-oracle#??????????????
????cmake-DBUILD_SHARED_LIBS=OFF..
????????????????”To be built”??????java??????????????OK??….????????make-j8??????…
???????????????????????????????cmake???????make-j8????????????д???…..
??????????????????????BUG:http://code.opencv.org/issues/2859
??????????????????:-DBUILD_TESTS=OFF??…
????????cmake??????????д?????:
????cmake-D CMAKE_BUILD_TYPE=RELEASE-D CMAKE_INSTALL_PREFIX=/usr/local-DBUILD_TESTS=OFF..
????3)???????????????????cmake?????:
????make-j8
????sudo make install
??????????????make??…
????????ж?????????
?????????????????????build????У?bin??????????????opencv-248.jar???:
????????е?????????????opencv??java???…
????!!???!!??????windows??opencv??????μ????opencv-248.jar!!??????????jar??windows?μ?jar???????!!(?????MD5??…??????????С????????!!)
????Eclipse?μ?????
???????????????????????д??????λ???????????????:
????http://exintopro.net/blog/2013/10/02/setting-up-eclipse-for-using-opencv-java-in-ubuntu/
????????????????????????н?????????????????????java??????????????????????????????????????????????!……
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11