title: Use Python OpenCV to Crop/Rotate/Resize Playing Cards From an Image
body: <p>I'm new to OpenCV (using 3.4.1 on Python 2.7) and wanting to learn how to process an image containing 9 playing cards. I know how to read in the image and have seen some examples of image processing, but don't know where to go from there.</p>
  
  <p><img src="https://i.imgur.com/AhVPuiB.jpg" alt="Image"></p>
  
  <p>Ideally, I want to crop each of the nine cards from the image, rotate them to be completely straight (if offset), resize if needed, and save each card to a new image while retaining the color.</p>
  
  <p>Any examples to get me in the right direction are greatly appreciated! Thanks!</p>