gocv是OpenCV4在Go中的绑定,使用它能够在Go里作图像处理。windows
Windows安装官方介绍:https://gocv.io/getting-started/windows/多线程
其中gocv库提供的win_build_opencv.cmd为安装过程命令:ui
编译好后,添加C:\opencv\build\install\x64\mingw\bin到环境变量。线程
常见问题:日志
1. mingw32-make过程当中断,编译失败ip
2. Python的影响get
3. fatal error: boostdesc_bgm.i: No such file or directorycmd
连接:https://pan.baidu.com/s/1_nipZrmFPGkYma1NpgCq4A
提取码:t2r5 源码
总共缺了如下几个文件,都须要拷贝:io
执行完以上步骤后,从新在C:\opencv\build\目录下执行mingw32-make和mingw32-make install便可。