Optical Character Recognition for Mon text
Project description
Mon OCR
Optical Character Recognition for Mon (mnw) text.
Installation
pip install monocr | uv add monocr
Quick Start
from monocr import read_text, read_folder
# Read text from a single image
text = read_text("image.png")
print(text)
# Read all images in a folder
results = read_folder("images/")
for filename, text in results.items():
print(f"{filename}: {text}")
Command Line
# Read single image
monocr read image.png
# Process folder
monocr batch images/ --output results.json
Dev Setup
git clone git@github.com:janakhpon/monocr.git
cd monocr
uv sync --dev
# Release workflow
uv version --bump patch
git add .
git commit -m "bump version"
git tag v0.1.11
git push origin main --tags
Related tools
License
MIT - do whatever you want with it.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
monocr-0.1.10.tar.gz
(59.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
monocr-0.1.10-py3-none-any.whl
(11.7 kB
view details)
File details
Details for the file monocr-0.1.10.tar.gz.
File metadata
- Download URL: monocr-0.1.10.tar.gz
- Upload date:
- Size: 59.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14eb1245eaa2b80651b5e1723e021d3f05e519640655f2ea2173f2292dcb3307
|
|
| MD5 |
2c2e2b32a798cd3d1b5be94a0abb29bc
|
|
| BLAKE2b-256 |
fbe49355b23ad2ef83f08b1d7c93f6db2b8f0b23e2d9b8ab6a03f45cd12f52b2
|
File details
Details for the file monocr-0.1.10-py3-none-any.whl.
File metadata
- Download URL: monocr-0.1.10-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4006f44a79b9144c740ea5d31d4ba3932d35d01b5be0a4ecee908ab3a4b9baa
|
|
| MD5 |
04d5395bcfce847b74eaf45d9fc0cc5a
|
|
| BLAKE2b-256 |
a7a8635eebc62cd2a757a653bbd3ce3cfc892894b665cdb9235f0eb398799e44
|