Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Using a video (videocapture) with Qt and opencv on windows 7 don`t open.

Hello!

I need to use in an application opencv qt.

I used this programming in the main.cpp.

VideoCapture capture("video2_alcorcon.avi"); for(; {

capture >> src; imshow("imagen", src); waitKey(10); }

In file.pro I include:

INCLUDEPATH += C:\Users\Amaia\Desktop\opencvmin\install\inc lude LIBS += -LC:\Users\Amaia\Desktop\opencvmin\install\li b \ -lopencv_core240 \ -lopencv_highgui240 \ -lopencv_imgproc240 \ -lopencv_features2d240 \ -lopencv_calib3d240

And in header too:

include <opencv cv.h="">

include <opencv2 core="" core.hpp="">

include <opencv2 highgui="" highgui.hpp="">

include <opencv2 imgproc="" imgproc.hpp="">

using namespace cv; //opencv

But I have got an error.error.jpg

Please, help me.

Thanks

Using a video (videocapture) with Qt and opencv on windows 7 don`t open.

Hello!

I need to use in an application opencv qt.

I used this programming in the main.cpp.

VideoCapture capture("video2_alcorcon.avi"); for(; {

capture >> src; imshow("imagen", src); waitKey(10); }

In file.pro I include:

INCLUDEPATH += C:\Users\Amaia\Desktop\opencvmin\install\inc lude LIBS += -LC:\Users\Amaia\Desktop\opencvmin\install\li b \ -lopencv_core240 \ -lopencv_highgui240 \ -lopencv_imgproc240 \ -lopencv_features2d240 \ -lopencv_calib3d240

And in header too:

include <opencv cv.h="">

include <opencv2 core="" core.hpp="">

include <opencv2 highgui="" highgui.hpp="">

include <opencv2 imgproc="" imgproc.hpp="">

using namespace cv; //opencv

But I have got an error.error.jpg

Please, help me.

Thanks