title: How to draw a line on an image in OpenCV?
body: <p>If I have the polar coordinates of a line, how can I draw it on an image in OpenCV &amp; python?</p>
  
  <p><a href="http://docs.opencv.org/modules/core/doc/drawing_functions.html#line" rel="noreferrer"><code>Line</code></a> function takes 2 points, but draws only the segment. I want to draw a line from one edge of the image to other.</p>