|Project Name||Stars||Downloads||Repos Using This||Packages Using This||Most Recent Commit||Total Releases||Latest Release||Open Issues||License||Language|
|Textshot||1,518||8 months ago||2||December 29, 2022||3||mit||Python|
|Python tool for grabbing text via screenshot|
|Python Webkit2png||919||14||1||3 years ago||1||May 12, 2010||19||other||Python|
|Python script that takes screenshots (browsershots) using webkit|
|Droidcast||150||a month ago||apache-2.0||Java|
|An experimental demo for capturing and displaying screenshot of an Android device / emulator without ROOT permission.|
|Pylibgen||54||4 years ago||4||Python|
|A python script to download books from libgen.io|
|Maiscreenz||18||11 years ago||Python|
|A simple python script to upload screenshots to your own server.|
|Webshotter||16||6 years ago||1||apache-2.0||Python|
|A very simple Python script to take screenshots of websites|
|Deeplack||16||4 years ago||gpl-3.0||Python|
|Deeplack is a python script designed for comparing images (screenshots) using DeepAI to detect changes on websites.|
|Ds1000z||7||5 years ago||1||Python|
|Python script using pyVISA to grab a screenshot from Rigol DS1000Z oscilloscope|
|Thuglifeimgcreator||7||7 years ago||Python|
|Give an image as input, it returns ThugLifeImage as output|
|Hls_m3u8_downloader||6||6 years ago||3||mit||Python|
|A python script to download hls stream|
Take a screenshot and copy its text content to the clipboard. Works on Windows, macOS, and most modern Linux distros.
textshot -h prints the available command line options:
usage: textshot [-h] [-i INTERVAL] [langs] Take a screenshot and copy its text content to the clipboard. positional arguments: langs languages passed to tesseract, eg. "eng+fra" (default: eng) optional arguments: -h, --help show this help message and exit -i INTERVAL, --interval INTERVAL select a screen region then take textshots every INTERVAL milliseconds
textshot opens an overlay where a rectangle can be drawn around the text to be copied.
textshot eng+fra specifies use of English as the primary language and French as the secondary language. Make sure that the appropriate data files for Tesseract are installed for other languages. A list of all supported languages can be found here.
Continuously copy text content:
textshot --interval 200 draw a rectangle at a screen region then copy text from it every 200ms.
It is recommended to attach a global hotkey to this tool, so you can run it without opening a console and typing in the command.
On Windows, one can accomplish this by using an AutoHotkey script;
textshot.ahk contains a sample AHK script that can be used.
On Ubuntu, open the Keyboard Settings, which shows you all the Gnome shortcuts. At the bottom there is a
+ button to add your own shortcuts. Click it and set the command to
textshot. In case you are using a virtual environment, the
textshot path above should point to the environment's
The process on other operating systems can be found by searching how to run a shell command with a keyboard shortcut.
tesseractcan be reached from the command line by adding the directory to your system path.
$ pip install textshot $ textshot
You may wish to use a virtual environment if the dependencies conflict with others on your machine.
git clone https://github.com/ianzhao05/textshot.git
pip install .(for development, you may install with
pip install -e .which will allow you to test your modifications without reinstall)
@rigred has added this to the AUR, so Arch Linux users can install the package
textshot-git with their AUR helper. For example,
yay -S textshot-git. This may not be up to date, so if you encounter issues, use the normal installation method above.
You may need to give permission to capture the screen. You can do so by going to System Preferences > Security & Privacy > Privacy > Screen Recording, then checking the box for Terminal/iTerm.
If the text shows up correctly in the notification, but you cannot paste it, install
xclip (e.g. with
sudo apt install xclip).