Awesome
imgclip
Command line utility that extracts text from an image into the system clipboard. Uses the tesseract.js OCR wrapper
Installation
npm install -g imgclip
Notes
- Only compatible with Node v6.8.0+
- Downloads a
lang
.traineddata file needed to perform the image recognition into the current working directory. (use the--clean-up
flag to remove it after execution)
Usage
Usage: imgclip PATH [options]
Options:
-h, --help output usage information
-V, --version output the version number
-l, --lang [language] language of the text in the image.
-c, --clean-up removes the generated language data file (.traineddata) after the image recognition job has finished
-p, --print prints out the text in the image.
Full language list can be found here