Sequel to my roi-screenshot project. Was finally able to do this with my laptop.
-
Python 3.6+
-
Packages in the requirements.txt file:
pip install -r requirements.txt
On Linux,
pyautogui
has some extra dependencies. Simply run the following commands from the terminal to install them:sudo pip3 install python3-xlib
,sudo apt-get install scrot
,sudo apt-get install python3-tk
, andsudo apt-get install python3-dev
- Execute the script:
python extractor.py
- As explained in roi-screenshot, click the edges of the intended screenshot.
- The text in the screenshot will be displayed on the terminal and also copied to your clipboard.