An OpenCV program implementing the recognition feature of the app "CamScanner". It extracts the main document object from an image and adjusts it to A4 size.
Pull request Compare This branch is 2 commits behind daisygao:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
images
output
README.md
scannerLite.cpp

README.md

ScannerLite

An OpenCV program implementing the recognition feature of the app "CamScanner(扫描全能王)". It extracts the main document object from an image and adjusts it to A4 size.

Chinese tutorial: 用OpenCV实现“扫描全能王”APP

Python port by @scturtle: Python Port

Input image 1:

Extraction result 1:

Input image 2:

Extraction result 2:

Input image 3:

Extraction result 3: