Skip to main content

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.4
git push origin main --tags

Related tools

License

MIT - do whatever you want with it.

Project details


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.8.tar.gz (59.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

monocr-0.1.8-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file monocr-0.1.8.tar.gz.

File metadata

  • Download URL: monocr-0.1.8.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

Hashes for monocr-0.1.8.tar.gz
Algorithm Hash digest
SHA256 78e382efa642bfcc34c6d79a395ed5d444739450a23101eea29906403ba79f4d
MD5 7176209394a848fe2b740197dda88537
BLAKE2b-256 b00c986c50842cdd087c070b80fd840150fd9393ab97b2cde447ec1385cba6d9

See more details on using hashes here.

File details

Details for the file monocr-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: monocr-0.1.8-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

Hashes for monocr-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 87899f90d671ed66546e214a55142346928d92c710555f28affaf7ac6275f809
MD5 e931ede077102a14b7a36bcd67778002
BLAKE2b-256 31552aded7f845f1ead6ef8602c7b99fc20fa2ddd86f8d85c490298b007a1779

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page