Skip to content

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

Notifications You must be signed in to change notification settings

George-Gabra-Jr/Camera-Scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages