diff --git a/README.md b/README.md index 30404ce..9308046 100644 --- a/README.md +++ b/README.md @@ -1 +1,20 @@ -TODO \ No newline at end of file +# 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) +```