Skip to content

Command line utility that extracts text from an image into the system clipboard.

Notifications You must be signed in to change notification settings

Arthelon/imgclip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Command line utility that extracts text from an image into the system clipboard.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published