Command line python script that converts document images to scan-like images based on open-cv with OCR based on google tesseract
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"
enhancement 5
enhancement 3
enhancement 0