Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

HoughTransform optimization

$
0
0
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/master/modules/imgproc/src/hough.cpp 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

Viewing all articles
Browse latest Browse all 19555

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>