/document-scanner

Document Scanner in Matlab

Primary LanguageMATLABBSD 2-Clause "Simplified" LicenseBSD-2-Clause

A simple document scanner implementation in Matlab. The idea is to take a picture of a document (e.g. with your smartphone) and convert it to a flat document image, just as if you'd had used a real scanner. The main challenge is to automatically remove the perspective distortion and to crop it tightly.

To see how it works, execute runExamples.m

Author: Tom Mertens, tom.mertens@gmail.com