/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.

Primary LanguageC++

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: