Intro

ImageTrans is a computer-aided image and comic translation tool. It can automatically locate text areas and perform OCR operations using state-of-art OCR technology and a homebrew text areas merging and detecting algorithm, which is specially designed for comics (also webtoon, manga, manhwa and manhua). The original text can be automatically erased and the translation be reinjected.

ImageTrans has a high interoperability that it can export text to Word and Excel files and use scripts to interact with image editors like Photoshop.

ImageTrans is also a computer-aided translation (CAT) tool, which supports corpus concordance, translation memory, terminology management and machine translation. It has a sound effects words search engine designed for comics. All of these are designed to help translators complete their jobs with quality and efficiency.

ImageTrans is cross-platform (Windows/Mac/Linux) as same as BasicCAT.

Documentation: https://imagetrans.readthedocs.io/

ImageTrans is the result of the thesis for my master’s degree: Design and Implementation of a Computer-Aided Comics Translation Tool.

Video Tutorials and Demos

Getting Started

Translation of Japanese Manga

The above operations can be done in a fully automated way: https://www.youtube.com/watch?v=QVTjmW4B-LQ. But the translation quality can only be guaranteed with human intervention.

Text Areas Detection

Translation Reinjection

Chrome Image Translator Extension

Using ImageTrans’s Chrome Extension, images in webpage can be translated directly.

Automatic Translation Server

The server allows users using ImageTrans through the web. Params can be adjusted to adapt to different images. The video above uses a fast mode, which normally takes less than 10 seconds to translate an image.

For now, the online version does not support running multiple instances. The language parameters of machine translation and OCR need to be set manually. The default language pair is Chinese to English.

Please note that the automatic translation result may not be satisfying which needs fine-tuning by human. Fine-tuning support is one of the characteristics of ImageTrans.

Link to the server

Examples of Translated Comics

Come to me , Love —— From issue 41, Boy Loves Girls (Golden age comics).

Browsing Page: http://comics.xulihang.me/viewer.html?project=come_to_me_love.itp

Text Searching Page: http://comics.xulihang.me/search.html

Get a Copy

  1. Mail to admin@basiccat.org to apply for purchasing ImageTrans.
  2. Complete the payment with Paypal or Alipay.
  3. You will get a download link and an email.

Or self purchase on FastSpring: link.

Pricing:

  • ImageTrans for personal use: $10.99
  • ImageTrans for commercial purpose: $200

Free update within half a year.

Please follow the installation instruction.

If you are from academic institutions, you can email to admin@basiccat.org with your institution’s email to get a discount. Please tell us who you are and what you are gonna do with ImageTrans.

Support

See support.

Relevant Posts

Releases Notes

v1.3.1 (2021/02/28)

  • New OCR plugin: Naver’s Clova OCR.
  • Support merging and deleting areas with box selection
  • Add an option to auto OCR after box creation
  • Add shortcuts to manipulate text areas (move and OCR)
  • Offline balloon (bubble) detection which is based on OpenCV’s Dnn. Models trained with DarkNet or TensorFlow Object Detection API are supported. Model weights and model config files need to put under the root of ImageTrans align with a model.json file (exmple)
  • The text editor can display source text and target text in a vertical mode.

v1.3.0 (2021/02/10)

  • Custom workflow. Batch operations can be customized
  • Support importing PDF. PDF files will be rendered to images. Text will be extracted if possible

v1.2.11

  • Fix a target geometry not correctly saved problem
  • Fix a file path problem of Photoshop scripts
  • MaskEditor can generate textmask using selected color. Mask can now be set to translucent.
  • Support batch machine translation with ColorfulClouds which will significant improve machine translation speed
  • It is now possible to set machine translation interval to avoid failed requests due to too many requests in a short period of time (QPS set by MT services)

v1.2.10

  • New OCR plugin: ABBYY Cloud
  • Support spellchecking of OCR results using LanguageTool

v1.2.9

  • Flip boxes before sorting them if the reading order is right to left
  • Add inpaint radius setting in TextRemover
  • Add Theme. Currently, there are dark and green themes available.
  • Use my personal keys by default for machine translation services like Baidu, Niutrans and Tencent and OCR services like OCRSPACE, Azure and Baidu.

v1.2.8

  • Add Undo Manager
  • Use TextFlow as the default Text Renderer. Text will not no longer be truncated
  • Text size and layout will be the same after percent switching
  • Other improvements

v1.2.7

  • Supports running multiple tesseract instances to increase OCR speed
  • Save verification for 7 days
  • Sogou OCR supports right to left text order
  • Add Baidu OCR accurate
  • Fix Find and Replace problems caused by incorrect box jumping behavior and UI localization

