2014-05-21 05:26:56 -0600 | asked a question | HoughLinesP segmentation Fault Hi, im using the HoughLinesP function in a c++ project to recognize lines. I'm new to open cv and followed the tutorials but I can't seem to get the function working properly, running my code leads to a segmentation fault. I initialize my matrix as such: And for my output vector lines3 I use: Now using the function: I reckon the problem must be in my matrix, but I have no idea what could be wrong. Any help would be greatly appreciated. |