Skip to main content

tesseract hocr to pandas DataFrame

pip install tesserhocr2df

Tested against Windows 10 / Python 3.11 / Anaconda

from tesserhocr2df import text2df
from PrettyColorPrinter import add_printer

add_printer(1)
df = text2df(
    img=r"C:\Users\hansc\Desktop\2024-03-29 02_18_09-C__ProgramData_BlueStacks_nxt.png",
    add_after_tesseract_path="",
    add_at_the_end="-l eng+por --psm 3",
    tesseractpath=r"C:\Program Files\Tesseract-OCR\tesseract.exe",
    add_imgs=True,
)
print(df)

Metadata

Release files for tesserhocr2df 0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tesserhocr2df 0.10
File Size Uploaded Provenance Actions
tesserhocr2df-0.10.tar.gz 25.0 kB Without provenance Details for tesserhocr2df-0.10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tesserhocr2df 0.10
File Interpreter ABI Platform Actions
tesserhocr2df-0.10-py3-none-any.whl Python 3 none any Details for tesserhocr2df-0.10-py3-none-any.whl

Total release size: 50.0 kB

Release files / tesserhocr2df-0.10.tar.gz

Download URL tesserhocr2df-0.10.tar.gz
Size 25.0 kB
Tags Source
SHA-256 checksum
How to use checksums
bb25a2125cd24a63b64f5c65362a82298ceca115004475ab85d25685d7f78b81
BLAKE2b-256 checksum
How to use checksums
cdd2515331b0ad602bb0fdad53e663fb5d71d4c3f9f33e903d2524eafc428a24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / tesserhocr2df-0.10-py3-none-any.whl

Download URL tesserhocr2df-0.10-py3-none-any.whl
Size 25.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f081300b383c3961b873652c4ef27d19323b762a9d970146422bd2082e282112
BLAKE2b-256 checksum
How to use checksums
b7cf5ba4417f46e66b8d25e3a94e3d29ad3b662b4cc56bccc8e385531a9771bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Security for tesserhocr2df 0.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.10 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page