Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Arthelon/imgclip
Command line utility that extracts text from an image into the system clipboard.
https://github.com/Arthelon/imgclip
cli command-line javascript ocr tesseract
Last synced: about 2 months ago
JSON representation
Command line utility that extracts text from an image into the system clipboard.
- Host: GitHub
- URL: https://github.com/Arthelon/imgclip
- Owner: Arthelon
- Created: 2016-10-13T01:48:18.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-04-22T16:28:59.000Z (over 5 years ago)
- Last Synced: 2024-07-27T20:42:22.923Z (about 2 months ago)
- Topics: cli, command-line, javascript, ocr, tesseract
- Language: JavaScript
- Homepage:
- Size: 32.2 KB
- Stars: 77
- Watchers: 8
- Forks: 10
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# imgclip [![npm](https://img.shields.io/badge/npm-v1.2.0-blue.svg)](https://www.npmjs.com/package/imgclip)
Command line utility that extracts text from an image into the system clipboard. Uses the [tesseract.js](https://github.com/naptha/tesseract.js) OCR wrapper
[![asciicast](https://asciinema.org/a/1n7wfprarthnh9htkavu3trkl.png)](https://asciinema.org/a/1n7wfprarthnh9htkavu3trkl)
### 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](https://github.com/naptha/tesseract.js/blob/master/docs/tesseract_lang_list.md)