码迷,mamicode.com
首页 > 其他好文 > 详细

VS集成OpenCV

时间:2015-10-22 17:39:50      阅读:228      评论:0      收藏:0      [点我收藏+]

标签:

1. 下载opencv,解压到某目录

2. 在系统环境变量path中添加64位的OpenCV:C:\opencv\build\x64\vc12\bin

3. 新建VS工程,右击项目(非解决方案),打开属性,在VC++目录条目中的包含目录中添加C:\opencv\build\include;C:\opencv\build\include\opencv;C:\opencv\build\include\opencv2;

在库目录中添加C:\opencv\build\x64\vc12\lib;

在连接器条目下的输入条目中的附加依赖项中添加opencv_objdetect2410d.lib;opencv_ts2410d.lib;opencv_video2410d.lib;opencv_nonfree2410d.lib;opencv_ocl2410d.lib;opencv_photo2410d.lib;opencv_stitching2410d.lib;opencv_superres2410d.lib;opencv_videostab2410d.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;


VS集成OpenCV

标签:

原文地址:http://my.oschina.net/451526451/blog/520697

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!