title: How to draw lines between points in OpenCV?
body: <p>I have an array of tuples:</p>
  
  <pre><code>a = [(375, 193)
  (364, 113)
  (277, 20)
  (271, 16)
  (52, 106)
  (133, 266)
  (289, 296)
  (372, 282)]
  </code></pre>
  
  <p>How to draw lines between points in OpenCV?</p>
  
  <p>Here is my code that isn't working:</p>
  
  <pre><code>for index, item in enumerate(a): 
      print (item[index]) 
      #cv2.line(image, item[index], item[index + 1], [0, 255, 0], 2) 
  </code></pre>