v1.2.6

  • Convert WebP format images to JPG ones for images downloaded with links (using OpenCV)
  • Support stripping furigana in Japanese manga for better ocr results
  • Better conversion of vertically displayed Japanese textareas to horizontally displayed ones (rotation and center placement of characters like —)
  • Fontstyle Unifying operation
  • Textareas generated by OCR will also be expanded

v1.2.5

  • Fix a target geometry setting problem
  • Mask Editor can use cursor to draw circle or clear circle
  • Add Capital Letter font setting
  • Add minimum width/height overlapped percent setting for text localization
  • Fix a overlapped box not added problem
  • The Photoshop script supports styles like bold, italic, capitalization and rotation.

v1.2.4

  • Add Chrome Extension support. Visit here to see detailed instruction.
  • Mask, text-removed and exported images will not no longer be imported
  • Fix the incorrect behavior of creating new projects which was caused by the recent projects feature introduced in v1.2.2
  • Other improvements

v1.2.3

  • Add Translate after OCR option
  • When viewing transated version in non-precise text-removal mode, the text box will be transparent to to reveal the source text
  • Batch Translation can call balloon detection and scene text detection
  • Silent Translator supports font setting
  • Add a context menu item to download images from links and add them to the project

v1.2.2

  • Add Silent Translator to support bulk translation, which can be called through command line or run as a server
  • New OCR plugin: sogou deep intelligence ocr
  • Save recent projects path
  • Ask if merge boxes if OCR is chosen for Batch translation

v1.2.1

  • Multiple-box dragging
  • Multiple-box alignment
  • Add background color, stroke and rotation to global font style
  • Add paste image context menu item

v1.2.0

  • If right2left, append text of the latter one first
  • Add mask generator and inpaint plugins support. The first plugin of this kind is Sickzil-Machine
  • Add Tesseract’s text lines detection
  • Add operations like single-image pretranslation and one-click translation (see the imageviewer’s contextmenu)
  • Replace scene text detection with OCR for Batch Translation (or one-click translation)
  • Add minimum font size setting
  • Add automatic textarea resize option
  • Use checkbox instead of button to view translated pictures
  • Search and Replace supports replacing source text
  • Other minor improvements

v1.1.11

  • New OCR plugin: easyOCR, tencent
  • OCR languages list only shows languages OCR engines support
  • Save the geometry to target geometry before expanding
  • Fix the localization of TabPane

v1.1.10

  • Add machine translation for screen reader
  • Remove some third-party libraries

v1.1.9

  • Update OpenCV to 4.5.0
  • Support getting text area confidence in offline mode and show progress
  • New OCR plugin: WinRT OCR. It uses the built-in OCR API of Windows Runtime on Windows 10. It requires installation of relevant languages on the system
  • Some machine translaiton plugins of BasicCAT are packaged
  • UI improvements

v1.1.8

  • Generate mask and text-removed images according to order and show progress
  • Inpainting is now asynchronous
  • Validate geometry before generating text mask
  • Fix a resized mask not matching with resized image problem
  • Add text area action menu to imagescrollpane

v1.1.7

  • Maskeditor can now regenerate mask of selected area and scale images
  • Text Remover can remove text in selected area
  • The default text mask color is reset to red
  • Add text-removed image editor
  • Bugfixes

v1.1.6

  • Save text mask in png format, making cover text mode supports areas which have a black ground
  • New action: Duplicate text area

v1.1.5

  • Vertical text engine for CJK (Chinese, Japanese and Korean)
  • AutoCorrect (useful for solving the full-width punctuations input problem on macOS)
  • Bugfixes

v1.1.4

  • Toolbar has a new tool: Font
  • New project and import pictures actions now share a same saved path.
  • Better color picking

v1.1.3

  • New plugin: OCR plugin. Code is open source: github. PaddleOCR is supported.
  • New ocr engine: ABBYY (use ABBYY FineReader’s command line interface, windows only)
  • New tool: Screen Reader. It can be used as a screenshot tool and screen captures can get OCRed immediately. Captures can also be appended to ImageTrans’s projects.
  • A Toolbar is added to provide more operations like text box splitting, merging and selecting.
  • MouseCursors are set correctly for different scenarios.

v1.1.2

New option to convert vertically aligned Japanese text to horizontally aligned for better OCR results.

v1.1.1

  • Add Batch Translation
  • Add text areas detection based on scene text detection
  • Save paths for choosing files and folders

v1.1.0

  • Add external inpainter (experimental)
  • Add localization support. ImageTrans can now be displayed in two languages: English and Chinese.

v1.0.1

  • More settings
  • RichText support
  • XLIFF import and export

v1.0.0

Released.

Relevant tools

  • WebP-Converter. Convert JPG/BMP/PNG to WebP and vice versa.
  • WebImageHelper. Download all the images from websites or download the image under the mouse cursor based on screen positions. This can be used to translate images in web. Images can be replaced with their target version.