title: How can I detect edges on an image of a document, and cut sections into seperate images?
body: <p>The task is to take an image of a document, and leverage straight lines surrounding different 'sections' in order to split up the image into different documents for further parsing.  Size of the different 'sections' is completely variable from page to page (we're dealing with several thousand pages).  Here is an image of what one of these images looks like: </p>
  
  <p>Example of how the documents are laid out:</p>
  
  <p><a href="https://i.stack.imgur.com/S1zZ3.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/S1zZ3.jpg" alt="Example Doc"></a></p>
  
  <p>Image analysis/manipulation is completely new to me.  So far I've attempted to use Scikit-image edge detection algorithms to find the 'boxes', with hopes to use those 'coordinates' to cut the image.  However, the two algorithms I've tried (Canny, Hough) are picking up lines of text as 'edges' on high sensitivity, and not picking up the lines that I want on low sensitivity.  I could write something custom and low level to detect the boxes myself, but I have to assume this is a solved problem. </p>
  
  <p>Is my approach headed in the right direction?  Thank you!</p>