Skip to content

Latest commit

 

History

History
30 lines (27 loc) · 902 Bytes

README.md

File metadata and controls

30 lines (27 loc) · 902 Bytes

Camera-Scanner

Command line python script that converts document images to scan-like images based on open-cv with OCR based on google tesseract

Usage

download the script from this repository then :

$ cd Camera-Scanner
$ python Scanner.py -i "link to image" -e "black enhancement level" -s "link to save output" -l "image maximum side length"

Examples

example 1

original

example 1 original

scanned

example 1 scanned

enhancement 5

example 2

original

example 2 original

scanned

example 2 scanned

enhancement 3

example 3

original

example 3 original

scanned

example 3 scanned

enhancement 0