tesseract

tesseract

TLDR

Recognize text in an image and save it to output.txt (the '.txt' extension is added automatically)

>_ tesseract [image.png] [output]
copy

Specify a custom language (default is English) with an ISO 639-2 code (e.g. deu = Deutsch = German)

>_ tesseract -l deu [image.png] [output]
copy

List the ISO 639-2 codes of available languages

>_ tesseract --list-langs
copy

Specify a custom page segmentation mode (default is 3)

>_ tesseract -psm [0_to_10] [image.png] [output]
copy

List page segmentation modes and their descriptions

>_ tesseract --help-psm
copy

Copied to clipboard
free 100$ digital ocean credit