https://github.com/janakhpon/monocr
Optical Character Recognition for Mon (mnw) text.
https://github.com/janakhpon/monocr
mon ocr ocr-text-reader python
Last synced: 9 months ago
JSON representation
Optical Character Recognition for Mon (mnw) text.
- Host: GitHub
- URL: https://github.com/janakhpon/monocr
- Owner: janakhpon
- License: mit
- Created: 2025-09-17T04:51:41.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-09-18T07:10:03.000Z (9 months ago)
- Last Synced: 2025-09-28T15:04:41.931Z (9 months ago)
- Topics: mon, ocr, ocr-text-reader, python
- Language: Python
- Homepage: https://pypi.org/project/monocr
- Size: 39.3 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mon OCR
Optical Character Recognition for Mon (mnw) text.
## Installation
```bash
pip install monocr | uv add monocr
```
## Quick Start
```python
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
```bash
# Read single image
monocr read image.png
# Process folder
monocr batch images/ --output results.json
```
## Dev Setup
```bash
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
- [mon_tokenizer](https://github.com/Code-Yay-Mal/mon_tokenizer)
- [hugging face mon_tokenizer model](https://huggingface.co/janakhpon/mon_tokenizer)
- [Mon corpus collection in unicode](https://github.com/MonDevHub/MonCorpusCollection)
## License
MIT - do whatever you want with it.