Ask Your Question

Revision history [back]

Getting errors on Visual Studio when using HoughLinesP

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?

click to hide/show revision 2
No.2 Revision

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

berak gravatar image

Getting errors on Visual Studio when using HoughLinesP

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?