title: OpenCV hough lines vs scikit-image
body: <p>I've been comparing OpenCV and scikit-image's hough lines implementation and I'm finding that scikit-image gives significantly better results. I'm trying to do the same canny/hough lines transform in both (with the addition of a <code>GaussianBlur</code> in OpenCV as I believe scikit does that as part of canny).</p>
  
  <p>I would like to understand how to get similar results from OpenCV as from scikit-image if possible.</p>
  
  <p>Here is the result from scikit-image:</p>
  
  <p><a href="https://i.stack.imgur.com/Gfapu.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Gfapu.png" alt="enter image description here"></a></p>
  
  <p>And here is the result from OpenCV:</p>
  
  <p><a href="https://i.stack.imgur.com/Z53ka.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Z53ka.png" alt="enter image description here"></a></p>
  
  <p>You can see that they're significantly worse. The intermediate canny output from OpenCV is also worse, (but not to a huge degree), so I'm not sure if that's the problem?</p>
  
  <p>I've uploaded the code and results to <a href="https://github.com/grokys/hough-test" rel="noreferrer">https://github.com/grokys/hough-test</a>. Apologies for my python skills.</p>