/perspector

A simple python script to scan documents from photos

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Perspector

Perspector is a simple python script to scan documents based on opencv. It finds the white sheet in a photo and fixes the perspective. See the example below and try it yourself.

⚠️ Bugs included! (this is an experiment)

Demo

Before After
Demo document photo Demo result

Made with 🍷 in Torino.