Building document scanner with opencv and python

Using some interesting combinations of techniques such as edge detection , finding contour and perspective transform, we can build a decent scanner application for document. It is useful for scanning pictures of receipts or pages in book as shown below. Later I’ll also show you example of how we can make this scalable by performing bulk scanning.