Ask Your Question

lullu's profile - activity

2016-01-17 07:39:16 -0600 asked a question OpenCV Documentation material licensing

I would like to use a few pictures from the OpenCV documentation in my thesis. Is that possible? Where can I find the licensing or copyright they fall under?

2013-07-11 09:04:10 -0600 received badge  Student (source)
2013-07-11 08:37:22 -0600 received badge  Editor (source)
2013-07-11 08:23:29 -0600 asked a question [possible issue] opencv highgui crash (invalid free) with boost::ptr_vector<>

When compiling (Visual Studio 2010) with opencv_highgui245.dll this will crash with an invalid free(), with opencv_highgui245d.dll (debug mode) this works flawlessly. So does it under linux. Can someone confirm this issue?

#include <boost/ptr_container/ptr_vector.hpp>
#include <opencv2/opencv.hpp>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
boost::ptr_vector<cv::VideoWriter> v;
int main() {
    cv::Mat image;
    v.push_back(new cv::VideoWriter("test", CV_FOURCC('D','I','V','X'), 30, image.size(), true));
    v[0] << image;
    return 0;
}