背景建模/背景减除/前景提取之背景建模库

来自Andrews Sobral,这里提到了两个库,实现方式不一样。

一、BGSLibrary :A Background Subtraction Library

实现了二十来种视频前景提取的算法。

https://github.com/andrewssobral/bgslibrary

这里写图片描述

Windows installation

1、OpenCV 2.x or 3.x
2、Visual Studio 2013 or 2015
3、CMake 3.4 or higher

解压缩下载的zip文件,打开vs2013工程,配置opencv2.4.13。

背景建模/背景减除/前景提取之背景建模库_第1张图片

添加demo.cpp,运行报错:/common_type.hpp(43): fatal error C1001: 编译器中发生内部错误。
参考下面博客方式:

http://blog.csdn.net/xiao_lxl/article/details/53035026

安装了VS2013 update5之后,错误解决。

二、LRSLibrary

几十个视频背景建模的算法Matlab实现。

https://github.com/andrewssobral/bgslibrary

这个LRSLibrary用matlab提供了一个低级和稀疏分解算法的集合。目前,LRSLibrary共有104种基于矩阵和基于张量的算法。 LRSLibrary在MATLAB R2013,R2014,R2015和R2016都经过x86和x64版本的测试。

你可能感兴趣的:(vs2013+opencv入门)