简体   繁体   中英

How can I use available native OPENCV library in JAVA?

I want to use available native OPENCV library in JAVA.I try following code line:

System.loadLibrary("opencv_java2411"); 

but each time, I don't want to use version name in code line. Do you have any suggestions? Thank you...

You can try this:

System.loadLibrary(Core.NATIVE_LIBRARY_NAME);

Then, check the library version with:

Core.VERSION

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM