CentOS7.4 部署opencv3.4.1环境
安装依赖
1 | [root@VM-0-143-centos data1]# yum install cmake gcc gcc-c++ gtk+-devel ant java-11-openjdk |
编译安装
1 | [root@VM-0-143-centos data1]# unzip opencv-3.4.1.zip |
检查确认
1 | [root@VM-0-143-centos build]# ls lib/|grep java |
环境变量
1 | [root@VM-0-143-centos build]# export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib64/pkgconfig/ |
测试效果
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.