npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

imgclip

1.2.0 • Public • Published

imgclip

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

Keywords

none

install

npm i imgclip

Downloadsweekly downloads

9

version

1.2.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability