Runs OCR (optical character recognition) on image.png and writes the recognized text to output.txt in the current directory. The second argument is the output base name; tesseract appends the extension. Install language data with apt for non-English input, and use --psm to tune page layout.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.