2014-09-30 14:56:00 -0600 | commented question | HoughLines Debug Assertion Failed Sorry for my late reply... I was using vs2008, but also have vs2013 installed and wanted to see if maybe I setup something wrong under vs2008. I used this setup tutorial: http://www.youtube.com/watch?v=vwhTKsvHwfQ to setup my project. Now when I run the program, I am able to get through the program and display the images to the screen (including the lines produced from the houghline function), however, when I press a key (to exit the program) I get a "Windows has triggered a breakpoint in test.exe". If I comment out the houghlines function call then I don't get this problem. I found a person with the same exact problem as me at this link: http://stackoverflow.com/questions/19169560/hough-line-transform-on-live-video-causes-breakpoint. Does anyone have any suggestions to fix this? |
2014-09-08 14:55:06 -0600 | asked a question | HoughLines Debug Assertion Failed Good Evening, I have an application where I need to detect straight line segments within an image. It is my understanding that the "HoughLines" function would be the right function to be used to achieve this. I found an example at the following link: http://docs.opencv.org/doc/tutorials/imgproc/imgtrans/hough_lines/hough_lines.html Here is a copy of the exact code I'm using: When I run this code I'm thrown the following:
I've been searching for the solution to this for a number of days now and can't seem to find anyone else with my exact same problem, otherwise I would not have posted to a forum. If anyone could provide me with a solution to this problem or could direct me to another forum post with some more help then I would very much appreciate it. By the way, this is being written in Microsoft Visual Studio 2008 Professional Edition on a Windows 7 machine. Thanks, Stanton |