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).

Uninstalling

macOS/Linux:

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

Windows (PowerShell):

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

This removes interpreter-v2, config files, and cached models.

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.17.3.tar.gz (4.3 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.17.3-py3-none-any.whl (574.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: interpreter_v2-2.17.3.tar.gz
  • Upload date:
  • Size: 4.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for interpreter_v2-2.17.3.tar.gz
Algorithm Hash digest
SHA256 31505b1ad31ee31ac675dfceacb6a7e1c0773a23b9b0bd763a49dad32d046f3c
MD5 873f27677e8b50314e113c2b98952356
BLAKE2b-256 4d4adbdef7551ae56e2ed8764d95f93551ae68a4594b21c5b12ce47e89a811d0

See more details on using hashes here.

Provenance

The following attestation bundles were made for interpreter_v2-2.17.3.tar.gz:

Publisher: publish.yml on bquenin/interpreter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: interpreter_v2-2.17.3-py3-none-any.whl
  • Upload date:
  • Size: 574.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for interpreter_v2-2.17.3-py3-none-any.whl
Algorithm Hash digest
SHA256 03b769040cbd3d1f852bb204a8c867b920b312da9e6a172bf0a197c453a70b24
MD5 aa826ee9d41ac31e33bb6cee48c62151
BLAKE2b-256 b5b50a3b0b7dbe090d6f11fe503a6d24fe573156ec37d81420e3a7fa01d3807a

See more details on using hashes here.

Provenance

The following attestation bundles were made for interpreter_v2-2.17.3-py3-none-any.whl:

Publisher: publish.yml on bquenin/interpreter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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