Photo to Document Scanner

a photo to document scanner app

an application to make documents more readable

fun.

made with numpy and Computer Vision (OpenCV)

Photo_to_Document_Scanner
Photo_to_Document_Scanner
Photo_to_Document_Scanner

The script resizes the photo to speed up the process

then, gaussian blurs it and uses Canny-edge detection algorhithm

then loops through the found contours and picks the one with 4 points(assuming its the document)

then crops the image and warps the 4 points to the original image's width, height