Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 565 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 565 Bytes

document-recognition

A program for document recognition. More info at https://awesomelemon.github.io/2017/01/15/Document-recognition-with-Python-OpenCV-and-Tesseract.html

Usage

Arguments

-i, --image, Path to the image to be scanned.

-o, --output, Path for the output text file.

-c, --check, Path to the file with reference text.

-s, --show, Show intermediate results [optional]

Example

python .\recognize.py -i photos\chom4.jpg -c texts\chom.txt -o output.txt

Dependencies

OpenCV 3, Scikit, Scipy, Numpy+mkl, Tesseract, pytesseract, jellyfish.