# mote-ocr
a ocr inspired by watamote, meant to be independent and free from bloat
### TODO
- add CTC decoder with dictionary and greedy search
- when finished , resume work on the cpp branch.
### it gets *most* of it correct.
| image | OCR result |
|-----------------------------------------------------------------------|--------------------------------------|
|
| 半刻前には見ず知らずの人 |
|
| 当民宿自慢の春の海鮮料理づくし! |
|
| 樹とは本当の親子じやな |
## image processing
as by now we use opencv, but we will migrate to a more self-contained (header-only) solution in the c++ version.
for instance, this is how the preprocessing shoud look like:
the resize is [done by ncnn](https://git.ajattix.org/hashirama/mote-ocr/src/commit/3609c5a6d6c642e16d73eca3d7ce8d881a86af4c/inference_test.py#L142) itself
| Before | After |
|--------|-------|
|
|
|
## mote-ocr in action:
