I currently extract text from image using:
import png:- | convert png:- -units PixelsPerInch -resample 300 -sharpen 12x6.0 png:- | tesseract -l eng stdin stdout | xsel -ib
However, import png:-
command to take screenshot is not working well for me. It somehow do not quite suit Linux Mint.
Is there any other command which I can use to directly send screenshot to STDOUT for further processing.