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.5
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.1.tar.gz (42.2 MB 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.1-py3-none-any.whl (42.2 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: monocr-0.1.1.tar.gz
  • Upload date:
  • Size: 42.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.18

File hashes

Hashes for monocr-0.1.1.tar.gz
Algorithm Hash digest
SHA256 aee783dfe0efcb174548156056f679272b87e59a3f2453c852134906c0bb36e5
MD5 4c31223473137b8d0810436cf6007185
BLAKE2b-256 4c4625d3607d54218aa806944db7b72a50ef40d2a7e5f867983686c726d1971c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: monocr-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 42.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.18

File hashes

Hashes for monocr-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 759d1068beedb8bc71c9a96b47ae80db890dcfa5f6ef554cc6a5b1be038f0020
MD5 c7a869890bff0dad456206b9da641c5f
BLAKE2b-256 90a7af354b55c85bcf3ff8914e39b0fdf6aa1037d4055f929da77d48b98cf061

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