title: OCR - Border Whitespaces trimming in document images
body: <p>I have such similar documents which has whitespaces in the corners.I tried to implement this below code but it doesnt work on some of the forms which has some noise in the borders.</p>
  
  <p>I tried this code but <a href="https://i.stack.imgur.com/3Rk3S.jpg" rel="nofollow noreferrer">enter image description here</a>it didnt work on some document images
  <a href="https://i.stack.imgur.com/AMkls.jpg" rel="nofollow noreferrer">enter image description here</a>
  <a href="https://stackoverflow.com/questions/7528816/trim-scanned-images-with-pil">Trim scanned images with PIL?</a></p>
  
  <p>Any help is appreciated</p>