Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 opencv 1.0 版中有该算法的实现,函数是 cvCreateFGDStatModel 来创建背景模型。但我在最新版本中找不到它。有谁知道它是否被删除或重命名?如果您知道该算法的其他开源代码,请告诉我。
它仍然存在,只需添加适当的包括:
#include "opencv2/video/background_segm.hpp" // on OpenCV 2.3, it's inside this header! #include "cv.h" #include "highgui.h"