Transin is an experimental project I made to translate text from games that in game console emulator(eg. PCSX2).
| .github/workflows | ||
| src | ||
| test | ||
| web | ||
| .gitignore | ||
| bun.lock | ||
| LICENSE | ||
| package.json | ||
| preview.png | ||
| README.md | ||
| tsconfig.json | ||
Transin
Transin is an experimental project I made to translate text from games that in game console emulator(eg. PCSX2).
Preview
Design
- use node-screenshots(xcap) to capture emulator's screen
- use Tesseract.js to do OCR, get text from specific regions of screenshots
- (currently) use volcengine(火山翻译) to translate text
- output original text, translation and screenshots to GUI(in web)
Quick Start
Install latest version of Bun(currently 1.2.3) first.
bun install
To run:
bun run src/index.ts
This project was created using bun init in bun v1.2.2. Bun is a fast all-in-one JavaScript runtime.
