OpenCV-Document-Scanner
OpenCV-Document-Scanner copied to clipboard
Change dilate to closing
Dilate increases the document boundary by a few pixels. It is better to use closing or opening which are a sequantial application of dilation and erosion. And therefore document boundary doesn't change their size. #6