opencv安装并在pycharm中运行

1、下载源码

   git clone https://github.com/opencv/opencv.git

     或git clone git://github.com/Itseez/opencv.git

2、进入文件夹进行make

  mkdir release

  cd release

  cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..

  make

  make install

3、为了在python中可以用

  python3 -mpip install -U opencv-python

posted @ 2018-04-12 10:41  闯红灯全国十强  阅读(1608)  评论(0编辑  收藏  举报