Analysis updated 2026-05-18
Translate text embedded in images on any web page directly in the browser.
Read Japanese or Chinese comics with the original text replaced by a translation in place.
Run OCR and translation fully locally using PaddleOCR and Ollama instead of a cloud API.
Toggle between the original and translated image with a click or the Alt+A shortcut.
| vverity/inpainttranslator-edge-chrome | feicaiclub/video-spec-builder | polyhelper/polyhelper | |
|---|---|---|---|
| Stars | 67 | 67 | 65 |
| Language | JavaScript | JavaScript | JavaScript |
| Setup difficulty | moderate | easy | hard |
| Complexity | 3/5 | 1/5 | 4/5 |
| Audience | vibe coder | vibe coder | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires running a local Python OCR server plus a separately installed Ollama model.
InpaintTranslator is a browser extension for Chrome and Edge that translates text embedded inside images on web pages. Instead of showing the original foreign-language text, it erases it and redraws the image with the translated words painted in at the same position. The README is written in Chinese. The way it works is: you hover over an image on any web page, click a small blue dot that appears, and the extension sends the image to a local server running on your own computer. That server uses PaddleOCR (a text-recognition tool) to find and read the text in the image, then passes it to Ollama (a tool for running AI language models locally) to produce the translation. The server paints the translated text back into the image at the original positions and returns the result, which the extension displays in place of the original image. Clicking again toggles back to the original. A keyboard shortcut (Alt+A) is also available to trigger the translation without using the mouse. Setting it up requires two steps. First you run the Python server locally by installing the listed packages and starting ocr_server.py, which listens on port 8000. Second you load the extension into the browser in developer mode by pointing it at the project folder. The extension settings let you change the server address and target language. The project depends on Python with paddleocr, fastapi, opencv-python, and pillow, plus Ollama installed separately with a model already downloaded. It also mentions support for the reading direction used in Japanese and Chinese comics (right-to-left, top-to-bottom). The repository is a personal-use project with an MIT license.
A Chrome/Edge browser extension that finds foreign text inside images and replaces it with a translated version, redrawn in place.
Mainly JavaScript. The stack also includes JavaScript, Python, PaddleOCR.
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly vibe coder.
This repo across BitVibe Labs
Verify against the repo before relying on details.