This is a powerful and flexible translation tool that lets you capture a portion or the entire screen and instantly translate recognized text. The app is built with PyQt5 and supports multiple (in the future :v) OCR and translation services.
Installation and Run Guide
System Requirements
- Python 3.x
- Git (optional, to fetch the project)
- For NVIDIA GPU users: Latest NVIDIA Driver is required.
Step 1: Get the Project
-
Method 1 (Using Git):
git clone https://github.com/caotranquochoai/screen-translation -
Method 2 (Download ZIP): Download the project ZIP from GitHub and extract it.
Step 2: Run Automatic Setup
After fetching the project, you have two options to install and run the application.
Option 1: Use PowerShell (Recommended)
This is the most reliable method to ensure your GPU is detected correctly.
Allow script execution (Do this once; you may skip if Step 2 runs without errors :v):
- Open Windows PowerShell as Administrator.
- Run the command below and press Y (Yes) if prompted:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
You can close the Administrator window after the command finishes.
Run run.ps1:
- Navigate to the project folder.
- Right-click
run.ps1and choose “Run with PowerShell”.
Option 2: Use Batch File (Simple)
This method is simpler but may fail to detect GPUs on some machines. If your machine has no GPU or uses an AMD GPU, use this file.
Run run.bat:
- Navigate to the project folder.
- Double-click
run.bat.
Option 3: Manual Setup
| 1 |
Create a virtual environment: python -m venv .venv |
| 2 |
Activate the virtual environment: .venv\Scripts\activate |
| 3 |
Install Torch for CPU: pip install torch torchvision torchaudio |
| 4 |
Install Torch for NVIDIA GPU: pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121 |
| 5 |
Install dependencies: pip3 install -r requirements.txt |
| 6 |
Start the application: python main.py |
DOWLOAD DOCUMENT
File type: .zip / source code
Password: MMO.FARM
Note: Use at your own risk. The password above unlocks everything.