Giter VIP home page Giter VIP logo

desktranslate's Introduction

Welcome to DeskTranslate!

Links

ℹ️ Our Website
ℹ️ User Guide
ℹ️ Devpost Link

macOS users

Please visit DeskTranslate-Mac for installation instructions for macOS

Quick Start

Using our installer

Releases of DeskTranslate can be found here.

The installer will set up DeskTranslate first.

Once complete, it will launch another installer for Tesseract.

Installation of Tesseract is required to use DeskTranslate

Components: ScrollView, Training Tools and Shortcut creation are not required.

Feel free to uncheck them to reduce download size.

Capture3

If only 1 translation language is needed i.e. English to / from Japanese, check the corresponding data.

In this case, under both the Additional script data (download) and Additional language data (download), select

  • Japanese

  • Japanese (Vertical)

  • Capture2

In total, 5 checkboxes need to be checked to use it for Japanese translation.

Apply the above steps for the languages required

Downloading from our repo [for developers]

  1. To get started, download DeskTranslate at our main repo by clicking Code -> Download ZIP.

  2. Ensure Python is install in your computer.

  3. Using terminal, go to the directory where the repo is downloaded to.

  4. Download the libraries required:
    pip install -r requirements.txt

  5. Visit this link to download Tesseract v5.0.0, in order for our program to work on your computer.

  6. At the installation wizard, check all boxes to ensure that all language training data will be included for DeskTranslate.

  7. Next, enter the following command to start the program: python main.py

desktranslate's People

Contributors

ameliatyr avatar chanjianhao avatar gerardtwk avatar hua-lun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

desktranslate's Issues

Secondary Screen Issue

Greetings!

First off, FANTASTIC TOOL. This is a great help to me. I use a website called vidgrid (http://vidgrid.tk.gg) to stream up to 9 news feeds simultaneously, and your tool is phenomenally useful for translating the news tickers at the bottom of videos in different languages. That said, I cannot seem to get the tool to operate on any other than my primary monitor. Further, the ticker moves so fast that the text is sometimes hard to parse, and would be nice to have in a notepad document for posterity.

Is there any (easy) way to accomplish this? Don't want to add a ton of requests to an already great tool, just figured others might find the same use I do and might appreciate this if it's simple!

Thank you again! :)

Add spanish to translation

Hello, thank you for this project !

Can you kindly add spanish language or tell me how I can do that ?

Thank you for your effort !

Best regards,
SpiRaL'

If this is for windows only...

Can you just please make a windows installer? For the DumDums like me? Because this is not working. I've likely made mistakes. I had the latest version of tesseract installed, it won't translate, so, yes you specifically mention 5.0, but which one? So I tried what looked like the stable release of 5.0. I literally only want to use this for Japanese, but your instructions insist I download nearly a gigabyte of languages. So upon reinstalling (3rd time now actually) I get an error for every single language and now your program is looking in a drive for tesseract I wouldn't have installed it to.

Having issues during install

I am new to py and i am running into some issues with this install. I think its related to the version I am using, but need some assistance getting this running.

Here is the error I am getting
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [11 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 14, in
File "C:\Users\stali\AppData\Local\Programs\Python\Python312\Lib\site-packages\setuptools_init_.py", line 16, in
import setuptools.version
File "C:\Users\stali\AppData\Local\Programs\Python\Python312\Lib\site-packages\setuptools\version.py", line 1, in
import pkg_resources
File "C:\Users\stali\AppData\Local\Programs\Python\Python312\Lib\site-packages\pkg_resources_init_.py", line 2191, in
register_finder(pkgutil.ImpImporter, find_on_path)
^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

I've tried several different versions of setuptool and this one gives me the fewest errors. Any assistance would be appreciated.

Requirements.txt doesn't work with Python 3.11

The requirements.txt provided doesn't work with Python 3.11.

After changing it to the following, the libraries install successfully and so far the program works:

googletrans==3.1.0a0
deep_translator
pytesseract
pyttsx3
PyGetWindow==0.0.9
numpy==1.24.3
opencv-python==4.7.0.72
Pillow==9.5.0
pyperclip==1.8.1
PyQt5==5.15.9
PyQt5-sip==12.12.1
PyRect==0.1.4

Translating

I can only see "Translated text here" no matter what I try.

Is there any troubleshooting guide?

bik fan

If JH has a million fans, then I am one of them. If JH has ten fans, then I am one of them. If JH has only one fan then that is me. If JH has no fans, then that means I am no longer on earth. If the world is against JH then I am against the world.

Amen

Translated Text here

After trying to installing it and trying to use it, it just wont translate anything. Pls some help
image

Linux version?

A native Linux version will be awesome, any plan for it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.