标签:
(1)、将OpenCV安装在C盘,即:C:\opencv
(2)、OpenCV的用户变量和系统变量的设置可参考网址:http://blog.csdn.net/frd2009041510/article/details/42028399 (只需参考“2、OpenCV用户变量和系统变量的设置”部分)
(1)、将Bgs Library下载后解压缩,如下图:
(2)、用VS2010打开对应的VS2010版本的项目,项目在下图文件夹中:
打开后如下图:
(3)、平台中OpenCV的设置:在项目名称上右击,选择Properties,如下图:
设置C/C++的Additional Include Directories,如下图:
设置Linker/Input的Additional Dependencies,如下图:
Build项目,运行,即可得到如下图所示的结果:
https://sites.google.com/site/backgroundsubtraction/Home
https://github.com/andrewssobral/bgslibrary
Sobral, Andrews. BGSLibrary: An OpenCV C++ Background Subtraction Library. IX Workshop de Visão Computacional (WVC‘2013), Rio de Janeiro, Brazil, Jun. 2013.
标签:
原文地址:http://www.cnblogs.com/ywsoftware/p/4511755.html