install these libs
pip3 install -r reqs.txt
then you can run the script on the test img file like so
➜ ~ python3 parseimg.py
trying to parse text in: test.jpg
processing text contour 1 of 23
processing text contour 2 of 23
processing text contour 3 of 23
processing text contour 4 of 23
processing text contour 5 of 23
processing text contour 6 of 23
processing text contour 7 of 23
processing text contour 8 of 23
processing text contour 9 of 23
processing text contour 10 of 23
processing text contour 11 of 23
processing text contour 12 of 23
processing text contour 13 of 23
processing text contour 14 of 23
processing text contour 15 of 23
processing text contour 16 of 23
processing text contour 17 of 23
processing text contour 18 of 23
processing text contour 19 of 23
processing text contour 20 of 23
processing text contour 21 of 23
processing text contour 22 of 23
processing text contour 23 of 23
Saved Summary: recognized.txt
saved PDF results: outfile.pdf