title: Writing vector in OpenCV
body: <p>How do you write a vector in OpenCV? Using HoughlinesP, the lines are of type <code>Vector&lt;Vec4i&gt;</code> and holds values [x1,y1,x2,y2]. How do I make my own vector? I tried</p>
  
  <pre><code>vector&lt;Vec4i&gt; line;
  </code></pre>
  
  <p><code>line[0] = [1,2,3,4];</code></p>
  
  <p>and it doesn't work with the error 'expected an identifier. Please advice, thank you.</p>