3a889539898cfe808c6e3cd4016c009ed7716228
OCR for Japanese manga
Installation
You need Python 3.6+.
If you want to run with GPU, install PyTorch as described here, otherwise this step can be skipped.
Run:
pip install manga-ocr
Usage
from manga_ocr import MangaOcr
mocr = MangaOcr()
text = mocr('/path/to/img')
or
import PIL.Image
from manga_ocr import MangaOcr
mocr = MangaOcr()
img = PIL.Image.open('/path/to/img')
text = mocr(img)
Languages
Python
99.9%
Shell
0.1%