idea:2018.3.3
opencv:3.4.14
jdk:1.8.0_191
下载地址:https://opencv.org/releases/
双击之后: 解压之后目录结构:
import org.opencv.core.Core; public class Main { static {System.loadLibrary(Core.NATIVE_LIBRARY_NAME);} public static void main(String[] args) { System.out.println(Core.VERSION); } }
运行结果: