{"id":15896082,"url":"https://github.com/keizouw8/ocr-command-line-tool","last_synced_at":"2025-03-20T15:32:13.669Z","repository":{"id":57313309,"uuid":"354992870","full_name":"Keizouw8/OCR-Command-Line-Tool","owner":"Keizouw8","description":"A tool that can be used in the CLI or NodeJS environment to scan for text in images. It is built with the Tesseract Engine so it is very efficient.","archived":false,"fork":false,"pushed_at":"2021-04-12T20:44:15.000Z","size":16538,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T17:11:50.111Z","etag":null,"topics":["cli","npm","npm-package","npmjs","ocr-clt","ocr-command","scanning","text-classification"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/ocr-command-line-tool","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Keizouw8.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-05T22:47:15.000Z","updated_at":"2023-04-25T17:42:22.000Z","dependencies_parsed_at":"2022-09-20T23:10:43.270Z","dependency_job_id":null,"html_url":"https://github.com/Keizouw8/OCR-Command-Line-Tool","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Keizouw8%2FOCR-Command-Line-Tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Keizouw8%2FOCR-Command-Line-Tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Keizouw8%2FOCR-Command-Line-Tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Keizouw8%2FOCR-Command-Line-Tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Keizouw8","download_url":"https://codeload.github.com/Keizouw8/OCR-Command-Line-Tool/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244640185,"owners_count":20486003,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","npm","npm-package","npmjs","ocr-clt","ocr-command","scanning","text-classification"],"created_at":"2024-10-06T09:05:44.798Z","updated_at":"2025-03-20T15:32:13.663Z","avatar_url":"https://github.com/Keizouw8.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OCR Command Line Tool\nOCR Command Line tool (OCR-CLT) is a global Node package that uses OCR technology to extract text from images. It is based on the Tesseract JS OCR library, so it is very efficient.\n\n## Installation\nUsing npm to install CLI tool:\n```shell\n$ npm install -g npm\n$ npm install -g ocr-command-line-tool\n```\nUsing npm to install module:\n```shell\n$ npm install -g npm\n$ npm install ocr-command-line-tool\n```\n\n## Example\nIn CLI:\n```shell\n$ ocr --img '\u003cpath to image\u003e' --file '\u003csave to file name\u003e'\n```\nIn NodeJS:\n```js\nconst ocrCommandLineTool = require(\"ocr-command-line-tool\").ocr\nasync function getText (imagepath) {\n    var mytext = await ocrCommandLineTool(imagepath)\n    console.log(mytext)\n}\ngetText('\u003cpath to image\u003e')\n```\n\n## Why OCR-CLT?\nOCR-CLT text recognition easy with a simple command. Beyond this, most other competitors are made as API's, which come with hefty fees. Here, you can use the tool right from your own computer for free! Additionally you can take advantage of all the power your computer has.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeizouw8%2Focr-command-line-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeizouw8%2Focr-command-line-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeizouw8%2Focr-command-line-tool/lists"}