Getting errors on Visual Studio when using HoughLinesP

asked 2013-12-23 10:21:05 -0600

updated 2013-12-23 10:27:08 -0600

berak gravatar image

I am new to cpp and opencv so please mind me if the question has an obvious fix. Whenever I try to run the example houghline cpp file found here http://docs.opencv.org/doc/tutorials/imgproc/imgtrans/hough_lines/hough_lines.html i get an exception error and the following messages appear

OpenCV.exe!cv::Matx<int,4,1>::Matx<int,4,1>(const int * values) Line 318    C++
OpenCV.exe!cv::Vec<int,4>::Vec<int,4>(const cv::Vec<int,4> & m) Line 1190   C++

I can run other opencv example files with ease its just this one that is causing a problem. I also realized the imread doesnt work, could that be related?

edit retag flag offensive close merge delete

Comments

I am also getting the same error while using HoughLines and HoughLinesP with visual studio 2013 and OpenCV 3.0 Is it a bug?

pmankar gravatar imagepmankar ( 2015-12-09 07:27:22 -0600 )edit