title: Given 4 points, how to crop a quadrilateral from an image in pytorch/torchvision?
body: <p>Problem is pretty straightforward -  </p>
  
  <p>I want to crop a quadrilateral from an image in pytorch/torchvision. Given, I have four coordinates of the corners of this quadrilateral.</p>
  
  <p>Please note that these four points confine a quadrilateral within themselves which may or may not be a rectangle. So please refrain from suggesting answers involving slicing of the image.</p>
  
  <p>Please comment if I have missed any relevant detail.</p>