Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 1.33 KB

README.md

File metadata and controls

53 lines (34 loc) · 1.33 KB

Transimage

An image translator that can use 3 translators (Google, Bing and DeepL) and two OCR (Tesseract and EasyOCR). Text editing is also possible but only in the original language of the image.

I wrote this package for translating and detecting text on images

Interface

Usage

Before to use this programm you need to download the desired language package in the settings and click on apply.

Language Pack

  1. Open Image
  2. Select source and destination language then translator and OCR
  3. Click on "Run processing"

Edition

  • Ctrl+Scroll zoom in and out
  • Shift+Ctrl+Scroll move left and right
  • Scroll move up and down
  • Edit text with a double click on it
  1. When your finished your edition you can save the image

Roadmap

If I have time I will implement this

  • Custom font
  • Detecting text color
  • Inpainting and for a replace of white rectangle

Development

git clone https://github.com/A2va/Transimage.git
python -m pip install torch==1.7.0+cpu torchvision==0.8.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
python -m pip install easyocr
python -m pip install -r requirements.txt

Build

python setup.py build