title: How to crop editable text pdf file using (x,yw,h) co-ordinates?
body: <p>Lets' say I have two countours,</p>
  <pre><code>c = (array([[[   1,  342]],
   
          [[   1,  347]],
   
          [[1705,  347]],
   
          [[1705,  342]]], dtype=int32),
   array([[[ 106,  468]],
   
          [[ 106,  472]],
   
          [[ 107,  473]],
   
          [[1703,  473]],
   
          [[1703,  468]]], dtype=int32))
  </code></pre>
  <p>I am fetching bounding rectangle from contours,</p>
  <pre><code>x1,y1,w1,h1 = cv2.boundingRect(c[0])
  
  # print(x1, y1, w1, h1)
  # (1, 342, 1705, 6)
  </code></pre>
  <p>Now using these b-box co-ordinates how to crop the original pdf file (not image)?</p>