Created
December 22, 2020 07:50
-
-
Save Rudo2204/e25dbc10e2413994975f108d52b33cf0 to your computer and use it in GitHub Desktop.
Flameshot capture into tesseract, copy to clipboard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Dependencies: tesseract-ocr flameshot | |
#select tesseract_lang in jpn jpn_vert ;do break;done | |
# Quick language menu, add more if you need other languages. | |
flameshot gui -r | tesseract -l jpn_vert stdin stdout | sed '$ s/..$//' | tr -d '\n' | xclip -sel clip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment