img-to-text
Extract and organize text from screenshots with OCR.
Features
- OCR from screenshots using
pytesseractoreasyocr - Automatic pre-processing for better OCR quality
- Structured extraction into labeled sections when possible
- Full text is always preserved in output
- Report output as Markdown, JSON, and plain text
Install
pip install img-to-text
Local development install:
pip install -e ".[dev,all-ocr]"
Usage
img-to-text extract screenshot.png
img-to-text extract screenshot.png --format all
img-to-text extract screenshot1.png screenshot2.png --stdout --format json
img-to-text raw screenshot.png --engine easyocr
Output formats
md: organized markdown reportjson: structured JSON records includingfull_texttxt: plain text grouped by recordboth: markdown + JSON (default)all: markdown + JSON + text
License
Metadata
Release files for img-to-text 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| img_to_text-0.1.0.tar.gz | 14.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| img_to_text-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.3 kB
Release files / img_to_text-0.1.0.tar.gz
| Download URL | img_to_text-0.1.0.tar.gz |
|---|---|
| Size | 14.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2935f6add61c4eef59816e30f39c1be2add1e355929b5508dd03eabe43afd210
|
|
BLAKE2b-256 checksum How to use checksums |
f100a65508be1c90c39487f07f46e9343b090ad6062c36b45a3343e34b3cd7c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 6, 2026.
Transparency logRelease files / img_to_text-0.1.0-py3-none-any.whl
| Download URL | img_to_text-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
00ce3d084e12b26182371c9a8ab19e74f874eca6c33ae202c291272cf8965238
|
|
BLAKE2b-256 checksum How to use checksums |
98e430f4a2791bee296730d86351a18351ba1b111b1059c12cd406b4d1042e80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 6, 2026.
Transparency log