andrewssobral / bgslibrary

A C++ Background Subtraction Library with wrappers for Python, MATLAB, Java and GUI on QT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build error with OpenCV 3.4.9 (works fine for <= OpenCV 3.4.7)

andrewssobral opened this issue · comments

Is the feature fixed?

Hi @andrewssobral ,

I get the following error with OpenCV 3.4.9:

DPAdaptiveMedian.cpp:24:33: error: no matching function for call to ‘_IplImage::_IplImage(const cv::Mat&)’
frame = new IplImage(img_input);

Hi @menessahin @xuehuachunsheng I'm sorry for my delayed feedback to you.
Yes, unfortunately the bgslibrary has some issues after building it with OpenCV > 3.4.7.
This is related to a small API change from the OpenCV side when we convert from IplImage to Mat and vice-versa.
I'm still blocked on it, I hope to fix this soon.
Thank you