
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
tesseract-positional
Advanced tools
A tool to save positional OCR data to a text file
Tesseract-Positional allows positional data extracted using OCR to be saved as plain-text. Positional data includes text spacing and line breaks.
Installation via pip:
$ pip install tesseract-positional
Installation via cloned repository:
$ git clone https://github.com/tjkessler/tesseract-positional
$ cd tesseract-positional
$ pip install .
Additional dependencies (pytesseract, Pillow) will be installed during Tesseract-Positional's installation.
Saving extracted text to a file:
from tesseract_positional import positional_ocr
positional_ocr('image.tiff', 'output.txt')
Obtaining extracted text:
from tesseract_positional import positional_ocr
text = positional_ocr('image.tiff')
$ tesseract-positional image.tiff output.txt
To contribute to Tesseract-Positional, make a pull request. Contributions should include tests for new features added, as well as extensive documentation.
To report problems with the software or feature requests, file an issue. When reporting problems, include information such as error messages, your OS/environment and Python version.
For additional support/questions, contact Travis Kessler (travis.j.kessler@gmail.com).
FAQs
Tool to save positional OCR data to a text file
We found that tesseract-positional 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.