Mokuro, tested on 60 manga bubbles
mokuro manga --disable_confirmation
All 60 bubbles found on 10 drawn pages, 99.3% of kanji and kana right.
39 of 60 bubbles exact
| Way | Clean pages | Small JPEG |
|---|---|---|
| mokuro 0.2.5 | 39, 99.3% | 32, 97.7% |
| manga-ocr on whole bubbles | 45, 98.7% | 43, 98.4% |
| Tesseract jpn_vert | 7, 71.4% | 8, 65.2% |
Exact: every kanji, kana and mark. Small JPEG: the same pages at half size.
Lines across were its weak spot
- Line by line. mokuro reads each line alone. Most misses sit where two lines meet: また前その憎悪 for また前の憎悪.
- Lines across. On clean pages, 4 of 12 came out exact. In 3, mokuro added words, like 咄羊喘ぎです.
- Furigana. 3 bubbles with furigana became 2 or more boxes, and one got its furigana as text: こくとう黒洞々.
- Nothing from the art. mokuro put no box on dot tone or speed lines, on any page.
Whole bubbles: the script from our manga-ocr test reads each bubble in one piece. It got 6 more exact, and 9 of 12 lines across.
Run it on one volume
pip install mokuro
mokuro manga --disable_confirmation
manga is a folder of page images (jpg, png, webp or avif), or a zip or cbz file. Next to it, mokuro writes:
- manga.mokuro: the text and boxes, for the reader.
-
manga.html: the old viewer, still on by default.
Add
--nolegacy_htmlto skip it. - _ocr/manga/: one JSON file a page, kept as a cache.
For a whole series, put one folder a volume in manga and run
mokuro --parent_dir manga --disable_confirmation.
The first run downloads an 80 MB text detector and 888 MB of manga-ocr model files.
What a .mokuro file holds
JSON: the title, the volume, their IDs and the pages. Each page has its size and its text blocks. One block from our page 1:
{"box": [283, 118, 397, 368], "vertical": true, "font_size": 28,
"lines": ["老婆は、それでも", "下人をつきのけて", "行こうとする。"]}
box is left, top, right and bottom in pixels. Each block also has lines_coords: the 4 corners of each line.
The title comes from the parent folder name, the volume from the folder name.
Read it in the mokuro reader
- Open reader.mokuro.app.
- Press the upload button at the top right.
- Choose the .mokuro file and its image folder, or one zip of both.
- Press Import, then open the volume.
I uploaded our test volume, a 4.2 MB zip, in a headless browser. It sent no POST or PUT and kept the files in IndexedDB.
5 errors, and their fixes
-
"EOFError: EOF when reading a line"
In a script, mokuro asks "Continue? [yes/no]" and gets no
answer. Add
--disable_confirmationafter the path. - "Found no paths to process" A flag before the path took the path as its value. Put the path first.
-
"'NoneType' object has no attribute
'is_file'"
You gave it a PDF. Make page images first:
mkdir manga && pdftoppm -r 150 -png manga.pdf manga/page -
The HTML came back.
--legacy_html falsereads false as text, and text counts as true. Use--nolegacy_html. -
"Could not consume arg: --disable_html"
It is in the README, not in mokuro. It wrote the HTML, then quit
with code 2. Use
--nolegacy_html.
What I did not test
- Real manga scans. We used drawn pages we can publish.
- A CUDA GPU, Windows and Linux.
- The reader's cloud sync (Google Drive, MEGA, OneDrive, WebDAV) and its stats.
- Speed: the Mac was busy with other work.
How I tested it
- 10 pages of 1000 x 1400 px, 6 panels each, with the bubbles of our manga-ocr test: Rashomon (1915, public domain), 4 free fonts. 36 vertical, 12 across, 12 with furigana.
- The truth is the text without furigana: 1,535 kanji and kana. Small JPEG: the same pages at 500 x 700 px, quality 60.
- A bubble's text is every box whose center falls inside it. Kanji and kana right in order, as on the manga-ocr test.
- mokuro ran with its defaults on the Mac's GPU (MPS). With --force_cpu it wrote the same text, byte for byte.
- Tesseract: jpn_vert from tessdata_best 4.1.0, page mode 3, whole pages.
- mokuro 0.2.5, manga-ocr 0.1.16, torch 2.15.0, transformers 5.24.0, RapidOCR 3.10.0, Tesseract 5.5.4, Python 3.12.12 (arm64), macOS 26.6.
- The reader test used a headless Chromium, with every request logged. Each error above ran for real, on 2 pages.
- Scripts and results stay in our private repo, in research/bench/mokuro-2026-11-22/.
Sources
- mokuro (GPL-3.0)
- mokuro reader (GPL-3.0, moved from ZXY101)
- mokuro issue 161 (PDF input) and issue 134 (the flag)
- manga-ocr and comic-text-detector
- We make the Apify Actor, and none of the other tools here.
Questions people ask
What is mokuro?
A free command line tool (GPL-3.0) for reading manga in Japanese. It finds the text on each page with comic-text-detector, reads it with manga-ocr, and writes a .mokuro file for the mokuro reader.
How do I use the mokuro reader?
Run mokuro on a folder of pages. Then open reader.mokuro.app, press the upload button, and choose the .mokuro file with its image folder, or one zip of both. Our files stayed in the browser.
Does mokuro read PDF files?
No. Version 0.2.5 reads folders of jpg, png, webp or avif pages, and zip or cbz files. Make page images first: run mkdir manga, then pdftoppm -r 150 -png manga.pdf manga/page, then mokuro on manga.
How accurate is mokuro?
On our 60 drawn bubbles it found every bubble and read 99.3% of the kanji and kana. 39 bubbles were exact to the last mark. Lines across did worst: 4 of 12 exact.
Two ways to skip the work
Run it yourself. Our Apify Actor turns scanned PDFs into Markdown, tables included.
Or send us the scan. Tack, our AI, does the job for $29, up to 50 pages. First page free.