
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
A wrapper around tesseract that can be easily called from the command line on an image from the clipboard
OCR Shell is a convenient command-line tool for quick and easy text extraction from images. Whether you have an image in your clipboard or a saved file, OCR Shell makes it easy to extract text without the hassle of manual handling.
brew install tesseract
.Make sure the tesseract
is found on your executable PATH.
To install OCR Shell, simply run:
pip install ocr-shell
This command will install OCR Shell and all its dependencies.
To extract text from an image in your clipboard, just type:
$ ocr
... text found in the copied image ...
OCR Shell also works with saved images. Just provide the path to the image:
$ ocr ~/Desktop/Screenshot.png
... more text extracted ...
$ python -m unittest discover
..
----------------------------------------------------------------------
Ran 2 tests in 0.407s
OK
Contributions to OCR Shell are welcome! Whether it's bug reports, feature requests, or code contributions, your input is valuable. To contribute:
Please make sure to update tests as appropriate.
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
A wrapper around tesseract that can be easily called from the command line on an image from the clipboard
We found that ocr-shell demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.