Skip to content
Command line utility that extracts text from an image into the system clipboard.
Branch: master
Clone or download
Latest commit 9cda70d May 13, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit Oct 13, 2016
README.md Add npm badge May 13, 2017
index.js add flag for cleaning up language data files, updated readme May 13, 2017
package.json 1.2.0 May 13, 2017
yarn.lock Updated README and yarn lock Oct 16, 2016

README.md

imgclip npm

Command line utility that extracts text from an image into the system clipboard. Uses the tesseract.js OCR wrapper

asciicast

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

You can’t perform that action at this time.