Skip to content

Setup: Manga on PC

  • MangaOCR is a tool used to scan a Japanese text and return it to your clipboard which you can scan in Yomitan

  • (Recommended) Mokuro Manga is a setup that first processes the manga to be able to hover the words and scan them using Yomitan


MangaOCR

Requirements


Setup: MangaOCR

  1. Download python (3.10.xx ONLY)

    • Then choose Windows/mac INSTALLER (64-bit) and install
    Check 'Add Python to PATH' (click here)

    Add Python to PATH

  2. Open command prompt by winkey/search > cmd

  3. Type pip3 install manga-ocr

    • Then just let it download/install for a few mins until it's done and you can type again
    • If pip3 is not recognized... then just uninstall Python > restart > install Python (repeat if it didn't work)
  4. Hotkey Settings > OCR (manga_ocr) > Click the COG icon > override screenshot folder > change the path to a specified OCR folder of your choice

    ShareX OCR Path

  5. In command prompt, type manga_ocr "\path\to\sharex\screenshot\folder"(copy the path that YOU specified in step 4) to start the program, then just minimize the window

    • Typing manga_ocr by itself without a path also works; it will scan from everywhere
    • If you want a shortcut program see: Info 1
  6. Capture anything using Shift + Alt + Q or whatever you set in OCR (manga_ocr) hotkey in ShareX

    • Make sure Yomitan Search window is opened
    • If you want to scan using mouse button, see Info 2
  7. You can now start reading using MangaOCR

    Video How-to (click here)

    Anki | Dark

    Anki | Light

You might also want to check Mokuro Manga


Setup: Mokuro Manga

Choose between 2 options:

Android Mining

To be able to mine in Android check: Setup: Manga On Android


Online Processing Method

  1. Follow this Setup Guide

  2. Download the processed Manga folder and see Reading Processed Manga


Local Processing Method

  1. Download python (3.10.xx ONLY)

    • Then choose Windows/mac INSTALLER 64bit and install
    Check 'Add Python to PATH' (click here)

    Add Python to PATH

  2. Download and Install Git > 64-bit setup

  3. Open command prompt by winkey/search > cmd

  4. Type pip install git+https://github.com/kha-white/mokuro.git@web-reader

    • Then just let it download/install for a few mins until it's done and you can type again
    • If pip3 is not recognized... then just uninstall > restart > install Python repeatedly (I know it's dumb but that's how)
  5. (Optional) Use GPU CUDA

    • Check if your GPU is CUDA compatible
    • Download CUDA package
    • Type pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 in cmd (stick to CUDA 11.8)

    Installing Torch

    • To check if it's existing, type python > import torch > torch.cuda.is_available()

      Torch if available

    • If it redirects you to Microsoft Store: Open Windows Powershell > input Remove-Item $env:USERPROFILE\AppData\Local\Microsoft\WindowsApps\python*.exe > enter

    • If problem occurs reinstall pytorch by pip uninstall torch then redo the step above, if it still failed, go here
  6. Two options to process, go to cmd then:

    • Specified Manga volume: Type mokuro F:\Manga\Saenai\Vol3 (Replace full directory, Saenai and volume #)
    • All Manga volumes: Type mokuro --parent_dir F:\Manga\Saenai (Replace full directory, Saenai with your manga name)
      • Your vol1, 2, 3, etc. should be inside Saenai folder in ascending uniform named order
  7. See Reading Processed Manga


Reading Processed Manga

  1. In your Anki, Ctrl + Shift + A or Tools > Add-ons

    • Select AnkiConnect > Config
    • Under webCorsOriginList paste https://reader.mokuro.app or copy config below:
    AnkiConnect Config (click here)
    {
        "apiKey": null,
        "apiLogPath": null,
        "ignoreOriginList": [],
        "webBindAddress": "127.0.0.1",
        "webBindPort": 8765,
        "webCorsOriginList": [
            "http://localhost",
            "https://reader.mokuro.app"
            ]
    }
    

    AnkiConnect PC

  2. Go to Mokuro Reader > Upload Icon (top right) > choose directory

    • Select the Manga folder that contains the manga, mokuro'd files and .mokuro
    • Click Upload

    Mokuro upload

  3. In the top right, go to settings > Profile > Select a File > Mokuro Profile > Import Profiles > Select PC Profle

    • Alternatively you can make your own profile just make sure to set-up everything on Anki Connect portion

    Mokuro Settings

  4. To be able to mine, simply add the word using Yomitan

    • To screenshot, make sure to double click/tap inside the text border (its invisible by default)

    Mokuro Settings

  5. You should now be able to mine and screenshot in your Manga with ease

_ocr folder

ocr files is optional but recommended to keep

You can now mine Manga on PC, see how it's done in Android!

Proceed to Manga on Android Setup

If you have any problems check FAQs or contact me on Discord: xelieu

Extra Info and Tips

Info 1: MangaOCR Shortcut Program

MangaOCR Shortcut Program (click here)
  1. Right click in an empty space in your Desktop > New > Shortcut

    MangaOCR Shortcut

  2. Type the location of the item as:

    • Default: C:\Windows\System32\cmd.exe /k manga_ocr
    • OCR only from specific folder: C:\Windows\System32\cmd.exe /k manga_ocr "\path\to\the\screenshot\folder"
      • For example: C:\Windows\System32\cmd.exe /k manga_ocr "F:\Pictures\OCR Picture"
      • Next then choose your name and done

Info 2: Scan using Mouse Button

Scan using Mouse Button (click here)
  1. Download and install AutoHotkey

  2. Download my Hotkey then run it

  3. Use Forward Button to use it

    • This is assuming the OCR (manga_ocr) hotkey in ShareX is unchanged from Shift + Alt + Q
    • You can edit the hotkey by editing the script if you like

Tip 1: Getting raw or Processed Manga

Getting raw or Processed Manga (click here)

To get epubs, search around the web, go to nyaa or discord servers that have them or BUY and convert them

  • If you pm me, I can give you more details

FAQs