Skip to main content

OCR for Japanese manga

Project description

Manga OCR

Optical character recognition for Japanese text, with the main focus being Japanese manga. It uses a custom end-to-end model built with Transformers' Vision Encoder Decoder framework.

Manga OCR can be used as a general purpose printed Japanese OCR, but its main goal was to provide a high quality text recognition, robust against various scenarios specific to manga:

  • both vertical and horizontal text
  • text with furigana
  • text overlaid on images
  • wide variety of fonts and font styles
  • low quality images

Unlike many OCR models, Manga OCR supports recognizing multi-line text in a single forward pass, so that text bubbles found in manga can be processed at once, without splitting them into lines.

See also:

  • Poricom, a GUI reader, which uses manga-ocr
  • mokuro, a tool, which uses manga-ocr to generate an HTML overlay for manga
  • Xelieu's guide, a comprehensive guide on setting up a reading and mining workflow with manga-ocr/mokuro (and many other useful tips)
  • Development code, including code for training and synthetic data generation: link
  • Description of synthetic data generation pipeline + examples of generated images: link

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

manga-ocr-0.1.8.tar.gz (65.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

manga_ocr-0.1.8-py3-none-any.whl (62.5 kB view details)

Uploaded Python 3

File details

Details for the file manga-ocr-0.1.8.tar.gz.

File metadata

  • Download URL: manga-ocr-0.1.8.tar.gz
  • Upload date:
  • Size: 65.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.2

File hashes

Hashes for manga-ocr-0.1.8.tar.gz
Algorithm Hash digest
SHA256 778b164c5949664934135f5f9587732fb3eb3ea425584a93248cfc2ee63d0183
MD5 53f30a4becef1eb15b68776782995764
BLAKE2b-256 acfd73e7117ee1d8c177edc31b6b3cabbc9d60b2c9038be37f026eb34d68b901

See more details on using hashes here.

File details

Details for the file manga_ocr-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: manga_ocr-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 62.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.2

File hashes

Hashes for manga_ocr-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b76ed0a84d147356638e2cd5267f8ec794a734893e04d55faedcebafa1f1c5b6
MD5 a9f9b85adec9ed55912fc954efab5c28
BLAKE2b-256 9f6fa57061042b33a256d3501e8d304adb73cd9866d5a318efdfeab7851c40c4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page