Files
owocr/README.md
2022-01-17 22:07:55 +01:00

21 lines
242 B
Markdown

# Usage
```python
from manga_ocr import MangaOcr
mocr = MangaOcr()
text = mocr('/path/to/img')
```
or
```python
import PIL.Image
from manga_ocr import MangaOcr
mocr = MangaOcr()
img = PIL.Image.open('/path/to/img')
text = mocr(img)
```