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.9.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.9-py3-none-any.whl (62.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: manga-ocr-0.1.9.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.9.tar.gz
Algorithm Hash digest
SHA256 25c3b940981577b781b6e6191a591c04566f0b43f07d928a4319f0c93dec37fd
MD5 cb8027f9f96a12edfba55004e4606656
BLAKE2b-256 9915d2b42ef8aa7b21a42bcdb513cff82bb4311925c22ff962312a9b53359501

See more details on using hashes here.

File details

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

File metadata

  • Download URL: manga_ocr-0.1.9-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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 abf421fb8763cf322d4cd52090f55eb39e950d6d1c0d3d35d2c853b2043b0693
MD5 5bb845011dbc3fc34b5048ca7c725c55
BLAKE2b-256 d1ef2c38565cf062c7befe01aa5ae4b7ea1b2768ba07195929b31578aee28bd3

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