Tesseract is open-source OCR engine.

Install Tesseract


sudo dnf install tesseract

Install langpack


sudo dnf install tesseract-langpack-rus

Processing a file


tesseract ~/Pictures/document.png document.txt -l rus