Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tesseract-positional

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tesseract-positional

Tool to save positional OCR data to a text file

  • 0.1.2
  • PyPI
  • Socket score

Maintainers
1

Tesseract-Positional

A tool to save positional OCR data to a text file

GitHub version PyPI version GitHub license

Tesseract-Positional allows positional data extracted using OCR to be saved as plain-text. Positional data includes text spacing and line breaks.

Installation

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.

Basic Usage

Via a Python script

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')

Via the command line

$ tesseract-positional image.tiff output.txt

Contributing, Reporting Issues and Other Support

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


Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc