2016-04-14 10:16:24 -0600 | asked a question | HoughTransform optimization Hi, I am trying to optimize Probabilistic HoughTransform (HoughLinesP). I am currently using OpenCV 2.4.9. I need only to detect lines with certain angles so I want to limit the theta accumulator to save some CPU time. I simply copied the HoughLinesProbabilistic code from https://github.com/Itseez/opencv/blob... But when running without any modification the FPS drops from 26 to 21 when compared to library implementation. Is there some additional optimization that I am not aware of in the compiled libraries? How do I achieve for my code to run as fast as the library version? Thanks |