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-abang-0.2.0.tar.gz (66.6 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_abang-0.2.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file manga-ocr-abang-0.2.0.tar.gz.

File metadata

  • Download URL: manga-ocr-abang-0.2.0.tar.gz
  • Upload date:
  • Size: 66.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for manga-ocr-abang-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8cd84ab01ffbf9bf41b56e42a3ad5dd12be3d8981e90d903efea550287b9ed55
MD5 615758b106f06394ee3e0b284308fa3c
BLAKE2b-256 51f38c5e07565d628d3545a6c778cd8828b1332af5d8fc650b634eea5f903bbc

See more details on using hashes here.

File details

Details for the file manga_ocr_abang-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for manga_ocr_abang-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3f12a2c275c96a0fc985527ceca0bac21a81dd9c4cdeb09e6b15079b299cc03f
MD5 c183d8d0865bbafa8c5a8e6bf85782c7
BLAKE2b-256 20bb5ea7d42f53b1c59dfb45cfd6249f08378fb4ddbd4bc64560dd5fd27f7cc3

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