This is an OCR tool without any function of screenshot. There are a lot of screen capture tools and no needs to build a new one. This tool tries to recognise an image file in clipboard.
git clone https://github.com/nanguoyu/AfterShot.git
cd AfterShot
pip install -r requirements.txt
This tool only supports the OCR API of Baidu
Fill APIKey and SecretKey in config.yaml
-
Start service
python AfterShot.py --config=config.yml
-
Take a screenshot
I recommend you to use snipaste get a screen capture. For example, F1 is the hot key to get screenshot in my MacBookPro. Then I copy the imag in the clipboard.
-
Recognition
Press F2, this tool would try to convert the image in the clipboard to words and then copy results to the clipboard.