gocr

Optical Character Recognition tool. Recognize characters using its engine, and prompt the user for unknown patterns to store them in a database. More information: https://manned.org/gocr.1.

gocr -m 130 -p path/to/db_directory -i path/to/input_image.png -o path/to/output_file.txt

gocr -m 130 -p path/to/db_directory -i path/to/input_image.png -o path/to/output_file.txt -C "0..9"

gocr -m 130 -p path/to/db_directory -i path/to/input_image.png -o path/to/output_file.txt -a 100