Skip to main content

Offline screen translator for Japanese retro games

Project description

Interpreter

Offline screen translator for Japanese retro games. Captures text from any window, performs OCR, translates to English, and displays subtitles in a floating overlay.

screenshot

Features

  • Fully offline - No cloud APIs, no internet required after setup
  • Free - No API costs or subscriptions
  • Private - Text never leaves your machine
  • Optimized for retro games - Uses MeikiOCR, trained specifically on Japanese game text
  • Two overlay modes - Banner (subtitle bar) or inplace (text over game)
  • Translation caching - Fuzzy matching avoids re-translating similar text
  • Multi-display support - Overlay appears on the same display as the game

Requirements

  • Windows 10 version 1903+, macOS, or Linux (X11/XWayland/Wayland)

Linux Notes

  • Global hotkeys require input group membership. The installer will show instructions.
  • Native Wayland capture requires GStreamer PipeWire plugin. The installer will attempt to install it automatically.
  • Inplace overlay on Wayland only works with fullscreen windows (Wayland's security model prevents knowing window positions).

Installation

One-liner Install

macOS/Linux:

curl -LsSf https://raw.githubusercontent.com/bquenin/interpreter/main/install.sh | bash

Windows (PowerShell):

powershell -c "irm https://raw.githubusercontent.com/bquenin/interpreter/main/install.ps1 | iex"

Then run with interpreter-v2.

Upgrading

To update to the latest version, run the installer again (see Installation above).

Usage

interpreter-v2

This opens the GUI where you can select a window to capture and configure all settings.

Overlay Modes

Banner Mode (default)

A subtitle bar at the bottom of the screen displaying translated text. Draggable, opaque background, centered text.

Inplace Mode

Transparent overlay positioned over the game window. Translated text appears directly over the original Japanese text at OCR-detected positions. Click-through so you can interact with the game.

How It Works

  1. Screen Capture - Captures the target window at the configured refresh rate
  2. OCR - MeikiOCR extracts Japanese text (optimized for pixel fonts)
  3. Translation - Sugoi V4 translates Japanese to English
  4. Display - Shows translated text in the selected overlay mode

Troubleshooting

Poor OCR accuracy

Try adjusting the OCR confidence slider in the GUI. Lower values include more text (but may include garbage), higher values are stricter.

Slow performance

First run downloads models (~1.5GB). Subsequent runs use cached models from ~/.cache/huggingface/.

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

interpreter_v2-2.10.0.tar.gz (4.2 MB view details)

Uploaded Source

Built Distribution

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

interpreter_v2-2.10.0-py3-none-any.whl (568.9 kB view details)

Uploaded Python 3

File details

Details for the file interpreter_v2-2.10.0.tar.gz.

File metadata

  • Download URL: interpreter_v2-2.10.0.tar.gz
  • Upload date:
  • Size: 4.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"25.10","id":"questing","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for interpreter_v2-2.10.0.tar.gz
Algorithm Hash digest
SHA256 7086ac942bfa4cf3c71cc0ddf246b55105a0fb633529c783812abf67e81bf3ea
MD5 1260159791c2eb520acd5f1fd3332160
BLAKE2b-256 e1307c5332bc67a35dade6b2a0fb15e939b06d3387f9b12807f7003eb178f930

See more details on using hashes here.

File details

Details for the file interpreter_v2-2.10.0-py3-none-any.whl.

File metadata

  • Download URL: interpreter_v2-2.10.0-py3-none-any.whl
  • Upload date:
  • Size: 568.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"25.10","id":"questing","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for interpreter_v2-2.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 abb4bd64ce891e399e54f8ca1da056cbed70004647de04b063fbdf9969d9e1d8
MD5 303ff45dd4592132e32a23250a8c86ef
BLAKE2b-256 18ea646cd6cbdcc49660a90e49ad333d36114e0984ee76b2ac506cf3d3bcd60c

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