Ask Your Question

Barshan's profile - activity

2016-09-25 23:15:12 -0600 received badge  Critic (source)
2015-07-04 01:38:55 -0600 received badge  Enthusiast
2015-07-02 10:06:14 -0600 commented question namedWindow() causes crashing
2015-07-02 08:20:34 -0600 commented question namedWindow() causes crashing

qt version was same but it was unable to find some qt libraries. How can I solve that? @StevenPuttemans

2015-07-02 08:03:45 -0600 received badge  Supporter (source)
2015-07-02 07:48:05 -0600 commented question namedWindow() causes crashing

I have ran this command cmake -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_QT=ON -D WITH_OPENGL=ON -D WITH_VTK=ON .. can you point to any tutorial on installing opencv with qt support. @StevenPuttemans

2015-07-02 06:48:24 -0600 commented question namedWindow() causes crashing

Built it from source @StevenPuttemans

2015-07-02 05:40:13 -0600 commented question namedWindow() causes crashing

How should I do that? @StevenPuttemans

2015-07-01 23:14:07 -0600 received badge  Editor (source)
2015-07-01 23:12:03 -0600 commented question namedWindow() causes crashing

I have edited the question with the error screen take a look @StevenPuttemans . And another thing, when I run the program with a a non qt c++ project with qt creator then it runs flawlessly . Have no idea what is happening.

2015-06-30 10:29:02 -0600 commented question namedWindow() causes crashing

It is still crashing even after I remove namedWindow line and changing the image.data == NULL to image.empty() . No good so far.Please help if you can @StevenPuttemans

2015-06-29 23:44:29 -0600 asked a question namedWindow() causes crashing

I am trying to run this program to display a image in qtcreator with openCV2 but it is crashing with out any compile error. And when I see the debug output it says that it is a segmentation fault. I am new in openCV . Please any one help. Here is the program

> #include "opencv2/core/core.hpp"
> #include "opencv2/highgui/highgui.hpp"
> #include <iostream>
> 
> using namespace std; using namespace
> cv;
> 
> int main() {
>     // read image
>     Mat image = imread("/home/avishek/Pictures/kcs_11903b52.png");
>     if(image.data == NULL){
>         cout<< "Can not load image" << endl;
>         return -1;
>     }
>     namedWindow("Image", CV_WINDOW_NORMAL);
>     imshow("Image", image);
>     waitKey(5000);
>     destroyAllWindows();
>     return 0;  }

my qtcreator version is 3.4.1 qt version is 5.4.2 and OpenCv is 3.0.0

EDIT : Here is the error screen

Error Screen