编译opencv python
1, 下载并且安装python2.7 + numpy
2,运行cmakegui打开opencv。应该要显示如下信息:
Python 2:
Interpreter: C:/Python27/python.exe (ver 2.7.14)
Libraries: C:/Python27/libs/python27.lib (ver 2.7.14)
numpy: C:/Python27/lib/site-packages/numpy/core/include (ver 1.14.2)
packages path: C:/Python27/Lib/site-packages
Python 3:
Interpreter: NO
OpenCV modules:
To be built: core flann imgproc ml objdetect photo video dnn imgcodecs shape videoio highgui superres ts features2d calib3d stitching videostab python2
Disabled: js world
Disabled by dependency: -
Unavailable: cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev java python3 viz
3.打开vs编译