title: Rotating and cropping a ROI from minAreaRect() OpenCV python
body: <p>I'm trying to make a program that rotates and crops an image ROI (without losing a single pixel of the frame) based just on what <code>minAreaRect()</code> returns (from seeing what it can mark with <code>drawContours</code>).</p>
  
  <p>Now since I don't understand what the function returns other than the rotation angle(list [0:1]) I'm struggling to make that myself. All I found on the internet was a Stack Overflow question with code that wasn't really explained very well and didn't realy work (atleast for openCV 3.6 not)</p>
  
  <p>May I have any clues to what is the return syntax of this function and what is the method and keywords to search for such things, as well as a short little function that can maybe do that rotation and cropping?  Since that looks like a quite common and simple thing to achieve.</p>