[javaOpencv]之环境搭建0.1
1.官网下载速度慢
这里上传到百度网盘了
4.1.2-》链接:https://pan.baidu.com/s/1nm1mYIvOnmoqHc0bGJPQeA
提取码:sb4s
2.eclipse中化境搭建
3.demo
package com.pingpang.ImageTest;import org.opencv.core.Core;
import org.opencv.core.Mat;
import org.opencv.highgui.HighGui;
import org.opencv.imgcodecs.Imgcodecs;
public class ImageTest {
static {
System.loadLibrary(Core.NATIVE_LIBRARY_NAME);
}
public static void main(String[] args) {
Mat source=Imgcodecs.imread("D:\java_image_test\1.jpg");
HighGui.imshow("一护", source);
HighGui.waitKey(0);
}
}
4.效果图
以上是 [javaOpencv]之环境搭建0.1 的全部内容, 来源链接: utcz.com/z/511493.html