title: OpenCV get ApproxPolyDP corner points?
body: <p>I'm trying to get the ApproxPolyDP corner points. I'm finding contours with <code>cv.findContours(edged, contours, hierarchy, cv.RETR_EXTERNAL, cv.CHAIN_APPROX_SIMPLE);</code> and putting them in loop, then I'm processing this in the loop:</p>
  
  <pre><code>peri = cv.arcLength(cnt, true);
  cv.approxPolyDP(cnt, tmp, 0.02 * peri, true);
  </code></pre>
  
  <p>I can get <code>boundingRect</code> from contours but I want to get the four points of rotated and angled rectengular. </p>
  
  <p>Thanks.</p>