grim -g "$(slurp)" - | tesseract --dpi 145 -l eng+${lang} - - | wl-copy
Using grim to take a screenshot, slurp to mark a region on your screen and wl-copy to copy to clipboard.
grim -g "$(slurp)" - | tesseract --dpi 145 -l eng+${lang} - - | wl-copy
Using grim to take a screenshot, slurp to mark a region on your screen and wl-copy to copy to clipboard.