Image/Document Scanner with OpenCV(3/17)
January 22, 2019
The #3 Project in the series of 17 is an "Image/Document Scanner". A mini project in OpenCV, requiring only three simple steps to be accomplished.
- Step 1: Detecting the Edges in the image/document.

Check the code snippet for the above step here.
- Step 2: Using those edges in the image to find the contour(outline) representing the piece of the paper to be scanned.

Check the code snippet for the above step here.
- Step 3: Finally, applying a perspective transform to obtain a top-down view of the document.

Check the code snippet for the above step here.
That's all for this simple project. You can find the entire source-code and other required dependencies(libraries like transform.py) in this GitHub repo.
Till next time! o/
Resources: