OpenCV環境安裝

2021-06-29 08:40:47 字數 1181 閱讀 2138

vs2013安裝使用opencv方法

使用的版本為 opencv2.4.10

debug中包含的lib檔案

opencv_calib3d2410d.lib;opencv_contrib2410d.lib;opencv_core2410d.lib;opencv_features2d2410d.lib;opencv_flann2410d.lib;opencv_gpu2410d.lib;opencv_highgui2410d.lib;opencv_imgproc2410d.lib;opencv_legacy2410d.lib;opencv_ml2410d.lib;opencv_nonfree2410d.lib;opencv_objdetect2410d.lib;opencv_photo2410d.lib;opencv_stitching2410d.lib;opencv_ts2410d.lib;opencv_video2410d.lib;opencv_videostab2410d.lib;

release中包含的lib檔案

opencv_calib3d2410.lib;opencv_contrib2410.lib;opencv_core2410.lib;opencv_features2d2410.lib;opencv_flann2410.lib;opencv_gpu2410.lib;opencv_highgui2410.lib;opencv_imgproc2410.lib;opencv_legacy2410.lib;opencv_ml2410.lib;opencv_nonfree2410.lib;opencv_objdetect2410.lib;opencv_photo2410.lib;opencv_stitching2410.lib;opencv_ts2410.lib;opencv_video2410.lib;opencv_videostab2410.lib;

工程中vc++包含include的檔案目錄及link的檔案目錄

$(opencv)\x64\vc12\bin;

$(opencv)\include;$(opencv)\include\opencv;$(opencv)\include\opencv2;

$(opencv)\x64\vc12\lib;

其中opencv為系統環境變數,需要自己根據自己opencv包,存放的位置建立。

Python安裝OpenCV環境

一 在windows系統下,開啟cmd命令列模式,輸入pip install opencv python i 安裝完成後輸入python進入python命令列模式,再輸入import cv2如無報錯則opencv環境搭建成功。二 在linux系統下,開啟終端輸入sudo apt get instal...

python環境安裝openCV

python2.7 opencv3.2.4 opencv安裝記錄 windows10下安裝python opencv記錄過程 安裝opencv大概可以分為三種方法,第一種pip安裝,第二種whl庫外掛程式安裝,第三種官方給出的windows系統中exe檔案安裝。因為後續編輯需要,用第三安裝。主要參考...

python環境中安裝opencv

由於影象處理用cv2庫方便一些,我最近決定在往專案中匯入cv2的包。但是遇到了好多坑,現在說明一下。我的環境是anaconda4.5.8 python 3.6.5 win10 要在pycharm中匯入opencv包 環境的版本是怎麼看的呢。首先。進入anaconda prompt命令列,然後選擇對應...