Building a document scanner with OpenCV: Detect edges, Use the edges in the image to find the contour (outline) representing the piece of paper being scanned, Apply a perspective transform to obtain the top-down view of the document.
Building a document scanner with OpenCV: Detect edges, Use the edges in the image to find the contour (outline) representing the piece of paper being scanned, Apply a perspective transform to obtain the top-down view of the document.