Skip to content
A simple document scanner using Python and OpenCV
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
screenshots
test_images
.gitignore
LICENSE
README.md
doc_scanner.py
doc_scanner_app.py
requirements.txt

README.md

document_scanner

A simple document scanner using Python with a GUI.


Usage

python doc_scanner_app.py --image=<input_image_path>

or

python doc_scanner_app.py

and use filemenu to open an image.


Dependencies

  • Python 2.7x
  • Tkinter
  • OpenCV
  • Pillow
  • NumPy

References

http://www.pyimagesearch.com/2014/09/01/build-kick-ass-mobile-document-scanner-just-5-minutes/

http://vipulsharma20.blogspot.com/2016/01/document-scanner-using-python-opencv.html

https://github.com/lancebeet/imagemicro


Screenshots

select corners manually

auto detection (not very robust)

You can’t perform that action at this time.