/document_scanner

A simple document scanner using Python and OpenCV

Primary LanguagePythonMIT LicenseMIT

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)