ciddwd/overlay-translator

无需 ROOT 的开源 Android 屏幕实时翻译工具,适合游戏、视觉小说和漫画。支持端侧与云端 OCR、离线 LLM、多种翻译服务和文字朗读(TTS),译文可直接显示在画面上。Open-source no-root Android real-time screen translator for games, visual novels, and manga. Supports on-device and cloud OCR, offline LLMs, multiple translation services, on-screen translations, and text-to-speech (TTS).

What it solves

This project provides real-time, on-screen translation for Android devices, specifically designed for games, manga, and visual novels. It eliminates the need to switch between apps to look up words or understand dialogue by overlaying translations directly onto the screen.

How it works

It captures your screen (via system screenshots, Shizuku, or accessibility services) and processes the text through your choice of OCR (Optical Character Recognition) engines. Once the text is identified, it sends the data to a translation engine—which can be an offline local model, a cloud-based LLM, or a standard machine translation service—and displays the translated text as an overlay. It also supports real-time audio translation for videos, generating bilingual subtitles by capturing system audio.

Who it’s for

It is for users who want a highly customizable, privacy-conscious translation tool. It is ideal for those who prefer offline processing, want to use their own self-hosted translation/OCR services, or need specific features like vertical text support for manga and persistent terminology management for games.

Highlights

  • Flexible Architecture: Separates OCR, translation, and text-to-speech (TTS) into independent, configurable modules.
  • Game & Manga Optimized: Supports vertical text, automatic bubble detection for manga, and intelligent waiting for dialogue to complete.
  • Offline & Self-Hosted: Supports local OCR (e.g., PaddleOCR, ML Kit) and local translation models (GGUF), allowing for full offline operation.
  • Video Translation: Captures system audio to generate real-time bilingual subtitles without using the microphone.
  • Customizable UI: Offers multiple rendering modes, including text overlays, floating windows, and adjustable styling for fonts, colors, and layouts.
  • Advanced Features: Includes a "word-select" mode for dictionary lookups, batch image translation, and gesture-based triggers.

Related

  • Project
  • Project
  • Project
  • Project
  • Project